-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
543 lines (444 loc) · 10.9 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
531
532
533
534
535
536
537
538
539
540
541
542
body {
margin: 0;
padding: 0;
font-family: 'Helvetica Neue', sans-serif;
}
/*#nav-bar {
background-color: #333;
color: white;
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
max-height: 60px; /* Adjust the max-height as needed */
/*overflow-y: auto; /* Enable vertical scrolling when the content exceeds max-height
}*/
header {
background-color: #f8f8f8;
padding: 20px 0;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}
/* Add padding to the top of each section to create space between content and navbar */
section {
padding-top: 10px; /* Adjust the value based on your design */
}
/* Style for the fixed navbar */
#nav-bar {
display: flex;
justify-content: space-around;
align-items: center;
position: fixed;
padding: 25px 0px;
top: 0;
width: 100%;
background-color: #F5F5F5;
z-index: 1000; /* Ensure it's above other elements*/
max-height: 60px; /* Adjust the max-height as needed */
overflow-y: auto; /* Enable vertical scrolling when the content exceeds max-height */
}
.nav-link {
list-style: none;
display: flex;
margin: 0;
}
.nav-link.active {
color: #007BFF; /* Change the color for the active state */
}
.nav-link li {
margin-right: 60px;
}
.nav-link a {
text-decoration: none;
color: #333;
font-weight: bold;
position: relative;
transition: color 0.3s ease;
}
.nav-link a:hover,
.nav-link.active {
color: #007BFF;
border-bottom: 3px solid #007BFF; /* Add underline for active state */
}
.nav-link a::after {
content: '';
display: block;
height: 3px;
width: 0;
background-color: #007BFF;
position: absolute;
bottom: -3px;
left: 0;
transition: width 0.3s ease;
}
.nav-link a:hover::after,
.nav-link a.active::after {
width: 100%;
}
section {
padding: 2px; /* Add padding to all sections */
margin: 0; /* Set margin to 0 to eliminate default spacing */
height: auto; /*auto*/
overflow: auto;
}
/* Add this CSS for the new content */
.home-section {
background-image: url('Utils/Images/home-section.webp');
background-size: cover;
background-position: center;
color: #ffffff;
/*background-color: #c7baba; /* Adjust the background color as needed */
margin-top: 10px;
/*padding: 35px 20px; /* Adjust the padding as needed */
}
.welcome-message {
max-width: 600px;
margin: 0 auto;
text-align: center;
}
.welcome-message h1 {
font-size: 2em;
margin-bottom: 20px;
}
.profile-image {
text-align: center;
}
.profile-image img {
border-radius: 50%;
width: 200px; /* Adjust the width of the circular image */
height: 200px; /* Adjust the height of the circular image */
margin-top: 50px; /* Adjust the margin-top value to move the image down */
margin-bottom: 10px;
object-fit: cover;
object-position: 10% 3%; /* Adjust the values to move the content within the circular frame */
transition: transform 0.3s ease;
}
.profile-image h2 {
font-size: 1.5em;
margin-bottom: 5px;
}
.home-contact {
font-size: 0.8em;
color: #666;
text-align: center;
}
.home-contact a {
color: white;
}
.home-contact a:hover {
color: #007BFF;
}
.profile-image:hover img {
transform: scale(1.1); /* Adjust the scale factor as needed */
}
/* Add this CSS for the About section */
.about-section {
background-image: url('Utils/Images/about-section.jpg');
background-size: cover;
background-position: center;
background-color: #64ffda;
/*margin-top: 10px;*/
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
/*padding: 20px;*/
}
.about-section h2 {
font-size: 2em; /* Adjust the font size as needed */
margin-top: 15px; /* Add a margin to the top of the heading */
/*margin-bottom: 20px; /* Add some space below the heading */
}
.about-content {
max-width: 800px; /* Adjust the max-width as needed */
}
.about-connect {
text-align: center; /* Center the text */
}
.about-connect h3 {
font-size: 1.5em;
}
.about-text {
text-align: justify;
}
.about-text p {
color: black;
/*text-shadow:
-1px -1px 0 white,
1px -1px 0 white,
-1px 1px 0 white,
1px 1px 0 white; */
font-size: large;
}
.about-links {
margin-top: 20px;
}
.about-links h3 {
font-size: 1.5em;
justify-content: center;
align-items: center;
}
.about-links ul {
padding: 0;
list-style: none;
display: flex;
justify-content: space-around;
margin-top: 10px;
}
.about-links li {
margin-right: 15px;
}
.about-links a {
text-decoration: none;
color: #333;
font-weight: bold;
transition: color 0.3s ease;
}
.about-links a:hover {
color: #007BFF;
}
/* Styling for Font Awesome icons */
.about-links i {
font-size: 24px;
}
.fab.fa-linkedin {
color: #0077B5; /* LinkedIn color */
}
.fab.fa-github {
color: #211F1F; /* GitHub color */
}
.fab.fa-medium {
color: #12100E; /* Medium color */
}
.resume-section {
background-color: yellow;
justify-content: center;
align-items: center;
text-align: center;
overflow: hidden;
background-image: url('Utils/Images/resume-section.jpg');
background-size: cover;
background-position: center;
}
.resume-section h2 {
font-size: 2em; /* Adjust the font size as needed */
margin-top: 15px;
margin-bottom: 20px; /* Add some space below the heading*/
}
.resume-preview {
max-width: 800px; /* Set the maximum width for the preview */
margin: 0 auto; /* Center the preview */
overflow: hidden; /* Hide overflowing content */
}
.resume-preview iframe {
width: 100%;
height: 300px; /* Set the desired height for the preview */
border: none; /* Remove iframe border */
}
.download-resume h3 {
font-size: 1.5em;
margin-bottom: 10px;
/*color: #64ffda;*/
}
.download-resume p {
color: #1a1a1d;
margin-bottom: 20px;
}
.download-resume a {
display: inline-block; /* Add this line to change the display property */
text-decoration: none;
color: #ffffff;
font-weight: bold;
background-color: #64ffda;
padding: 10px 20px;
border-radius: 5px;
transition: background-color 0.3s ease;
margin-bottom: 20px;
}
.download-resume a:hover {
background-color: #1a1a1d;
}
.employment-section {
position: relative;
padding: 20px;
justify-content: center;
align-items: center;
text-align: center;
background-image: url('Utils/Images/employment-section.jpg');
background-size: cover;
background-position: center;
}
.employment-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.3); /*Adjust the opacity as needed */
/* z-index: -1; /* Place the background behind the content */
}
.employment-content {
max-width: 800px;
margin: 0 auto;
color: white;
text-decoration-color: white;
font-style: bold;
position: relative; /* Ensure z-index works */
z-index: 1; /* Place the content above the background */
}
.employment-section h2 {
color: white;
text-decoration-color: white;
font-style: bold;
position: relative; /* Ensure z-index works */
z-index: 1; /* Place the content above the background */
}
.employment-item {
margin-bottom: 20px;
}
.employment-item h3 {
font-size: 1.5em;
margin-bottom: 5px;
}
.employment-content p {
font-size: 1.2em;
line-height: 1.6;
column-gap: white;
}
.emp-paragraph {
text-align: justify;
}
.projects-section {
position: relative;
justify-content: center;
align-items: center;
background-image: url('Utils/Images/proj.jpg');
background-size: cover;
background-position: center;
color: white;
/* padding: 20px; */
/* Add more styling as needed */
}
.projects-content {
color: white;
text-decoration-color: white;
font-style: bold;
position: relative; /* Ensure z-index works */
z-index: 1; /* Place the content above the background */
}
.projects-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
/*z-index: -1; /* Place the background behind the content */
}
.project {
max-width: 800px; /* Adjust the max-width as needed */
margin: 0 auto; /* Center the projects */
margin-top: 20px; /* Adjust the margin-top value */
}
.projects-content h2 {
justify-content: center;
align-items: center;
text-align: center;
}
.project h3 {
font-size: 1.5em; /* Adjust the font size as needed */
margin-bottom: 20px; /* Add some space below the heading */
}
.project p {
color: white;
margin-bottom: 30px;
text-align: justify;
}
.project-link {
text-decoration: underline; /* Remove default underline */
color: white; /* Set the initial text color */
}
.project-link:hover {
color: blue; /* Change text color on hover */
}
/* Your existing styles */
.skills-section {
position: relative;
justify-content: center;
align-items: center;
background-image: url('Utils/Images/tech_skill.jpg');
background-size: cover;
background-position: center;
color: white;
display: flex;
flex-direction: column;
}
.skills h3:hover,
.skills active {
color: #007BFF;
/*border-bottom: 3px solid #007BFF; /* Add underline for active state */
}
.skills {
max-width: 800px; /* Adjust the max-width as needed */
margin: 0 auto; /* Center the skills */
margin-top: 20px; /* Adjust the margin-top value */
display: flex;
flex-direction: column;
}
.skills h3 {
font-size: 1.5em; /* Adjust the font size as needed */
margin-bottom: 10px; /* Add some space below the heading */
cursor: pointer; /* Add cursor pointer for clickable effect */
text-decoration: underline;
}
.skills-list {
list-style: none;
padding: 0;
display: none; /* Hide the skills list by default */
}
.skills-list-item {
margin-bottom: 10px;
}
.skills h2 {
margin-top: 50px;
}
.achievements-section {
text-align: center;
position: relative;
justify-content: center;
align-items: center;
background-size: cover;
background-position: center;
color: black;
}
.achievements-list {
list-style-type: none; /* Remove bullet points */
}
.contact-section {
text-align: center;
/*margin-bottom: 30px;*/
}
.contact-items {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.contact-item {
display: flex;
align-items: center;
margin: 0 20px; /* Adjust spacing between items */
}
.contact-item i {
margin-right: 10px; /* Adjust spacing between icon and text */
}
.same-background {
position: relative;
justify-content: center;
align-items: center;
background-image: url('Utils/Images/prof_achiev.jpg');
background-size: cover;
background-position: center;
color: white;
}