-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
530 lines (462 loc) · 11.6 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
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
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
/* CSS Variables for easy color management */
:root {
--primary-color: #6a0dad; /* Updated deep purple for stronger contrast */
--secondary-color: #ff4500; /* Kept vibrant orange */
--accent-color: #ffd700; /* Added bright gold for accents like logo and highlights */
--text-color: #ffffff; /* Changed text color to white for better readability on gradient */
--background-color: #8a2be2; /* Updated background color for overall page background */
}
/* Basic styling */
body {
font-family: "Roboto", sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: var(--background-color);
margin: 0;
padding: 0;
}
/* Modal Styles */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1000; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-content {
background-color: #fefefe;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 50%; /* Could be more or less, depending on screen size */
text-align: center;
color: black;
}
.close-btn {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close-btn:hover,
.close-btn:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
.cta-button {
display: inline-block;
padding: 10px 20px;
margin-top: 20px;
background-color: #007bff;
color: white;
text-decoration: none;
border-radius: 5px;
}
.cta-button:hover {
background-color: #0056b3;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header styling */
header {
background: linear-gradient(
to right,
var(--primary-color),
var(--secondary-color)
);
color: white;
padding: 1rem 0;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
height: 50px; /* Adjust as needed */
width: auto;
margin-right: auto; /* Align logo to the left */
}
.burger {
display: none;
}
nav {
margin-left: auto; /* Move navigation to the right */
}
nav ul {
list-style-type: none;
padding: 0;
display: flex;
}
nav ul li {
margin-left: 20px;
}
nav ul li a {
color: white;
text-decoration: none;
cursor: pointer;
}
/* Navigation menu styling for mobile */
@media (max-width: 768px) {
nav ul {
flex-direction: column; /* Stack items vertically */
align-items: flex-start; /* Align items to the left */
}
nav ul li {
margin-left: 0; /* Reset left margin for vertical stacking */
margin-bottom: 10px; /* Add some space between items */
}
}
/* Hero section styling */
.hero {
position: relative; /* Position relative for absolute positioning of slides */
height: 70vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: #ff4500;
overflow: hidden; /* Hide overflow for slides */
}
.slides {
position: absolute; /* Position slides absolutely */
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex; /* Use flex for sliding */
transition: transform 0.5s ease-in-out; /* Smooth transition */
}
.slide {
min-width: 100%; /* Each slide takes full width */
height: 100%; /* Full height */
background-size: cover; /* Cover background image */
background-position: center; /* Center background image */
}
.hero h1 {
font-size: 3.5rem;
margin-bottom: 0.5rem;
position: relative;
z-index: 1;
background: #ffffff;
background-clip: text; /* Standard property */
color: transparent; /* Use gradient color for text */
animation: fadeIn 2s ease-in-out forwards;
opacity: 1; /* Change opacity to 1 to make the text visible */
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0);
}
.hero p {
font-size: 1.5rem;
margin-bottom: 0.5rem;
position: relative;
z-index: 1;
color: #ffffff;
animation: fadeIn 3s ease-in-out forwards;
opacity: 1;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0);
}
.cta-button {
display: inline-block;
background-color: var(--primary-color);
color: white;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
position: relative; /* Ensure button appears above slides */
z-index: 1; /* Bring button above slides */
}
.cta-button:hover {
background-color: var(--secondary-color);
}
/* Keep the previous styles for h2 and p */
.content-section h2 {
font-size: 2rem;
margin-bottom: 0.75rem; /* Reduce space below the heading */
color: var(--text-color);
}
.content-section p {
font-size: 1.2rem;
margin-bottom: 1.5rem; /* Reduce space between paragraphs and other elements */
color: var(--text-color);
}
/* Increased spacing around the section */
.content-section {
padding: 3rem 0; /* Reduce top and bottom padding for more balanced spacing */
}
/* Gallery styling for a single row */
.gallery {
display: grid;
grid-template-columns: repeat(4, 1fr); /* 4 columns grid */
gap: 0.75rem; /* Reduce the gap between images */
justify-items: center;
margin-top: 1.5rem; /* Less space above gallery */
}
.gallery img {
width: 100%; /* Make sure images take full width */
max-width: 250px; /* Limit max size */
height: 250px; /* Keep square shape */
object-fit: cover; /* Make sure image fits inside square without distortion */
border-radius: 10px; /* Slightly rounded corners */
position: relative; /* Position for overlay */
transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out; /* Smooth transition for hover effects */
}
#events .container {
display: flex;
flex-direction: column;
gap: 20px;
}
.event-image {
height: 65vh;
background-image: url("/elevate_new.jpg");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
display: flex;
justify-content: center;
align-items: center;
position: relative;
border-radius: 10px;
}
/* Simple hover effect */
.gallery img:hover {
transform: scale(1.05); /* Grows 5% on hover */
filter: brightness(0.5); /* Darkens the image */
}
/* Mobile responsiveness */
@media (max-width: 1024px) {
.gallery {
grid-template-columns: repeat(
2,
1fr
); /* Switch to 2 columns on smaller screens */
}
}
@media (max-width: 768px) {
nav {
display: none;
}
.burger {
display: block;
cursor: pointer;
}
.gallery {
grid-template-columns: 1fr; /* Stack images in 1 column on mobile */
}
.content-section {
padding: 2rem 0; /* Reduce padding further for mobile devices */
}
}
/* Contact section */
#contact {
background-color: #f9f9f9;
padding: 50px 20px;
text-align: center;
}
#contact h2 {
font-size: 2.5rem;
margin-bottom: 20px;
color: var(--primary-color);
}
.contact-details {
display: flex;
justify-content: space-evenly;
align-items: center;
flex-wrap: wrap;
gap: 20px;
}
.contact-details .contact-item {
flex: 1 1 300px;
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.contact-details .contact-item:hover {
transform: translateY(-5px);
}
.contact-details .contact-item i {
font-size: 2rem;
color: var(--primary-color);
margin-bottom: 10px;
}
.contact-details .contact-item p {
color: var(--primary-color);
}
.contact-details .contact-item a {
color: var(--primary-color);
text-decoration: none;
}
.contact-details .contact-item a:hover {
text-decoration: underline;
}
/* Social media icons styling */
.social-icons {
margin-top: 2rem;
}
.social-icons a {
color: var(--primary-color);
font-size: 1.5rem;
margin-right: 1rem;
transition: color 0.3s ease;
}
.social-icons a:hover {
color: var(--secondary-color);
}
/* Footer styling */
footer {
background-color: #2c2c2c;
color: #fff;
padding: 40px 0;
}
.footer-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-start;
gap: 30px;
max-width: 1200px;
margin: 0 auto;
}
.footer-column {
flex: 1 1 250px;
padding: 10px;
}
.footer-column h3 {
color: #ff4500;
margin-bottom: 15px;
}
.footer-column p,
.footer-column a {
color: #bfbfbf;
text-decoration: none;
font-size: 0.9rem;
line-height: 1.8;
}
.footer-column a:hover {
color: #1c84b4; /* Fallback color */
background: linear-gradient(to right, #1c84b4, #1e2a38);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-fill-color: transparent;
}
.footer-logo {
height: 60px;
margin-bottom: 20px;
}
.footer-bottom {
text-align: center;
margin-top: 30px;
border-top: 1px solid #444;
padding-top: 20px;
color: #bfbfbf;
}
/* Responsive */
@media (max-width: 768px) {
.footer-container {
padding: 1rem;
flex-direction: column;
align-items: center;
align-items: start;
}
.hero h1 {
font-size: 2.5rem; /* Adjust font size for mobile */
}
.hero p {
font-size: 1rem; /* Adjust font size for mobile */
}
.cta-button {
padding: 6px 12px; /* Adjust padding for mobile */
}
}
@media (min-width: 1024px) {
.gallery {
grid-template-columns: repeat(5 1fr);
}
.hero h1 {
font-size: 3rem; /* Adjust font size for tablets */
}
.hero p {
font-size: 1.25rem; /* Adjust font size for tablets */
}
.cta-button {
padding: 8px 16px; /* Adjust padding for tablets */
}
}
/* Mobile Navigation */
.mobile-nav {
position: fixed;
top: 0;
right: -100%;
width: 100vw;
height: 100%;
background-color: #333;
color: white;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
transition: right 0.3s ease;
z-index: 1000;
}
.mobile-nav .close-btn {
position: absolute;
top: 20px;
right: 20px;
width: 36px;
height: 36px;
cursor: pointer;
}
.mobile-nav .close-btn line {
stroke-width: 4;
}
.mobile-nav ul {
list-style: none;
padding: 0;
margin: 0;
text-align: center;
}
.mobile-nav ul li {
margin: 20px 0;
}
.mobile-nav ul li a {
color: white;
text-decoration: none;
font-size: 1.5em;
}
.mobile-nav ul li a:hover {
text-decoration: underline;
}
/* Hide desktop nav on mobile */
@media (max-width: 768px) {
.desktop-nav {
display: none;
}
}
@media (max-width: 480px) {
.hero h1 {
font-size: 2rem; /* Adjust font size for small mobile devices */
}
.hero p {
font-size: 0.875rem; /* Adjust font size for small mobile devices */
}
}
/* final update */
.cta-container{
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
margin-top: 20px;
}