-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwells.css
More file actions
308 lines (270 loc) · 5.89 KB
/
wells.css
File metadata and controls
308 lines (270 loc) · 5.89 KB
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
.hero {
width: 100%;
height: 100vh;
background-image: linear-gradient(rgba(12, 3, 51, 0.3), rgba(88, 63, 198, 0.3));
position: relative;
padding: 0 5%;
display: flex;
align-items: center;
justify-content: center;
}
nav {
width: 100%;
position: absolute;
top: 0;
left: 0;
padding: 20px 8%;
display: flex;
align-items: center;
justify-content: space-between;
z-index: 100; /* Ensure the nav is above other content */
}
nav .logo {
width: 80px;
transition: transform 0.3s;
}
nav .logo:hover {
transform: scale(1.1);
}
nav ul li {
list-style: none;
display: inline-block;
margin-left: 40px;
}
nav ul li a {
text-decoration: none;
color: white;
font-size: 17px;
cursor: pointer;
transition: color 0.3s, transform 0.3s;
}
nav ul li a:hover {
transform: scale(1.1);
color: rgb(189, 81, 81);
}
.content {
text-align: center;
}
.content h1 {
position: absolute;
top: 150px; /* Adjusted position for better centering */
left: 50%;
transform: translateX(-50%); /* Centering */
font-size: 130px;
color: rgb(248, 239, 239);
font-weight: 600;
transition: 0.5s;
}
.content h1:hover {
-webkit-text-stroke: 2px #fff;
color: transparent;
}
.wrapper {
height: 100vh;
display: grid;
place-items: center;
position: relative; /* Add relative positioning */
z-index: 2; /* Ensure it appears above other elements */
}
.typing-demo {
width: 15ch;
white-space: nowrap;
overflow: hidden;
font-family: monospace;
font-size: 2em;
color: #f5f0f0;
position: absolute;
top: 250px; /* Adjust this value if necessary */
left: 160px;
z-index: 3; /* Ensure it's above other elements */
}
.back-video {
position: absolute;
right: 0;
bottom: 0;
z-index: -1;
width: 100%;
filter: brightness(50%); /* Darken video for better text visibility */
}
h4 {
font-size: 50px;
color: rgb(34, 32, 32);
position: absolute;
top: 300px; /* Adjusted for better layout */
left: 50%;
transform: translateX(-50%);
}
.social-icon a i {
color: #fff;
font-size: 30px;
margin-left: 10px;
cursor: pointer;
transition: transform 0.5s;
}
.social-icon a:hover i {
transform: scale(1.5);
color: #0056b3;
}
.social-icon {
position: absolute;
bottom: 30px; /* Adjusted for better layout */
left: 50%;
transform: translateX(-50%);
}
.button-container {
text-align: center;
position: absolute;
top: 450px; /* Adjusted position */
left: 50%;
transform: translateX(-50%);
}
.button {
display: inline-block;
padding: 10px 20px;
margin: 10px;
background-color: rgb(237, 70, 70);
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
text-decoration: none;
}
.button:hover {
background-color: #0056b3;
transform: translateY(-3px); /* Lift effect */
}
.button::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: rgba(186, 36, 36, 0.1);
border-radius: 5px;
z-index: -1;
transition: transform 0.3s ease;
}
.button:hover::before {
transform: scaleX(1.5) scaleY(1.2);
}
.slider-container {
margin: auto;
overflow: hidden;
position: relative;
max-width: 650px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
padding: 20px;
position: absolute;
top: 500px; /* Adjusted position */
left: 50%; /* Centering */
transform: translateX(-50%);
animation: fadeIn 0.5s; /* Fade in effect */
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.slider {
width: 100%;
display: flex;
transition: transform 0.5s ease;
}
.slide {
flex: 0 0 100%;
padding: 20px;
border-radius: 8px;
margin-right: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
transition: transform 0.5s ease;
transform-style: preserve-3d;
background-color: rgba(17, 17, 16, 0.475);
backdrop-filter: blur(10px);
width: 100%;
}
.slide:hover {
transform: scale(1.05) rotateY(5deg); /* Scale and tilt effect */
}
.feedback {
color: rgb(234, 226, 226);
font-size: 16px;
line-height: 1.6;
}
.feedback h3 {
font-size: 20px;
margin-bottom: 10px;
color: #333;
}
.feedback p {
margin-bottom: 10px;
}
.navigation {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
display: flex;
justify-content: center;
align-items: center;
}
.nav-btn {
width: 10px;
height: 10px;
background-color: #ccc;
border-radius: 50%;
cursor: pointer;
margin: 0 5px;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.nav-btn:hover {
transform: scale(1.2); /* Slightly enlarge on hover */
}
.nav-btn.active {
background-color: #e94040;
}
.title {
text-align: center;
font-size: 24px;
margin-bottom: 20px;
color: #f6eaea;
text-transform: uppercase;
}
.typing-container {
color: rgb(241, 224, 224);
margin-top: 100px; /* Adjust margin as needed */
font-family: Arial, sans-serif;
font-size: 40px;
overflow: hidden;
white-space: nowrap;
border-right: 2px solid #000;
animation: typing1 4s steps(160);
position: absolute;
top: 480px;
left: 50%; /* Centering */
transform: translateX(-50%);
}
/* Animation keyframes */
@keyframes typing1 {
from { width: 0 }
to { width: 40% }
}
/* Responsive styles */
@media (max-width: 768px) {
.content h1 {
font-size: 80px; /* Smaller for mobile */
}
.typing-demo {
font-size: 2em; /* Adjust typing text size for mobile */
}
.button {
font-size: 16px; /* Smaller button text */
}
}