-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
669 lines (576 loc) · 14.5 KB
/
style.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
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
/* Reset CSS */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Global styles */
body {
margin: 0; /* Remove default margin */
padding: 0; /* Remove default padding */
font-family: Arial, sans-serif; /* Set font family */
background-color: rgb(22, 90, 66);
}
/* Section 1 */
#section1 {
background-image: url('Images/UpFront.jpeg'); /* Replace 'background1.jpg' with your image path */
background-size: cover; /* Cover the entire section */
background-position: center; /* Center the background image */
height: 100vh; /* Set the height to 100% of the viewport height */
}
#name-link :hover{
background-color: #0056b3;
}
/* Section 2 */
#section2 {
background-image: url('Images/Lanscape.jpg'); /* Replace 'background2.jpg' with your image path */
background-size: cover; /* Cover the entire section */
background-position: center; /* Center the background image */
height: 100vh; /* Set the height to 100% of the viewport height */
display: flex; /* Use flexbox for centering content */
justify-content: center; /* Center content horizontally */
align-items: center; /* Center content vertically */
}
/* CSS for the containers */
#section2 {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.container {
width: calc(50% - 20px); /* Adjust the width of the tiles as needed */
padding: 20px;
margin-bottom: 20px;
background-color: #f2f2f2;
border-radius: 10px;
}
.container_info {
width: calc(50% - 20px); /* Adjust the width of the tiles as needed */
height: 100px;
border-radius: 10px;
}
.container0 {
width: 10%;
overflow: hidden;
background-color: rgba(81, 239, 202, 0.616); /* Semi-transparent white background */
text-align: center;
backdrop-filter: blur(10px); /* Apply blur effect */
padding: 30px; /* Add some padding for spacing */
border-radius: 10px; /* Add border-radius for rounded corners */
margin-bottom: 30px; /* Add margin for spacing between sections */
}
.container_info {
width: 90%;
margin: auto;
overflow: hidden;
background-color: rgba(178, 230, 235, 0.595); /* Semi-transparent white background */
text-align: center;
backdrop-filter: blur(10px); /* Apply blur effect */
padding: 6px; /* Add some padding for spacing */
border-radius: 10px; /* Add border-radius for rounded corners */
margin-bottom: 30px; /* Add margin for spacing between sections */
}
/* CSS for container divs with blurred frost glass effect */
.container {
font-family:Georgia, 'Times New Roman', Times, serif ;
width: 90%;
margin: auto;
overflow: hidden;
background-color: rgba(245, 245, 245, 0.439); /* Semi-transparent white background */
backdrop-filter: blur(10px); /* Apply blur effect */
padding: 20px; /* Add some padding for spacing */
border-radius: 10px; /* Add border-radius for rounded corners */
margin-bottom: 30px; /* Add margin for spacing between sections */
}
.container :hover{
overlay: text;
}
.container9 {
word-spacing: 30px;
text-align: center;
position: relative;
overflow: hidden;
color: #ffffff;
}
.container {
text-align: center;
position: relative;
overflow: hidden;
}
/* Style for the overlay */
.overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
z-index: 999;
justify-content: center;
align-items: center;
}
.popup {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgb(247, 247, 247);
border: 2px solid #2e2d2d;
border-radius: 20px;
padding: 40px;
z-index: 1000;
}
/* Style for the popup */
#popupContainer {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 9999;
}
#popupContainer {
display: var(image);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
z-index: 9999;
}
#popupContent {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(6, 155, 66, 0.703); /* Custom background color */
padding: 4px;
border-radius: 5px;
text-align: center;
}
#popupContent img {
max-width: 100%;
max-height: 80vh;
}
#closePopup {
margin-top: 20px;
cursor: pointer;
padding: 2px 22px;
border: none;
border-radius: 8px;
font-size: 14px;
font-weight: bold;
transition: background-color 0.3s ease;
}
#closePopup:hover {
background-color: rgba(255, 0, 0, 0.8); /* Change background color on hover */
}
/*css/style.css */
.slider{
margin:50px auto;
width:50%;
}
.img-box img{
width:100%;
}
.btn{
border:none;
outline:none;
background:#888;
padding:10px 30px;
font-size: 20px;
color:#ddd;
cursor: pointer;
margin:10px auto;
}
.btn:hover{
background: #111;
}
/* Close button style */
.close {
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
}
#scroll {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 10px;
}
.btn {
padding: 2px 22px;
border: none;
border-radius: 8px;
font-size: 14px;
font-weight: bold;
text-transform: uppercase;
cursor: pointer;
transition: background-color 0.3s ease;
}
.btn-primary {
background-color: #007bff;
color: #fff;
}
.btn-primary:hover {
background-color: #0056b3;
}
.btn-secondary {
background-color: hsl(150, 69%, 29%);
color: #fff;
}
.btn-secondary:hover {
background-color: #1d6a9a;
}
.btn-success {
background-color: #28a745;
color: #fff;
}
.btn-success:hover {
background-color: #218838;
}
.btn-danger {
background-color: #dc3545;
color: #fff;
}
.btn-danger:hover {
background-color: #c82333;
}
.btn-warning {
background-color: #ffc107;
color: #fff;
}
.btn-warning:hover {
background-color: #e0a800;
}
button:hover {
background: #125c2b;
}
/* Style for individual images */
.gallery-image {
display: inline-block; /* Display images in a row */
margin-right: 10px; /* Add some space between images */
width: 300px; /* Set the width of each image */
height: 400px; /* Set the height of each image */
background-size: cover; /* Cover the entire image area */
}
#logo{
padding-left: 0%;
}
p {
color: #0a0a0a; /* Set paragraph text color to light gray */
letter-spacing: px; /* Adjust the spacing as needed */
text-decoration: none;
font-family: 'Times New Roman', Times;
font-size: 18px;
}
#name {
font-size: 34px;
font-family: 'Times New Roman', Times;
}
.container0 {
width: 100%;
overflow: hidden;
background-color: rgba(81, 239, 202, 0.616); /* Semi-transparent white background */
text-align: center;
backdrop-filter: blur(10px); /* Apply blur effect */
padding: 30px; /* Add some padding for spacing */
border-radius: 10px; /* Add border-radius for rounded corners */
margin-bottom: 30px; /* Add margin for spacing between sections */
}
.container1 {
width: 80%;
margin: auto;
overflow: hidden;
background-color: rgba(81, 189, 239, 0.276); /* Semi-transparent white background */
text-align: center;
backdrop-filter: blur(10px); /* Apply blur effect */
padding: 30px; /* Add some padding for spacing */
border-radius: 10px; /* Add border-radius for rounded corners */
margin-bottom: 50px; /* Add margin for spacing between sections */
}
/* CSS for container divs with blurred frost glass effect */
.container {
font-family:Georgia, 'Times New Roman', Times, serif ;
width: 90%;
margin: auto;
overflow: hidden;
background-color: rgba(245, 245, 245, 0.439); /* Semi-transparent white background */
backdrop-filter: blur(10px); /* Apply blur effect */
padding: 20px; /* Add some padding for spacing */
border-radius: 10px; /* Add border-radius for rounded corners */
margin-bottom: 30px; /* Add margin for spacing between sections */
}
.container :hover{
overlay: text;
}
/* Additional CSS styles for content */
h2 {
color: #000000; /* Set text color to white */
}
/* Header styles */
header {
background: #0b0b0b;
color: #fff;
padding: 1rem 0;
}
nav ul {
list-style: none;
}
nav ul li {
display: inline;
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
}
/* Hero section styles */
#hero {
height: 65vh;
display: flex;
align-items: center;
text-align: center;
width: 90%;
margin: auto;
overflow: hidden;
text-align: center;
}
#hero h2 {
font-size: 3rem;
margin-bottom: 1rem;
}
#hero p {
font-size: 2.5rem;
margin-bottom: 2rem;
}
.btn1 {
display: inline-block;
color: #fff;
padding: 1.5rem 1rem;
transition: background 0.3s smooth;
background-color: #000000;
height: 50px;
width: 100px;
border-radius: 22px;
}
.btn2 {
display: inline-block;
color: #fff;
padding: 1.5rem 1rem;
transition: background 0.3s smooth;
background-color: #000000;
height: 50px;
width: 100px;
border-radius: 22px;
margin-left: 20px; /* Adjust this value to control the spacing */
}
.btn-back {
display: inline-block;
color: #fff;
padding: 1.5rem 1rem;
transition: background 0.3s smooth;
background-color: #000000;
height: 50px;
width: 100px;
border-radius: 22px;
margin-right: 20px; /* Adjust this value to control the spacing */
}
.btn1:hover {
background: #555;
}
.btn2:hover {
background: #555;
}
#top {
padding-right: 0%;
text-align: center;
display: block;
color: #000000;
padding: 1.5rem 1rem;
transition: background 0.3s smooth;
background-color: #ffffff;
height: 8px;
width: 90px;
border-radius: 10px;
}
/* Footer styles */
footer {
background: #333;
color: #fff;
}
/* Back to top button styles */
#back-to-top {
position: fixed;
bottom: 20px;
right: 10px;
scroll-behavior: smooth;
background-color: #fbfbfb;
color: #000000;
padding: 10px 15px;
border-radius: 5px;
display: none;
cursor: pointer;
z-index: 1000; /* Ensure it appears above other content */
}
#back-to-top a {
text-decoration: none;
color: inherit;
}
#back-to-top:hover {
background-color: #00b36b;
}
/* Section 2 */
#section3 {
background-image: url('Images/Pool.jpeg'); /* Replace 'background2.jpg' with your image path */
background-size: cover; /* Cover the entire section */
background-position: center; /* Center the background image */
height: 100vh; /* Set the height to 100% of the viewport height */
display: flex; /* Use flexbox for centering content */
justify-content: center; /* Center content horizontally */
align-items: center; /* Center content vertically */
}
#events-gallery {
padding: 50px 0;
}
.gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
grid-gap: 20px;
}
.gallery-item {
position: relative;
overflow: hidden;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
background-size: cover;
}
.gallery-item img {
width: 100%;
height: auto;
display: block;
transition: transform 0.3s ease;
background-image: cover;
}
.gallery-item:hover img {
transform: scale(1.1);
}
.overlay {
position: absolute;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.7);
color: #fff;
width: 100%;
height: 100%;
padding: 20px;
opacity: 0;
transition: opacity 0.3s ease;
}
.gallery-images:hover .overlay {
opacity: 1;
}
/* Define the keyframes for the animation */
@keyframes moveImages {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-100%);
}
}
/* Add this at the end of your existing CSS file */
/* Responsive adjustments */
@media only screen and (max-width: 768px) {
/* Adjust styles for smaller screens */
body {
font-size: 14px; /* Adjust font size for better readability on smaller devices */
}
/* Adjust background images to fit smaller screens */
#section1, #section2 {
height: 50vh; /* Reduce the height of sections for better visibility */
}
/* Adjust container width and padding for better layout on smaller screens */
.container {
width: 90%;
padding: 20px;
}
/* Adjust font size and spacing for better readability on smaller screens */
h1, h2, p {
font-size: 16px;
line-height: 1.5;
}
/* Adjust gallery item width for better layout on smaller screens */
.gallery-item {
width: 100%; /* Display gallery items in full width */
margin-right: 0; /* Remove margin between gallery items */
}
/* Adjust overlay padding for better visibility on smaller screens */
.overlay {
padding: 10px;
}
/* Adjust back to top button position for better visibility on smaller screens */
#back-to-top {
bottom: 10px;
right: 10px;
}
}
.social-links {
position: fixed;
top: 50%;
transform: translateY(-50%);
right: 10px;
z-index: 9999;
}
.social-icon {
display: block;
margin-bottom: 10px;
text-decoration: none;
}
.social-icon-img {
width: 40px;
height: 40px;
border-radius: 40%;
transition: transform 0.3s ease;
}
.social-icon-img:hover {
transform: scale(1.1);
}
@media only screen and (max-width: 768px) {
/* Adjust the position of container 2 */
#section2 {
position: relative;
top: 0;
transform: none;
width: 100%;
margin: 0 auto;
}
}
.container {
position: relative;
z-index: 1;
}
.container h2,
.container p {
position: relative;
z-index: 1;
}
.container_info {
height: auto; /* Allow the container to adjust its height based on content */
}
.container_info {
max-height: 300px; /* Set a maximum height for the container */
overflow: auto; /* Enable scrolling if content exceeds the maximum height */
}
/* Apply media query for smaller devices */
@media only screen and (max-width: 768px) {
/* Hide the container with ID "hero" on smaller devices */
#hero {
display: none;
}
}