forked from Lunar-Simulations/lunar-simulations.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
722 lines (621 loc) · 14.7 KB
/
main.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
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Sen:wght@400;700;800&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap'); */
/* Add some basic styling for the body */
body {
margin: 0;
font-family: 'Inter', Arial, sans-serif;
overflow-x: hidden;
background-color: #0b0d10;
overscroll-behavior-y: none;
overscroll-behavior-x: none;
}
/* Style the scrollbar */
::-webkit-scrollbar {
/* set the width of the scrollbar */
width: 12px;
/* set the background color of the scrollbar */
background-color: #2e2e2e;
}
/* Style the thumb (the part of the scrollbar you drag) */
::-webkit-scrollbar-thumb {
/* set the background color of the thumb */
background-color: #3e3e3e;
/* set the border radius of the thumb */
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background-color: #565656;
}
@keyframes scaleIn {
0% {
transform: scale(1.1);
filter: blur(2px);
}
100% {
transform: scale(1);
filter: blur(0px);
}
}
/* Style the navbar */
/* Add a gradient background to the navbar */
.navbar {
/* height: 60px; */
display: flex;
justify-content: space-between;
align-items: center;
background: linear-gradient(to bottom,
rgb(23 28 33 / 60%) 0%,
rgb(35 41 51 / 66%) 100%);
/* Add a blur effect to the background */
/* background-color: rgb(26, 26, 26); */
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
/* Add some padding and a box shadow */
/* padding: 0 20px; */
/* box-shadow: 0 0px 50px 0px rgba(0, 0, 0, 0.5); */
/* Make the navbar fixed so that it stays in place when scrolling */
position: fixed;
top: 0;
left: 0;
width: 100vw;
z-index: 100000;
color: white;
user-select: none;
-webkit-user-drag: none;
}
.navbar-links {
display: flex;
/* gap: 20px; */
align-items: center;
margin-right: 20px;
}
/* Style the links in the navbar */
.navbar a {
color: white;
text-decoration: none;
padding: 1.5rem;
transition: 1s cubic-bezier(0.0, 0.82, 0.165, 1);
background: linear-gradient(150deg,
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0) 49%,
rgb(163 176 183 / 21%) 50%,
rgb(103 104 106 / 22%) 100%);
background-position: 0;
background-size: 400%;
/* margin-left: 20px; */
user-select: none;
}
.navbar a:hover {
background-position: 100% 100%;
/* background-color: rgba(24, 36, 54, 0.473); */
}
#menu-btn {
width: 40px;
height: 40px;
margin-right: 20px;
/* display: flex; */
flex-direction: column;
justify-content: space-around;
align-items: center;
padding: 10px;
background: transparent;
border: none;
cursor: pointer;
}
#menu-btn .line {
width: 100%;
height: 2px;
background: #fff;
transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
border-radius: 1px;
}
#menu-btn.active .line:nth-of-type(1) {
transform: translate(0%, 330%) rotate(45deg);
}
#menu-btn.active .line:nth-of-type(2) {
opacity: 0;
}
#menu-btn.active .line:nth-of-type(3) {
transform: translate(0%, -330%) rotate(-45deg);
}
/* .menu-btn {
display: flex;
align-items: center;
justify-content: center;
position: fixed;
top: 20px;
right: 20px;
z-index: 100;
}
.menu-btn-burger {
width: 30px;
height: 3px;
background-color: #333;
margin: 5px;
} */
.menu {
position: fixed;
top: 0;
left: -100vw;
width: 100vw;
height: 100%;
background-color: #00000058;
backdrop-filter: blur(8px);
transition: all 0.3s ease;
z-index: 90;
overflow: hidden;
display: none;
}
.menu.open {
left: 0;
}
.menu-list {
list-style: none;
margin: 0;
margin-top: 5rem;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
}
.menu-item {
margin: 15px 0;
font-weight: 600;
}
.menu-link {
color: rgb(255, 255, 255);
text-decoration: none;
font-size: 1.5em;
}
/* Style the cover image */
.cover-image {
color: white;
top: 0;
/* position: absolute; */
width: 100%;
height: 100vh;
background-image: url('https://ik.imagekit.io/pzcihm1mr/image-3.jpg?tr=q-80');
background-position: center;
background-size: cover;
margin-bottom: 0px;
z-index: -1;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
/* backdrop-filter: blur(0px); */
animation: scaleIn 1s ease;
}
.alt-cover {
/* left: 0; */
display: none;
top: 0;
right: 50%;
transform: translateX(50%);
width: 100vw;
height: 100vh;
object-fit: cover;
position: fixed;
z-index: -1;
}
.logo {
font-weight: 700;
margin-left: 20px;
background-color: none;
padding: 10px !important;
}
.title {
color: white;
filter: drop-shadow(0px 0px 8px rgb(0, 0, 0));
font-size: 7vmin;
margin: 30px;
margin-bottom: 15px;
user-select: none;
/* transform: translateY(100px); */
}
/* Add the gradient */
.gradient-text {
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
background-image: linear-gradient(45deg, #fff6d0, #ffbc37);
}
.full-page-section {
height: 100vh;
color: white;
background: linear-gradient(135deg,
rgb(34, 41, 49) 0%,
rgb(0, 0, 0) 100%);
}
.half-page-section {
height: 50vh;
color: white;
background: linear-gradient(135deg,
rgb(34, 41, 49) 0%,
rgb(0, 0, 0) 100%);
}
.dyn-page-section {
/* height: fit-content; */
color: white;
background: linear-gradient(135deg,
rgb(34, 41, 49) 0%,
rgb(0, 0, 0) 100%);
overflow-y: hidden;
}
.flex-centre {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.flex-vertical-centre {
display: flex;
flex-direction: row;
gap: 0.3rem;
justify-content: center;
align-items: center;
user-select: none;
}
section {
padding: 20px;
}
/* Style the card-grid */
.card-grid {
display: flex;
flex-wrap: wrap;
/* allow the cards to wrap to a new line when they run out of space */
justify-content: space-between;
/* distribute the cards evenly across the row */
}
/* Style the cards */
.card {
margin-bottom: 20px;
border-radius: 20px;
background-color: #ffffff12;
/* border: 2px solid rgb(255, 255, 255); */
padding: 20px;
width: 25%;
}
.card-grid .card {
width: 25%;
}
.card-header {
margin: 0;
}
.card-content {
margin-bottom: 0;
}
#features-grid .card {
opacity: 0;
/* set the initial opacity to 0 */
transform: translateY(20%) scale(0.9);
/* set the initial position of the element */
transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
/* add a transition effect to the element */
}
#features-grid .card.visible {
opacity: 1;
/* set the final opacity to 1 */
transform: translateY(0) scale(1);
/* set the final position of the element */
}
.features-header {
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
/* background-image: linear-gradient(135deg, #fff 30%, rgb(59, 170, 255) 60%, rgb(76, 153, 255) 90%); */
background-image: linear-gradient(135deg, #fff 30%, rgb(230, 186, 110) 60%, rgb(217, 144, 76) 90%);
background-size: 200%;
background-position: 0%;
transition: 0.5s;
margin-left: 50%;
transform: translateX(-50%);
/* text-align: center; */
width: fit-content;
cursor: pointer;
user-select: none;
}
.features-header:hover {
/* text-decoration: underline; */
background-position: 100%;
}
.features-header::after {
position: absolute;
content: "";
width: 100%;
height: 3px;
top: 100%;
left: 0;
/* background: #a6f6ff; */
background-position: 0%;
background-size: 200%;
/* background-image: linear-gradient(45deg, #fff 0%, rgb(76, 153, 255) 90%); */
background-image: linear-gradient(45deg, #fff 0%, rgb(255, 183, 76) 90%);
transition: transform 0.5s;
transform: scaleX(0);
transform-origin: right;
}
.features-header:hover::after {
transform: scaleX(1);
background-position: 100%;
transform-origin: left;
}
.card-upper {
display: flex;
justify-content: space-between;
}
.button {
padding: 10px 15px;
width: fit-content;
color: white;
margin-left: auto;
margin-right: auto;
border: 2px solid #ffffff;
border-radius: 100vw;
cursor: pointer;
user-select: none;
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
transition: 0.5s;
}
.button:hover {
background-color: #0f192c80;
}
.image-bg-1 {
background-image: url('https://ik.imagekit.io/pzcihm1mr/image-1.jpg?tr=q-80');
background-position: center;
/* background-size: calc(cover - 0%); */
background-attachment: fixed;
background-repeat: no-repeat;
}
.image-bg-3 {
filter: blur(1px) brightness(0.6);
width: 105%;
height: 115%;
object-fit: cover;
transition: all 0.8s cubic-bezier(0.0, 1, 0.3, 1);
opacity: 0.1;
}
#join:hover>.image-bg-3 {
filter: blur(3px) brightness(0.4);
opacity: 0.9;
transform: scale(1.1);
}
#join::after {
content: '';
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.155) 0%, rgba(76, 177, 255, 0.117) 90%);
}
.two-column-list {
display: flex;
}
.two-column-list ul {
flex: 1;
}
li {
margin-bottom: 5px;
}
#gallery {
position: relative;
display: flex;
justify-content: center;
}
/* #gallery img {
width: 80%;
height: 500px;
object-fit: cover;
display: none;
}
#gallery img.active {
display: block;
} */
#gallery img {
width: 80%;
height: 65vh;
object-fit: cover;
box-shadow: 0 0 40px rgba(0, 0, 0, 0.532);
display: none;
animation: fadeInOut 0.5s ease;
z-index: 0;
-webkit-user-drag: none;
user-select: none;
border-radius: 5px;
}
#gallery img.active {
display: block;
}
@keyframes fadeInOut {
0% {
opacity: 0;
transform: scale(0.9) translateY(4vh);
}
100% {
opacity: 1;
transform: scale(1) translateX(0);
}
}
#prev,
#next {
position: absolute;
top: 45%;
z-index: 1;
background-color: #0b0d10;
border: 2px solid #fff;
border-radius: 50%;
box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
width: 3rem;
height: 3rem;
cursor: pointer;
vertical-align: middle;
display: flex;
align-items: center;
justify-content: center;
transition: 0.5s;
}
#prev {
left: 5%;
}
#next {
right: 5%;
}
.icon {
stroke: #ffffff;
margin-top: auto;
margin-bottom: auto;
transition: 0.5s;
}
#prev:hover>.icon,
#next:hover>.icon {
stroke: #acb3be;
}
#prev:hover,
#next:hover {
border: 2px solid #acb3be;
background-color: #181b20;
}
.progress-bar-container {
margin-left: auto;
margin-right: auto;
margin-top: -10px;
margin-bottom: 1.4rem;
width: 80%;
height: 0.5rem;
background-color: #ddd;
position: relative;
overflow: hidden;
border-radius: 0.5rem;
}
.progress-bar {
height: 100%;
/* width: 100%; */
/* background-color: #4c82af; */
/* background-image: linear-gradient(45deg, rgb(70, 117, 133) 0%, rgb(30, 77, 138) 90%); */
background-image: linear-gradient(45deg, rgb(198, 166, 105) 0%, rgb(255, 178, 77) 90%);
position: absolute;
top: 0;
left: 0;
animation: progress-bar 4s linear forwards;
}
@keyframes progress-bar {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
#discord {
fill: #fff;
transition: 1s;
}
#join-server:hover svg {
fill: #5865f2 !important;
}
.tech-list li {
opacity: 0;
transform: translateY(4rem) scale(0.5);
transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.tech-list li.show {
transform: translateY(0vh) scale(1);
opacity: 1;
}
footer {
/* background-color: #333; */
/* set the background color of the footer */
background: linear-gradient(135deg,
rgb(34, 41, 49) 0%,
rgb(0, 0, 0) 100%);
/* set the text color of the footer */
color: #fff;
/* set the padding of the footer */
padding: 20px 0;
}
.footer-container {
/* set the maximum width of the container */
max-width: 1200px;
/* center the container */
margin: 0 auto;
/* make the container a flex container */
display: flex;
align-items: center;
flex-direction: column;
/* space the left and right sides of the container evenly */
/* justify-content: space-between; */
}
.footer-left p,
.footer-right a {
/* remove the margin */
margin: 0;
/* add padding to the left and right of the elements */
padding: 0 20px;
/* set the text color of the elements */
color: #fff;
}
.footer-right a {
/* remove the underline from the links */
text-decoration: none;
/* set the text color of the links */
color: #fff;
/* add margin between the links */
margin-left: 20px;
}
.footer-right a:hover {
/* remove the underline from the links */
text-decoration: underline;
/* set the text color of the links */
color: rgb(86, 170, 255);
}
.hide-desktop {
display: none;
}
.divider {
background-image: linear-gradient(45deg, rgb(28, 34, 43) 0%, rgb(154, 103, 62) 50%, rgb(28, 34, 43) 100%);
height: 0.1rem;
}
h1 {
font-size: 38px;
}
.image-bg-2 {
background-image: url('./images/image-2.png');
background-position: center;
/* background-attachment: fixed; */
background-repeat: no-repeat;
}
@media screen and (max-width: 580px) {
.card-grid .card {
width: 40%
}
}
@media screen and (max-width: 480px) {
.card-grid .card {
width: 100%
}
.hide-mobile {
display: none;
}
.hide-desktop {
display: flex;
}
.cover-image {
background-image: none;
}
.alt-cover {
display: initial;
}
.menu {
display: initial;
}
.image-bg-1 {
background-size: cover !important;
}
.navbar {
height: 13vw;
}
}