-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
684 lines (599 loc) · 12.9 KB
/
styles.css
File metadata and controls
684 lines (599 loc) · 12.9 KB
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
html, body {
margin: 0;
padding: 0;
scroll-behavior: smooth; /* Enable smooth scrolling */
height: 100%; /* Ensure the gradient and content fill the full height of the window */
font-family: 'Cormorant Garamond', serif;
background: linear-gradient(to bottom, #1a1a1a, #3a3a3a); /* Gradient background */
color: #e0e0e0;
/* Removed overflow: hidden to allow scrolling */
}
.container {
min-height: 100vh; /* Ensure the container stretches to fill the viewport height */
display: flex;
flex-direction: column;
justify-content: center; /* Center content vertically */
align-items: center; /* Center content horizontally */
text-align: center;
animation: fadeIn 3s ease-in-out;
}
.header {
margin-top: 0; /* Remove fixed margin to allow dynamic centering */
}
.title {
font-family: 'Cinzel', serif;
font-size: 3rem;
color: #b71c1c;
text-shadow: 2px 2px 5px #000;
}
.tagline {
font-family: 'UnifrakturCook', serif;
font-size: 1.5rem;
color: #9e9e9e;
margin-top: 10px;
}
.navbar {
margin-top: 20px;
}
.navbar ul {
list-style: none;
padding: 0;
}
.navbar li {
display: inline;
margin: 0 15px;
}
.navbar a {
text-decoration: none;
font-family: 'Cinzel', serif;
font-size: 1.2rem;
color: #e0e0e0;
position: relative;
transition: color 0.3s ease;
}
.navbar a:hover {
color: #b71c1c;
text-shadow: 0 0 5px #b71c1c;
}
.content {
margin-top: 50px;
font-size: 1.2rem;
color: #cfcfcf;
}
.hover-container {
position: relative;
display: inline-block; /* Ensure the warning message is positioned relative to the name */
}
.warning-message {
font-family: 'Cormorant Garamond', serif;
font-size: 1rem;
color: #b71c1c; /* Dark red color for emphasis */
margin-top: 5px;
text-align: center;
position: absolute;
top: -30px; /* Position the message above the name */
left: 50%;
transform: translateX(-50%);
opacity: 0; /* Initially hidden */
transition: opacity 0.3s ease-in-out; /* Smooth fade-in effect */
}
/* Show the warning message only when hovering over the name */
.hover-container:hover .warning-message {
opacity: 1; /* Make the message visible */
}
/* Flicker effect on hover for text elements only */
h1:hover, p:hover, a:hover {
animation: flicker 0.2s infinite alternate;
}
@keyframes flicker {
0% {
opacity: 1;
}
50% {
opacity: 0.4;
}
100% {
opacity: 1;
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Subtle up-down animation for the warning message */
@keyframes moveUpDown {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-5px);
}
}
/* Bounce animation for the arrow */
@keyframes bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-5px);
}
}
.about-content {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 20px;
padding: 50px;
text-align: left;
}
.about-text {
flex: 1;
font-family: 'Cormorant Garamond', serif;
font-size: 1.2rem;
color: #e0e0e0;
}
.profile-picture {
flex: 1;
max-width: 300px;
}
.profile-image {
width: 100%;
height: auto;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.lightning-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none; /* Prevent interaction with the lightning */
z-index: 9999; /* Ensure it appears above all content */
}
.lightning {
position: absolute;
width: 2px; /* Lightning streak width */
background: rgba(255, 255, 255, 0.8); /* Lightning color */
box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Glow effect */
transform-origin: top; /* Ensure the lightning grows from the top */
animation: fadeOut 0.5s ease-out 0.5s; /* Fade out after growing */
}
.lightning-path {
position: absolute;
width: 2px;
background: rgba(255, 255, 255, 0.8); /* Lightning color */
box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Glow effect */
transform-origin: top; /* Ensure the lightning grows from the top */
animation: grow 0.5s ease-out, fadeOut 1s ease-out 0.5s; /* Grow and fade out */
}
@keyframes grow {
0% {
height: 0;
}
100% {
height: 100%; /* Fully grown */
}
}
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes flash {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.map-section {
text-align: center;
margin-top: 50px;
}
.map-title {
font-family: 'Cinzel', serif;
font-size: 1.8rem;
color: #b71c1c;
margin-bottom: 20px;
}
.map-container {
flex: 1;
max-width: 250px; /* Reduce the width of the map */
height: 250px; /* Reduce the height of the map */
border: 2px solid #e0e0e0;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.map-container iframe {
width: 100%;
height: 100%;
border: none; /* Remove the default border of the iframe */
}
.birthplace-image {
max-width: 150px;
height: 150px;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.birthplace-image img {
width: 100%;
height: auto;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
/* Section for image and GPS map side by side */
.image-map-section {
display: flex;
justify-content: center;
align-items: center;
gap: 20px; /* Space between the image and map */
margin-top: 50px; /* Add space above the section */
padding: 20px; /* Add padding inside the section */
flex-wrap: wrap; /* Ensure responsiveness on smaller screens */
}
.birthplace-image {
width: 300px; /* Set equal size for the image */
height: 300px;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.birthplace-image img {
width: 100%;
height: 100%;
object-fit: cover; /* Ensure the image fills the square */
}
.random-layout {
display: grid;
grid-template-areas:
"text image"
"text map";
grid-template-columns: 2fr 1fr;
grid-template-rows: auto auto;
gap: 20px;
margin-top: 50px;
padding: 20px;
}
.birthplace-text {
grid-area: text;
margin-top: 20px; /* Add space below the heading */
margin-bottom: 30px; /* Add space above the layout section */
font-family: 'Cormorant Garamond', serif;
font-size: 1.2rem;
color: #e0e0e0;
text-align: center; /* Center the paragraph */
line-height: 1.8; /* Improve readability */
}
.birthplace-image {
grid-area: image;
width: 100%;
height: 300px;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.birthplace-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.map-container {
grid-area: map;
width: 100%;
height: 300px;
border: 2px solid #e0e0e0;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.map-container iframe {
width: 100%;
height: 100%;
border: none;
}
/* Ensure proper spacing for the text content */
.birthplace-content {
margin-bottom: 50px; /* Add space below the text content */
}
/* Layout Section */
.layout-section {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px; /* Space between rows */
margin-top: 50px;
padding: 20px;
}
.image-row {
display: flex; /* Align images side by side */
justify-content: center; /* Center the images horizontally */
align-items: center; /* Align the images vertically */
gap: 20px; /* Add space between the images */
flex-wrap: wrap; /* Allow wrapping on smaller screens */
}
.birthplace-image {
max-width: 150px; /* Set the maximum width for the images */
height: 150px; /* Set the height for the images */
border-radius: 10px; /* Add rounded corners */
overflow: hidden; /* Ensure the image fits within the container */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Add a shadow for better visibility */
}
.birthplace-image img {
width: 100%; /* Make the image fill the container */
height: 100%; /* Maintain the height */
object-fit: cover; /* Ensure the image scales properly */
}
#background {
margin-top: 50px;
padding: 20px;
text-align: center;
font-family: 'Cormorant Garamond', serif;
color: #e0e0e0;
}
#background h2 {
font-size: 2rem;
color: #b71c1c;
margin-bottom: 20px;
}
/* Background Section */
.background-section {
margin-top: 50px;
padding: 20px;
text-align: left;
font-family: 'Cormorant Garamond', serif;
color: #e0e0e0;
}
.section-title {
font-family: 'Cinzel', serif;
font-size: 2rem;
color: #b71c1c;
margin-bottom: 20px;
text-align: center;
}
.education-list,
.achievements-list {
list-style: none;
padding: 0;
margin: 0;
}
.education-list li,
.achievements-list li {
margin-bottom: 20px;
padding: 10px;
background-color: #2a2a2a;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.education-list li strong,
.achievements-list li strong {
font-size: 1.2rem;
color: #e0e0e0;
}
.education-list li p,
.achievements-list li p {
margin: 5px 0 0;
font-size: 1rem;
color: #c0c0c0;
}
.skills-list {
list-style: none;
padding: 0;
margin: 0;
}
.skills-list li {
margin-bottom: 20px;
}
.skill-bar {
position: relative;
background-color: #2a2a2a;
border-radius: 10px;
overflow: hidden;
height: 20px;
width: 100%;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.skill-level {
position: absolute;
top: 0;
left: 0;
height: 100%;
background-color: #b71c1c;
color: #fff;
text-align: right;
padding-right: 10px;
line-height: 20px;
font-size: 0.9rem;
border-radius: 10px 0 0 10px;
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}
.skills-note {
font-size: 0.9rem;
color: #c0c0c0;
margin-bottom: 20px;
font-style: italic;
text-align: center;
}
.indicator {
text-align: center;
font-family: 'Cormorant Garamond', serif;
color: #e0e0e0;
font-size: 1.2rem;
margin-top: 20px;
cursor: pointer;
animation: bounce 2s infinite;
}
.indicator span {
display: block;
font-size: 2rem;
margin-top: 5px;
animation: bounceArrow 1.5s infinite;
}
@keyframes bounceArrow {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(10px);
}
}
.analysis-flex {
display: flex;
gap: 32px;
justify-content: center;
margin-top: 24px;
}
.analysis-flex > div {
flex: 1 1 0;
background: #232323;
border-radius: 10px;
padding: 16px;
min-width: 200px;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.analysis-flex h3 {
margin-top: 0;
text-align: center;
}
.analyzer-wrapper {
max-width: 900px;
margin: 40px auto;
background: #181818;
border-radius: 16px;
box-shadow: 0 4px 24px rgba(0,0,0,0.4);
padding: 32px 24px;
}
.analyzer-title {
text-align: center;
font-size: 2.2rem;
margin-bottom: 24px;
color: #f5f5f5;
letter-spacing: 1px;
}
#inputText {
width: 100%;
min-height: 180px;
font-size: 1.1rem;
padding: 14px;
border-radius: 8px;
border: 1px solid #333;
background: #232323;
color: #f5f5f5;
margin-bottom: 18px;
resize: vertical;
box-sizing: border-box;
}
.analyze-btn {
display: block;
margin: 0 auto 24px auto;
padding: 10px 32px;
font-size: 1.1rem;
border-radius: 8px;
border: none;
background: #b71c1c;
color: #fff;
cursor: pointer;
transition: background 0.2s;
}
.analyze-btn:hover {
background: #d32f2f;
}
#analysisResult {
margin-top: 24px;
color: #e0e0e0;
animation: fadeIn 0.7s;
}
#analysisResult h3 {
color: #b71c1c;
margin-bottom: 10px;
text-align: center;
}
#analysisResult ul {
list-style: none;
padding: 0;
margin: 0 0 12px 0;
}
#analysisResult li {
padding: 2px 0;
font-size: 1rem;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px);}
to { opacity: 1; transform: translateY(0);}
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
.title {
font-size: 2.5rem;
}
.tagline {
font-size: 1.2rem;
}
.navbar a {
font-size: 1rem;
}
.image-map-section {
flex-direction: column; /* Stack the image and map vertically */
gap: 30px; /* Increase the gap between the image and map */
}
.birthplace-image,
.map-container {
width: 250px; /* Reduce size for smaller screens */
height: 250px;
}
.random-layout {
grid-template-areas:
"text"
"image"
"map";
grid-template-columns: 1fr;
grid-template-rows: auto auto auto;
}
.birthplace-image,
.map-container {
height: 250px;
}
.layout-section {
flex-direction: column;
gap: 30px;
}
.birthplace-image {
max-width: 200px;
height: 200px;
}
.map-container {
max-width: 250px;
height: 250px;
}
.image-row {
flex-direction: column; /* Stack images vertically on smaller screens */
gap: 30px;
}
.birthplace-image {
max-width: 200px;
height: 200px;
}
.map-container {
max-width: 250px;
height: 250px;
}
}
@media (min-width: 768px) {
.image-row {
flex-wrap: nowrap; /* Prevent wrapping on larger screens */
}
}