forked from GarimaSingh0109/Resum-Resume
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
539 lines (455 loc) · 10 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
:root{
--deep-teal: #003d4d; /* Deep Teal */
--off-white: #f8f9fa; /* Off-White */
--dark-slate: #2f4f4f; /* Dark Slate */
--soft-gold: #d9c79e; /* Soft Gold */
--soft-teal: #aca7eb;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Verdana, Geneva, Tahoma, sans-serif;
outline: none;
border: none;
text-decoration: none;
text-transform: capitalize;
transition: .2s linear;
}
html{
font-size: 62.5%;
scroll-behavior: smooth;
scroll-padding-top: 6rem;
overflow-x: hidden;
}
section{
padding: 2rem 9%;
}
.heading {
text-align: center;
font-size: 4rem;
color: var(--dark-slate); /* Dark Slate color */
padding: 1rem;
margin: 2rem 0;
background: var(--deep-teal); /* Changed background to Deep Teal */
}
.heading span {
color: var(--soft-gold); /* Soft Gold for span */
}
.btn {
display: inline-block;
margin-top: 1rem;
border-radius: 5rem;
background: var(--soft-gold); /* Soft Gold button background */
color: var(--dark-slate); /* Dark Slate text color */
padding: 0.9rem 3.5rem;
cursor: pointer;
font-size: 1.7rem;
}
.btn:hover {
background: var(--deep-teal); /* Deep Teal on hover */
}
.btn {
display: inline-block;
margin-top: 1rem;
border-radius: 5rem;
background: #333;
color: #fff;
padding: 0.9rem 3.5rem;
cursor: pointer;
font-size: 1.7rem;
background-color: #3f10ea;
}
.btn:hover {
background: var(--purple);
background-color: #f03c0b;
color: white;
}
header {
position: fixed;
top: 0; left: 0; right: 0;
background: var(--soft-teal); /*Changed background to Deep Teal */
padding: 2rem 9%;
display: flex;
align-items: center;
justify-content: space-between;
z-index: 1000;
box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);/
}
header .logo {
font-size: 3rem;
font-family: 'Poppins', sans-serif;
color: #353047;
color: var(--off-white); /* White logo for contrast */
font-weight: bolder;
}
.logo img{
width: 100px;
padding: 0px 6px;
margin-right: -14px;
}
header .logo:hover {
font-size: 3rem;
color: var(--soft-gold); /* Soft Gold on hover for logo */
font-weight: bolder;
text-decoration: none;
}
header .logo {
font-size: 3rem;
color: #3f10ea;
font-weight: bolder;
font-size: 2.5rem;
}
header .logo:hover {
font-size: 3rem;
color: #f03c0b;
font-weight: bolder;
text-decoration: none;
font-size: 2.55rem;
}
header .logo span {
color: var(--off-white); /* Updated to match logo color */
}
header .navbar a {
font-size: 2rem;
padding: 15px;
color: var(--off-white); /* White text for better contrast */
text-decoration: none; /* Ensure no underline by default */
}
header .navbar a:hover {
color: var(--soft-gold); /* Soft Gold on hover */
text-decoration: none; /* Ensure no underline by default */
}
header .icons a {
font-size: 2.5rem;
color: var(--off-white); /* White icons for contrast */
margin-left: 1.5rem;
}
header .icons a:hover {
color: var(--soft-gold); /* Soft Gold hover effect for icons */
}
header .navbar a {
font-size: 2rem;
padding: 0 1.5rem;
color: #666;
font-size: 1.8rem;
}
header .navbar a:hover {
color: var(--red);
text-decoration: none;
color: #3f10ea;
}
header .icons a {
font-size: 2.5rem;
color: #333;
margin-left: 1.5rem;
font-size: 2.2rem;
}
header .icons a:hover {
color: var(--purple);
color: #3f10ea;
text-decoration: none;
}
header #toggler {
display: none;
}
header .fa-bars {
font-size: 3rem;
color: var(--off-white); /* White for better visibility */
border-radius: .5rem;
padding: .5rem 1.5rem;
cursor: pointer;
border: .1rem solid rgba(0, 0, 0, 0.3);
display: none;
}
/* Default light mode styles */
body {
background-color: var(--off-white); /* Changed from #ffffff to Off-White */
color: var(--dark-slate); /* Changed from #000000 to Dark Slate */
}
.dark-mode button {
background-color: #1e1e1e;
color: #ffffff;
}
.home .content h3{
font-size: 5rem;
color: #333;
font-size: 4.5rem;
font-weight: 600;
line-height: 6rem;
}
/* Add more styles as needed for other elements */
.home {
display: flex;
align-items: center;
min-height: 100vh;
background: url(images/background-home.png) no-repeat;
background-size: cover;
background-position: center;
animation: floatInFromRight 2s ease-out forwards; /* Image floats from right */
}
.home {
display: flex;
align-items: center;
min-height: 100vh;
background: url(images/background-home.png) no-repeat;
background-size: cover;
background-position: center;
min-height: 110vh;
}
/* Dark mode styles */
.dark-mode {
background-color: #121212;
color: #ffffff;
}
.home .content {
max-width: 50rem;
opacity: 0; /* Ensure the text is hidden initially */
animation: floatInFromTop 2s ease-out forwards; /* Text floats from top */
}
.home .content h3,
.home .content p,
.home .content a {
opacity: 0; /* Initially hidden */
animation: floatInFromTop 2s ease-out forwards; /* Text enters from the top */
animation-delay: 0.5s; /* Delay for a smooth entrance */
}
.home .content p {
font-size: 1.5rem;
color: #999;
padding: 1rem 0;
line-height: 1.5;
margin-bottom: 2rem;
color: grey;
}
.home .content h3{
font-size: 5rem;
color: var(--dark-slate); /* Changed from #333 to Dark Slate */
}
.home .content span{
font-size: 3.5rem;
color: var(--soft-gold); /* Changed from var(--purple) to Soft Gold */
padding: 1rem 0;
line-height: 1.5;
}
.home .content p{
font-size: 1.5rem;
color: #666; /* Changed from #999 to a darker gray for better readability */
padding: 1rem 0;
line-height: 1.5;
}
@keyframes floatInFromTop {
0% {
opacity: 0;
transform: translateY(0); /* Starting position from above */
}
100% {
opacity: 1;
transform: translateY(0); /* Final position */
}
}
@keyframes floatInFromRight {
0% {
opacity: 0;
transform: translateX(50px); /* Starting position from the right */
}
100% {
opacity: 1;
transform: translateX(0); /* Final position */
}
}
/* Footer Styles */
.footer {
background-color: #242d45;
color: #fff;
padding: 40px 0;
font-size: 14px;
}
.footer .footer-content {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.footer .footer-section {
flex-basis: 23%;
margin-bottom: 20px;
}
.footer .footer-section h3 {
font-size: 18px;
margin-bottom: 20px;
font-weight: 600;
color: #fff;
border-bottom: 2px solid #00c6ff;
padding-bottom: 10px;
}
.footer .footer-section ul {
list-style: none;
padding: 0;
}
.footer .footer-section ul li {
margin-bottom: 10px;
}
.footer .footer-section ul li a {
color: #ccc;
text-decoration: none;
transition: color 0.3s ease;
}
.footer .footer-section ul li a:hover {
color: #00c6ff;
}
.footer .footer-section .social-icons a {
margin-right: 10px;
color: #ccc;
text-decoration: none;
font-size: 18px;
transition: color 0.3s ease;
}
.footer .footer-section .social-icons a:hover {
color: #00c6ff;
}
.footer-bottom {
text-align: center;
padding: 20px 0;
background-color: #111;
font-size: 12px;
}
.footer-bottom p {
margin: 0;
color: #ccc;
}
/* Responsive Footer */
@media (max-width: 768px) {
.footer .footer-content {
flex-direction: column;
align-items: center;
}
.footer .footer-section {
flex-basis: 100%;
text-align: center;
}
.footer .footer-section ul li {
margin-bottom: 8px;
}
}
/* media queries */
@media (max-width: 991px) {
html {
font-size: 55%;
}
header {
padding: 2rem;
}
section {
padding: 2rem;
}
.home {
background-position: left;
}
}
@media (max-width: 768px) {
html .fa-bars {
display: block;
}
header .navbar {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: #f9f9f9; /* Updated background to a softer light color */
border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}
header #toggler:checked ~ .navbar {
clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
header .navbar a {
margin: 1.5rem;
padding: 1.5rem;
background: #ffffff; /* Updated to a cleaner white */
border: 0.1rem solid rgba(0, 0, 0, 0.1);
color: var(--dark-slate); /* Changed text color to Dark Slate */
display: block;
}
header .navbar a:hover {
color: var(--soft-gold); /* Hover color set to Soft Gold */
}
.home .content h3 {
font-size: 5rem;
}
.home .content span {
font-size: 2.5rem;
}
.icons-container .icons h3 {
font-size: 2rem;
}
.icons-container .icons span {
font-size: 1.7rem;
}
}
@media (max-width: 450px) {
html {
font-size: 50%;
}
.heading {
font-size: 3rem;
}
}
/* Features section */
.features h2{
font-weight: 600;
}
.features-card img{
width:80%;
height: 40%;
object-fit: cover;
}
.features-card h3{
color: #3f10ea;
}
.features-card p{
margin-bottom: 0;
color: grey;
}
/* testimonials features section */
.testimonials h2{
font-weight: 600;
}
.testimonial-card img{
height: 9rem;
width: 9rem;
border: 0.3rem solid white;
}
.testimonial-card h3{
color: #3f10ea;
font-size: 2rem;
}
.testimonial-card p{
color: grey;
}
/* Footer section */
.footer{
background-color: #607D8B;
padding-bottom: 2rem;
}
.footer-section h3{
font-size: 2.5rem;
}
.footer-section ul li{
font-size: 1.5rem;
font-weight: 500;
}
.footer-section ul li a{
color:#000;
}
.footer-bottom p{
font-size: 1.5rem;
font-weight: 500;
}
.footer-bottom{
display: flex;
justify-content: center;
align-content: center;
}