-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
178 lines (165 loc) · 3.18 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
body {
overflow: hidden;
}
/* Define CSS variables for colors */
:root {
--dark-blue: #003b66;
--white: #fff;
--shadow-dark: rgba(0, 0, 0, 0.3);
--shadow-light: rgba(0, 0, 0, 0.1);
--light-blue: #9bd7e6;
--blue: #007dd8;
--dark-blue: #0067b2;
--background-text-color: #00a0bf;
}
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: var(--background-text-color);
color: var(--white);
line-height: 1.8;
overflow: hidden; /* Disable scrolling */
height: 100%;
}
.container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 20px;
background-color: var(--white);
padding: 30px;
border-radius: 20px;
text-align: center;
box-shadow: 0px 10px 20px var(--shadow-dark), 0px 6px 10px var(--shadow-light);
width: 40%;
margin: 0 auto;
position: relative;
transition: all 0.3s ease;
z-index: 2;
}
.stripes {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('path/to/your/image/blue_stripe.png'); /* Replace with your image path */
background-repeat: no-repeat;
background-size: cover;
opacity: 0.5;
}
img {
width: 70%;
height: auto;
border-radius: 50%;
transition: all 0.3s ease;
User-select:none;
}
img:hover {
transform: scale(1.05);
}
h1 {
font-family: 'Montserrat', sans-serif;
font-size: 3em;
margin-bottom: 0.2em;
margin-top: 0.2em;
font-weight: 700;
color: #172b4d;
letter-spacing: 1px;
User-select:none;
}
p {
font-family: 'Montserrat', sans-serif;
font-size: 1.2em; /* Font size for paragraph */
font-weight: 1000;
color: #00a0bf;
line-height: 1.8;
User-select:none;
}
.background-text {
position: fixed;
/* top: 0; */
/* left: 0; */
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
color: var(--white);
font-size: 3em;
letter-spacing: -5px;
font-weight: 700;
font-family: 'Montserrat', sans-serif;
letter-spacing: 2px;
z-index: 1;
animation: spam 10s infinite;
User-select:none;
}
.background-text span {
margin: 0 auto;
}
.background-text span {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: var(--white);
font-size: 5em;
letter-spacing: -5px;
font-weight: 700;
font-family: 'Montserrat', sans-serif;
letter-spacing: 2px;
z-index: 1;
flex-direction: column;
animation: spam 10s infinite;
content: "DREAM DEVELOP DELIVER"; /* Add the text "DREAM DEVELOP DELIVER" */
}
@keyframes spam {
0% {
transform: translate(0, 0);
}
25% {
transform: translate(-40px, -40px);
}
50% {
transform: translate(0, 0);
}
75% {
transform: translate(40px, 40px);
}
100% {
transform: translate(0, 0);
}
}
@media only screen and (max-width: 768px) {
body
{
overflow: hidden;
}
.container {
width: 70%;
}
h1 {
font-size: 2em;
}
p {
font-size: 1em;
}
.background-text {
width: 100%;
}
img {
width: 100%;
}
}