-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
547 lines (446 loc) · 9.54 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
/* GENERAL */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background-color: #1c1c1c; /* Dark background for the body */
color: #ffffff; /* White text color */
}
html {
scroll-behavior: smooth;
}
p {
color: #bbb; /* Lighter gray for paragraph text */
}
/* TRANSITION */
a,
.btn {
transition: color 0.3s ease, background-color 0.3s ease;
}
/* DESKTOP NAV */
.header {
width: 100%;
padding: 25px 0px;
display: flex;
justify-content: space-around;
align-items: center;
background-color: #282828; /* Dark background for header */
}
nav {
width: 100%;
display: flex;
align-items: center;
}
nav ul {
list-style: none;
display: flex;
margin-right: 20px;
}
nav ul li {
margin: 0 15px;
}
.nav-links {
list-style: none;
margin-top: 0;
font-size: 1.3rem;
}
.logo img {
max-width: 75px;
height: auto;
}
a {
color: #61dafb; /* Light blue link color */
text-decoration: none;
}
a:hover {
color: rgb(96, 145, 204);
text-decoration: underline;
text-underline-offset: 1rem;
text-decoration-color: rgb(96, 145, 204);
}
/* HAMBURGER MENU */
#hamburger-nav {
display: none;
}
.hamburger-menu {
position: relative;
display: inline-block;
}
.hamburger-icon {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 24px;
width: 30px;
cursor: pointer;
}
.hamburger-icon span {
width: 100%;
height: 2px;
background-color: white; /* Change to white for visibility */
transition: all 0.3 ease-in-out;
}
.menu-links {
position: absolute;
top: 100%;
right: 0%;
background-color: #282828; /* Dark background for dropdown */
width: fit-content;
max-height: 0;
overflow: hidden;
transition: all 0.3 ease-in-out;
}
.menu-links a {
display: block;
padding: 10px;
text-align: center;
font-size: 1.2rem;
color: white; /* White text color */
text-decoration: none;
transition: all 0.3 ease-in-out;
}
.menu-links a:hover {
color: rgb(96, 145, 204);
}
.menu-links li {
list-style: none;
}
.menu-links.open {
max-height: 300px;
}
.hamburger-icon.open span:nth-child(1) {
transform: rotate(45deg) translate(10px, 5px);
}
.hamburger-icon.open span:nth-child(2) {
opacity: 0;
}
.hamburger-icon.open span:nth-child(3) {
transform: rotate(-45deg) translate(10px, -5px);
}
.hamburger-icon span:nth-child(1),
.hamburger-icon span:nth-child(2),
.hamburger-icon span:nth-child(3) {
transform: none;
}
/* SECTIONS */
main {
margin-top: 40px;
}
section {
padding-top: 4vh;
margin: 0 10rem;
box-sizing: border-box;
min-height: fit-content;
}
/* PROFILE SECTION */
#profile {
display: flex;
justify-content: center;
align-items: center;
gap: 5rem;
height: 45vh;
}
.section_pic_container {
display: flex;
height: 475px;
width: 475px;
margin: auto 0;
}
.section_text {
align-self: center;
text-align: center;
}
.section_text p {
font-weight: 600;
}
.section_text_p1 {
text-align: center;
}
.section_text_p2 {
font-size: 1.5rem;
margin-bottom: 1rem;
}
.title_1 {
font-size: 3rem;
text-align: center;
}
.btn_container {
margin-top: 1.5rem;
text-align: center;
}
.btn_color {
background: linear-gradient(90deg, #6091cc, #ef8ebf);
border: none;
color: white;
padding: 1rem 1rem;
font-weight: 600;
border-radius: 2rem;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn_color:hover {
background-color: #4f7ebf;
transform: scale(1.05);
box-shadow: 0 0 10px #61dafb, 0 0 20px #61dafb; /* Glow effect on hover */
}
/* Social Media Icons Section */
.social_media_container {
display: flex;
justify-content: center;
gap: 1.5rem;
margin-top: 1rem;
}
.social_icon {
width: 40px;
height: 40px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
border-radius: 50%;
box-shadow: 0 0 10px #61dafb, 0 0 20px #61dafb; /* Match glow effect */
cursor: pointer;
}
.social_icon:hover {
transform: scale(1.1);
box-shadow: 0 0 15px #4f7ebf, 0 0 25px #4f7ebf; /* Slightly stronger glow on hover */
}
}
/* ABOUT SECTION */
#about {
padding: 4rem 0;
text-align: center;
}
.title_2 {
font-size: 2.5rem;
position: relative;
color: #ffffff;
text-align: center;/* White color for title */
}
.title_2::after {
content: "";
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 3.5px;
background: linear-gradient(90deg, #6091cc, #ef8ebf);
border-radius: 1px;
}
.text_container {
margin: 2rem auto;
}
.text_container p {
color: #bbb; /* Lighter gray for text */
line-height: 1.6;
text-align: left;
}
/* PROFICIENCIES SECTION */
#proficiencies {
padding: 3rem 0;
text-align: center;
}
.article_container {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
gap: 2.5rem;
}
article {
display: flex;
flex-direction: column;
align-items: center;
max-width: 320px;
text-align: center;
}
article .icon {
cursor: pointer;
height: 90px;
margin-bottom: 1rem;
}
article h3 {
font-size: 1.5rem;
color: #ffffff; /* White color for headings */
}
article p {
color: #777;
line-height: 1.5;
text-align: justify;
}
/* PROJECTS SECTION */
/* Parent container styling for 3x2 grid */
.details_container {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: space-around;
}
.subdetail_container {
flex: 1 1 calc(33.333% - 40px); /* Three columns with space */
max-width: 300px;
padding: 10px;
box-sizing: border-box;
}
/* Style for 'See More' button */
.btn_container {
display: flex;
justify-content: center;
margin-top: 20px;
}
#projects {
padding: 4rem 0;
text-align: center;
}
.details_container {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
gap: 3.5rem;
margin-top: 2rem;
}
.subdetail_container {
background-color: #2c2c2c; /* Dark background for project cards */
border: 1px solid #444; /* Darker border */
border-radius: 5px;
padding: 1.5rem;
max-width: 540px;
text-align: left;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Added box-shadow transition */
}
.subdetail_container:hover {
transform: scale(1.02);
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5), 0 0 15px #61dafb; /* Glow effect on hover */
}
.project_img {
max-width: 100%;
height: auto;
}
/* OTHER PLATFORMS SECTION */
#other-platforms {
padding: 4rem 0;
text-align: center;
}
.sub-detail_container {
background-color: #2c2c2c; /* Dark background for platform cards */
border: 1px solid #444; /* Darker border */
border-radius: 5px;
padding: 1.5rem;
max-width: 340px;
text-align: center;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Box-shadow transition */
}
.sub-detail_container:hover {
transform: scale(1.02);
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5), 0 0 15px #61dafb; /* Glow effect on hover */
}
a.platform-link {
color: #61dafb; /* Light blue for platform links */
text-decoration: none;
}
/* CONTACT SECTION */
#contact {
padding: 4rem 0;
text-align: center;
}
.contact-container {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
gap: 2rem;
padding: 2rem;
}
.contact-card {
flex: 1;
text-align: left;
}
.contact-form {
max-width: 400px;
margin: 0 auto;
}
.form-group {
margin-bottom: 1rem;
}
label {
display: block;
font-weight: 600;
margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 0.5rem;
font-size: 1rem;
border: 1px solid #444; /* Darker border for input fields */
background-color: #333; /* Dark background for inputs */
color: #eee; /* Light text for inputs */
border-radius: 5px;
}
textarea {
resize: none;
}
.submit-button {
background: linear-gradient(90deg, #6091cc, #ef8ebf);
border: none;
color: white;
padding: 1rem 2rem;
font-weight: 600;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.submit-button:hover {
background-color: #4f7ebf;
transform: scale(1.05);
}
.contact-info {
text-align: left;
flex: 1;
max-width: 400px;
}
.info-item {
display: flex;
align-items: center;
margin-bottom: 0.3rem;
}
.contact-icon {
width: 24px;
height: 24px;
margin-right: 1rem;
}
.contact-info h2 {
font-size: 1.5rem;
color: #61dafb; /* Light blue header for contact info */
}
.contact-info a {
color: #bbb; /* Light gray for contact links */
text-decoration: none;
}
.contact-info a:hover {
color: rgb(96, 145, 204);
}
/* FOOTER SECTION */
footer {
padding: 2rem 0;
text-align: center;
background-color: #282828; /* Dark background for footer */
}
footer p {
color: #bbb; /* Light gray for footer text */
margin: 0;
}
footer a {
color: #61dafb; /* Light blue for footer links */
}
footer a:hover {
color: rgb(96, 145, 204); /* Light blue on hover */
}
footer p::before {
font-size: 1.2rem;
margin-right: 0.5rem;
}