-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
514 lines (437 loc) · 9.19 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
/* Reset default styles and set global font */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'General Sans', sans-serif;
}
/* Set global styles for the HTML and body elements */
html, body {
width: 100%;
height: 100%;
background-color: black;
font-family: 'General Sans', sans-serif;
scroll-behavior: smooth;
}
/* Styles for the dot element with cubic-bezier transition */
#dot {
transition: all cubic-bezier(0.19, 1, 0.22, 1) .8s;
position: absolute;
z-index: 99999;
width: 17px;
height: 17px;
background-color: #fff;
border-radius: 50%;
mix-blend-mode: difference;
}
/* Styles for the main container */
#main {
width: 100%;
background-color: black;
font-family: 'General Sans', sans-serif;
}
.no-select{
-webkit-tap-highlight-color: transparent;
}
/* Styles for the hero section */
#hero {
position: relative;
width: 100%;
height: 100vh;
color: #fff;
}
/* Styles for the navigation bar */
#nav {
width: 100%;
padding: 30px 30px;
display: flex;
align-items: center;
justify-content: space-between;
color: white;
}
#nav #name{
text-decoration: none;
color: #fff;
}
/* Styles for navigation headings */
#nav h3 {
font-size: 16px;
margin-right: 10px;
}
/* added changes */
.sidenav{
height: 100vh;
width: 0;
position: fixed;
top: 0;
right: 0;
background-image: conic-gradient( darkgrey, grey, black);
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
}
.sidenav a{
margin: auto;
margin-left: 10%;
padding: 8px;
width: fit-content;
display: block;
transition: 0.3s;
text-decoration: none;
font-size: 1.5vw;
color: #fff;
}
.sidenav a:hover{
color: silver;
}
.sidenav .closebtn:hover{
color: black;
}
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
margin-left: 50px;
color: white;
font-size: 2.5vw;
}
/* Styles for the heading section */
#heading {
margin-top: 90px;
margin-left: 40px;
text-transform: uppercase;
}
/* Styles for the heading text */
#heading h1 {
font-family: "General Sans Medium", sans-serif;
font-size: 10vw;
font-weight: 600;
line-height: 0.9;
color: #a3a3a3;
opacity: .9;
}
/* Styles for a subsection of the heading */
#heading #sec {
margin-left: 130px;
}
/* Styles for a box container */
.box {
width: fit-content;
overflow: hidden;
}
/* Styles for elements within a box */
.box .boxelem {
transform: translateY(100%);
}
/* Styles for a flexbox container */
.block {
display: flex;
flex-direction: column;
align-items: end;
width: fit-content;
}
/* Styles for a heading within a block */
.block h5 {
text-align: right;
font-size: 17px;
}
/* Styles for a small heading section */
#smallhead {
display: flex;
flex-direction: column;
align-items: end;
margin-top: 100px;
padding-right: 30px;
}
/* Styles for text within a small heading */
#smallhead h5 {
margin-top: .5vw;
font-size: 1.15vw;
text-align: right;
text-transform: uppercase;
line-height: 1.5;
}
/* Styles for the footer within the hero section */
#herofooter {
width: 100%;
padding: 0 2vw;
bottom: 3%;
position: absolute;
display: flex;
align-items: center;
justify-content: space-between;
}
/* Styles for footer links and icons */
#herofooter a {
color: #fff;
text-decoration: none;
text-transform: uppercase;
}
/* Styles for an icon within the footer */
#herofooter #icon {
font-size: xx-large;
opacity: .4;
}
/* Styles for the second section */
#second {
width: 100%;
height: 100vh;
padding-top: 200px;
padding-right: 10vw;
padding-left: 2vw;
color: #fff;
}
/* Styles for an element within the second section */
.elem {
position: relative;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
border-top: 1px solid #fff;
color: #fff;
padding-right: 0;
padding-top: 3.5vw;
padding-bottom: 3.5vw;
}
/* Styles for an image within an element */
.elem img {
opacity: 0;
pointer-events: none;
position: absolute;
z-index: 999;
height: 140%;
transform: translate(-50%, -50%);
}
/* Styles for a heading within an element */
.elem h1 {
opacity: .6;
font-size: 7.5vw;
text-transform: uppercase;
}
/* Styles for a subheading within an element */
.elem h5 {
font-size: 16px;
}
/* Styles for the last element in the second section */
#lastelem {
border-bottom: 1px solid #fff;
}
/* Styles for the about section */
#about {
width: 100%;
display: flex;
align-items: center;
gap: 90px;
padding: 30vw 10vw;
padding-left: 35vw;
padding-bottom: 10vw;
}
/* Styles for an image within the about section */
#about>span {
border-radius: 100%;
background-color: #fff;
overflow: hidden;
display: flex;
justify-content: center;
height: 250px;
width: 300px;
}
#about img {
width: 160px;
object-fit: cover;
object-position: top;
}
/* Styles for text within the about section */
#txtabout {
color: #fff;
width: 30rem;
}
/* Styles for a subheading within the about section */
#txtabout h5 {
text-transform: uppercase;
opacity: 0.8;
font-size: 13px;
line-height: 1.5;
}
/* Styles for paragraphs within the about section */
#txtabout p {
line-height: 1.5;
margin-bottom: 30px;
font-size: 18px;
}
/* Styles for links within the about section */
#txtabout a {
border: 1px solid #fff;
border-radius: 100px;
padding: 6px 22px;
text-decoration: none;
color: #fff;
font-size: 15px;
transition: .3s;
}
#txtabout a:hover,
#txtabout a:focus {
box-shadow: inset 0 -3.25em 0 0 #fff;
color: #000;
}
/* Styles for the subscription section */
#subs {
padding: 20px 40px;
width: 100%;
color: #fff;
padding-bottom: 50px;
line-height: 2;
}
/* Styles for a subheading within the subscription section */
#subs h5 {
opacity: 0.8;
font-weight: 100;
}
/* Styles for links within the subscription section */
#subs a {
color: #fff;
text-transform: uppercase;
text-decoration: none;
font-weight: 500;
}
/* Styles for the footer section */
#footer {
width: 100%;
padding: 20px 30px;
display: flex;
align-items: flex-start;
justify-content: space-between;
color: #fff;
}
/* Styles for the left part of the footer */
#left {
display: flex;
align-items: center;
gap: 2vw;
font-size: 18px;
}
/* Styles for the right part of the footer */
#right {
display: flex;
gap: 3.8vw;
font-size: 14px;
font-weight: 500;
opacity: 0.9;
}
/* Styles for links within the right part of the footer */
#right a {
text-transform: uppercase;
color: #fff;
text-decoration: none;
}
/* making website mobile responsive */
/* Example media query for small screens (up to 768px) */
@media (max-width: 768px) {
.sidenav.open {
position: fixed;
z-index: 10000;
width: 100%; /* Open sidebar with 100% width on small screens */
}
.sidenav a {
font-size: 6vw; /* Adjust font size for small screens */
}
#sidebar .closebtn{
font-size: 10vw;
}
/* Adjustments for the hero section */
#heading h1 {
font-size: 14vw; /* Adjust font size for smaller screens */
}
#heading #sec {
margin-left: 50px;
}
.block h5 {
text-align: right;
font-size: 3vw;
}
#smallhead h5 {
margin-top: .5vw;
font-size: 3vw;
text-align: right;
text-transform: uppercase;
line-height: 1.7;
}
#dot {
display: none;
}
#herofooter{
top: 80%;
padding: 0 2vw;
}
/* Styles for an icon within the footer */
#herofooter #icon {
display: none;
}
#herofooter a:first-child {
display: block;
width: 10rem;
}
#herofooter a:last-child {
display: block;
width: 10rem;
}
/* Adjustments for the second section */
#second {
height: 80%;
padding-top: 40px;
padding-right: 5vw;
padding-left: 5vw;
padding-bottom: 60px;
}
.elem h1 {
font-size: 12vw;
}
.elem h5{
font-size: 3vw;
font-weight: 0;
}
.elem img{
display: none;
}
/* Adjustments for the about section */
#about {
flex-direction: column;
align-items: center;
padding: 20vw 10vw;
top: 0;
}
#txtabout {
width: 100%;
text-align: center;
margin-top: 30px;
}
#subs{
line-height: 1.5;
}
#subs #head{
font-size: 3.5vw;
}
#subs #link{
font-size: 3.5vw;
}
#footer {
flex-direction: column-reverse;
align-items: flex-start;
text-align: left;
line-height: 1.55;
}
#right {
margin-top: 10px;
gap: 25px;/* Add some spacing between social media links and other content */
}
#left {
gap: 20px;
}
}
/* added changes */
.hidden{
/* display: none; */
visibility: hidden;
transition: all .1s ;
}