-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
1465 lines (1275 loc) · 29.8 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
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
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*This is my CSS file for my website.*/
/* This CSS file contains over 1000 lines of code. For easier navigation, use the search function (Ctrl + F).*/
/*LEGEND*/
/* 1. CSS VARIABLES */
/* 2. TOP NAVIGATION BAR */
/* 3. INTRO SECTION */
/* 4. ABOUT SECTION */
/* 5. ROLE SECTION */
/* 6. FORM SECTION */
/* 7. HIRING PAGE */
/* 8. TABLETS */
/* 9. MOBILE PHONES */
/* 10. ANIMATION */
/*Below is my CSS codes*/
/* Importing Google Fonts for use in the website */
@import url('https://fonts.googleapis.com/css2?family=Angkor&family=Anton&family=Shanti&display=swap');
/* Defining CSS VARIABLES for colors and shadows to ensure consistency across the website */
:root {
--primary_shadow: 0 0 10px #ffbf00, 0 0 20px #ffbf00; /* Primary shadow color */
--secondary_shadow: 0 0 10px #FFFFF0, 0 0 20px #FFFFF0; /* Secondary shadow color */
--primary_color: #ffbf00; /* Primary color */
--secondary_color: #36454F; /* Secondary color */
--third_color: #004b80; /* Third color */
--fourth_color: #FFFFF0; /* Fourth color */
}
/* Applying smooth scrolling behavior to the entire HTML document */
html {
scroll-behavior: smooth;
}
/* Resetting default margin, padding, and font-family for all elements to ensure consistency */
* {
margin: 0;
padding: 0;
font-family: 'Shanti', 'Courier New', Courier, monospace;
}
/* Setting a custom cursor for the body and label elements */
body,
label {
cursor: url('assets/Cursor/cursor.png'), default;
}
/* Setting a custom cursor for link, button, upload, and select elements */
a,
button,
.upload,
select {
cursor: url('assets/Cursor/pointer.png'), pointer;
}
/* Set cursor for headings, paragraphs, inputs, and textareas */
h1,
h2,
h3,
h4,
h5,
h6,
p,
input,
textarea {
cursor: url('assets/Cursor/text.png'), text;
}
/*
This rule sets the style for selected text.
The background color of the selected text is set to the primary color.
*/
*::selection {
background-color: var(--primary_color);
}
/* This rule styles the TOP NAVIGATION BAR. Line 64 - 129
The navigation bar is displayed as a flex container with space between the items.
The background color is set to a semi-transparent color, and a blur effect is applied. */
.topnav {
display: flex;
justify-content: space-between;
background-color: #36454f03;
backdrop-filter: blur(1px);
}
/* Title and navigation list styles */
.title,
ul {
margin: 10px;
display: grid;
grid-auto-flow: column;
}
/* Navigation list styles */
ul {
gap: 20px;
margin: auto 10px;
list-style-type: none;
}
/* Navigation link styles */
ul a {
display: inline-block;
position: relative;
text-decoration: none;
color: var(--fourth_color);
font-size: 1.2em;
font-weight: bolder;
}
/* Navigation link hover effect */
ul a::after {
content: '';
position: absolute;
width: 100%;
height: 2px;
bottom: 0;
left: 0;
background-color: var(--primary_color);
transform-origin: center;
transition: transform 0.25s ease-out;
transform: scaleX(0);
}
/* Navigation link hover effect animation */
ul a:hover::after {
transform: scaleX(1);
}
/* Title styles */
.title h1 {
margin: auto;
margin-left: 10px;
font-size: 2.5em;
color: var(--fourth_color);
text-shadow: var(--primary_shadow);
}
/* Title image styles */
.title img {
width: 100px;
border-radius: 100%;
box-shadow: var(--primary_shadow);
}
/*This rule sets the style for the 1st Content of the website(INTRO SECTION).
/* Content section 1 styles(Background) */
.content1 {
background-image: url(assets/BackgroundImage1.jpg);
height: 100vh;
background-size: cover;
background-position: center;
}
/* Homepage section styles (Main Content) */
.homepage {
display: flex;
flex-direction: row;
justify-content: space-between;
margin: 45px;
}
/* Homepage image styles */
.homepage img {
width: 750px;
height: 500px;
box-shadow: var(--primary_shadow);
border-radius: 20px;
backdrop-filter: blur(5px);
}
/* Introduction section styles */
.intro {
display: flex;
flex-direction: column;
text-align: center;
justify-content: center;
color: var(--fourth_color);
width: 650px;
margin-left: 30px;
}
/* Introduction heading styles */
.intro h2 {
font-size: 2.1em;
margin-bottom: 20px;
}
/* Introduction paragraph styles */
.intro p {
font-size: 1.2em;
}
/* Introduction link styles */
.intro a {
align-self: center;
width: 5em;
margin-top: 30px;
padding: 10px;
text-decoration: none;
font-size: 1.5em;
color: var(--fourth_color);
background-color: var(--primary_color);
border-radius: 100px;
box-shadow: var(--primary_shadow);
}
/* Introduction link hover effect */
.intro a:hover {
animation: flicker 1.2s ease-in-out infinite both;
}
/*This rule sets the style for the 2nd Content of the website(ABOUT SECTION).
/* About section padding */
.about {
padding-top: 5px;
}
/* About content styles */
.aboutcontent {
margin: 20px;
}
/* Content section 2 styles (Background) */
.content2 {
background-image: url(assets/BackgroundImage2.jpg);
height: 200vh;
background-size: cover;
background-position: center;
}
/* Content section 2 heading styles */
.content2 h2 {
text-align: center;
font-size: 2.7em;
color: var(--third_color);
text-shadow: var(--primary_shadow);
}
/* Content section 2 image styles */
.content2 img {
width: 680px;
height: 420px;
margin: 0 10px 0 0;
border-radius: 20px;
}
/* Content section 2 box styles */
.content2 .box {
display: grid;
grid-auto-flow: column;
margin: 25px 0;
background-color: rgba(0, 0, 0, 0.342);
color: var(--fourth_color);
box-shadow: var(--primary_shadow);
padding: 10px;
border-radius: 10px;
}
/* Content section 2 box alignment for the second box */
.content2 .box:nth-child(2) {
direction: rtl;
text-align: left;
}
/* Box styles for backdrop filter */
.box span {
backdrop-filter: blur(4px);
}
/* Box heading styles */
.box h3 {
font-size: 2em;
margin-bottom: 10px;
}
/* Box paragraph styles */
.box p {
font-size: 1.5em;
}
/*This rule sets the style for the 3rd Content of the website(ROLE SECTION).
/* Content section 3 styles (Background) */
.content3 {
background-image: url('assets/BackgroundImage3.jpg');
height: 210vh;
background-size: cover;
background-position: center;
}
/* Content section 3 heading styles */
.content3 h2 {
text-align: center;
font-size: 2.7em;
color: var(--fourth_color);
text-shadow: var(--primary_shadow);
padding-top: 5px;
}
/* List styles */
.list {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
justify-items: center;
}
/* Role box styles */
.rolebox {
display: grid;
justify-items: center;
width: 300px;
height: 400px;
text-align: center;
margin: 40px 0;
}
/* Role box heading styles */
.rolebox h3 {
font-size: 1.7em;
margin-bottom: 2px;
color: gold;
}
/* Role box paragraph styles */
.rolebox p {
font-size: 1.1em;
color: var(--fourth_color);
margin: 0 2px;
}
/* Role box heading and paragraph text shadow styles */
.rolebox h3,
.rolebox p {
text-shadow: 0 0 10px var(--secondary_color);
}
/* Description box styles */
.description {
background-color: black;
border: 5px solid var(--fourth_color);
width: 280px;
height: 200px;
box-shadow: var(--primary_shadow);
}
/* Role box image styles */
.rolebox img {
width: 280px;
height: 250px;
object-fit: cover;
border: 5px solid var(--fourth_color);
filter: drop-shadow(0 0 10px var(--fourth_color));
background-color: #0000008b;
}
/*This rule sets the style for the 3rd Content of the website(FORM SECTION).
/* Content section 4 styles */
.content4 {
background-image: url('assets/BackgroundImage4.jpg');
background-size: cover;
background-position: center;
height: 100vh;
}
/* Content section 4 heading styles */
.content4 h2 {
margin-bottom: 1%;
text-align: center;
font-size: 2.7em;
color: var(--fourth_color);
text-shadow: var(--primary_shadow);
padding-top: 5px;
}
/* For the Home button styles (Lower right of the page) */
.content4 #homeback {
display: none;
position: fixed;
opacity: 0.5;
bottom: 1%;
right: 1%;
float: right;
width: 120px;
border: 2px solid var(--primary_color);
border-radius: 100px;
background-color: var(--secondary_color);
cursor: url('assets/Cursor/pointer.png'), pointer;
transition: 0.5s ease-in-out;
}
/*For Home button animation hover*/
#homeback:hover {
opacity: 1;
}
/* Centered container styles (To center the Form) */
.center {
display: grid;
justify-content: center;
}
/* Main form container styles (Whole form) */
.mainform {
display: flex;
gap: 20px;
backdrop-filter: blur(5px);
box-shadow: var(--primary_shadow);
padding: 10px;
border-radius: 10px;
}
/* Form image styles */
.mainform img {
width: 550px;
height: 550px;
object-fit: cover;
filter: drop-shadow(0 0 10px var(--primary_color));
}
/* Form container styles (Right side where inputs are located) */
.form {
display: grid;
}
/* Form label and input styles */
.form label,
input {
display: flex;
flex-direction: column;
}
/* Form label, input and text font styles */
.form label,
.form input,
.form textarea {
font-size: 1.5em;
color: gold;
font-weight: bold;
}
/* Form textarea styles */
.form textarea {
font-size: 0.8em;
color: gold;
}
/* Form input styles */
.form input {
width: 500px;
height: 25px;
background-color: var(--secondary_color);
border: 3px solid var(--primary_color);
font-size: 1em;
color: gold;
transition: 0.5s;
}
/* Form textarea styles */
.form textarea {
background-color: var(--secondary_color);
border: 3px solid var(--primary_color);
transition: 0.5s;
}
/* Form input and textarea focus styles */
.form input:focus,
.form textarea:focus {
background-color: var(--fourth_color);
outline: var(--fourth_color);
transition: 0.5s;
}
/* Form button styles */
.form button {
margin-top: 5px;
width: 100px;
font-size: 1.4em;
font-weight: bold;
border-radius: 50px;
padding: 2px 10px;
text-transform: uppercase;
border: 2px solid var(--primary_color);
color: gold;
transition: 0.5s;
}
/* Form button hover effect styles */
.form button:hover {
transform: scale(1.2);
transition: 0.5s;
}
/*This warning can be seen when the user clicks the submit button without filling up the form. */
/* Warning message styles */
#warning {
color: red;
display: none;
}
/* A pupup box will appear when the user clicks the submit button while completing up the form. */
/* Popup box styles */
.popupbox {
display: none;
width: 300px;
height: 200px;
text-align: center;
border: 5px solid var(--fourth_color);
box-shadow: var(--primary_shadow);
background-color: black;
color: white;
position: fixed;
top: 40%;
left: 40%;
}
/* Popup box paragraph styles */
.popupbox p {
font-size: 1.6em;
font-weight: bold;
}
/*FOR HIRING PAGE */
/* Hire page background style */
#hirepage {
background-image: url('assets/BackgroundImage5.jpg');
background-size: cover;
}
/* Horizontal line style */
hr {
border-top: 2px solid var(--primary_color);
}
/* Resume container styles(The whole Form) */
.resume {
display: flex;
margin-left: auto;
margin-right: auto;
width: 78%;
border: 5px solid var(--primary_color);
box-shadow: var(--primary_shadow);
background-color: #00000050;
animation: entrance linear 0.3s forwards;
}
/* Profile container styles (Left Side where you upload your photo) */
.profile {
display: flex;
flex-direction: column;
padding: 10px;
margin-right: 20px;
border-right: 2px solid var(--primary_color);
height: 530px;
}
/* Profile image styles */
.profile img {
margin: 1px auto;
width: 150px;
height: 150px;
object-fit: cover;
border: 5px solid black;
border-radius: 100px;
box-shadow: var(--primary_shadow);
}
/* Hire label styles (This is the Upload Photo button)*/
.hire label {
background-color: var(--secondary_color);
border: 5px solid var(--primary_color);
font-size: 1em;
color: gold;
margin-top: 10px;
padding: 10px;
width: 150px;
text-align: center;
cursor: url('assets/Cursor/pointer.png'), auto;
height: 20px;
border-radius: 100px;
transition: 0.3s ease-in-out;
}
/* Hire label hover effect styles */
.hire label:hover {
background-color: var(--fourth_color);
font-weight: bolder;
}
/* This is to remove the original input button for the upload photo*/
#input {
display: none;
}
/* Personal form container styles (Right side where inputs are located) */
.personal_form {
border-right: 2px solid var(--primary_color);
padding: 10px;
height: 530px;
}
/* Personal form label styles */
.personal_form label {
display: grid;
font-size: 1.5em;
color: gold;
font-weight: bold;
}
/* Personal form input and select styles */
.personal_form input,
.personal_form select {
width: 400px;
font-size: 1.1em;
background-color: var(--fourth_color);
border: 3px solid var(--primary_color);
border-radius: 10px;
transition: 1s;
}
/* Personal form select color styles */
.personal_form select {
color: gold;
}
/* Personal form option styles */
.personal_form option {
color: gold;
background-color: var(--secondary_color);
font-size: 0.5em;
height: 50px;
}
/* Personal form option text selection styles */
.personal_form option::selection {
background-color: var(--primary_color);
color: var(--fourth_color);
}
/* Personal form textarea styles */
.personal_form textarea {
background-color: var(--fourth_color);
border: 3px solid var(--primary_color);
font-size: 0.8em;
color: gold;
}
/* Personal form label, input and textarea font styles */
.form label,
input,
textarea {
font-size: 1.5em;
color: gold;
font-weight: bold;
}
/* Personal form input and textarea focus styles */
.personal_form input:focus,
.personal_form textarea:focus {
background-color: var(--secondary_color);
transition: 1s;
}
/* Birthday input styles (The one who has a date) */
#birthday {
align-items: baseline;
text-indent: 16px;
font-size: 1.2em;
}
/* Styling the calendar picker indicator for date input */
input[type=date]::-webkit-calendar-picker-indicator {
filter: hue-rotate(240deg);
position: absolute;
cursor: url('assets/Cursor/pointer.png'), pointer;
}
/* Test section styles (For Personality Quiz) */
.test {
padding-left: 15px;
}
/* Test title styles */
.test .title {
font-size: 2em;
color: gold;
}
/* Question styles */
.question {
font-size: 1.3em;
font-weight: bold;
color: gold;
margin-bottom: 10px;
}
/* Option styles */
.option {
padding: 5px;
background-color: var(--secondary_color);
display: flex;
color: gold;
font-size: 1.1em;
font-weight: 500;
border: 3px solid var(--primary_color);
}
/* Hide original radio button (This is to change the design of the button) */
.option input[type="radio"] {
display: none;
}
/* The position of the radio button */
.option input[type="radio"]~span {
position: relative;
display: inline-block;
padding: 3px 0 3px 25px;
}
/* Style for radio button */
.option input[type="radio"]~span:before {
content: "";
position: absolute;
display: block;
width: 15px;
height: 15px;
background: #fff;
border: 2px solid var(--third_color);
border-radius: 50%;
left: 0;
box-sizing: border-box;
transition: all 300ms ease-in-out;
}
/*Change cursor when hovering over radio button*/
.option input[type="radio"]~span:hover {
cursor: url('assets/Cursor/pointer.png'), pointer;
}
/* Change the background color of the radio button when it is checked */
.option input[type="radio"]:checked~span:before {
background-color: var(--primary_color);
}
/* Style for the previous and next button */
.previous,
.next {
margin: 5px 0;
padding: 10px;
border: 5px solid var(--secondary_color);
border-radius: 50px;
font-size: 1.1em;
color: var(--fourth_color);
background-color: var(--primary_color);
transition: 0.3s ease-in-out;
}
/* Style for the previous and next button hover effect */
.previous:hover,
.next:hover {
background-color: var(--fourth_color);
color: var(--secondary_color);
}
/* The RESULT is when the user finish their persanility quiz*/
/* Result div positioning */
.result {
display: grid;
justify-items: center;
padding: 15px;
}
/* Result heading styles */
.result h1 {
font-size: 2.2em;
color: var(--fourth_color);
text-shadow: var(--primary_shadow);
}
/* Result image styles */
.result img {
width: 300px;
height: 280px;
object-fit: cover;
border: 5px solid var(--primary_color);
filter: drop-shadow(0 0 10px var(--fourth_color));
}
/* Result paragraph styles */
.result p {
font-size: 1.1;
color: gold;
padding: 1px;
background-color: #0000008d;
border: 3px solid var(--primary_color);
}
/* Result button styles (right) */
.result button {
margin-top: 10px;
font-size: 1.2em;
color: gold;
padding: 5px;
background-color: var(--secondary_color);
border: 3px solid var(--primary_color);
border-radius: 10px;
}
/* Result button styles (left) */
.result button:last-child {
background-color: var(--primary_color);
color: var(--fourth_color);
border: 3px solid var(--primary_color);
}
/* Result button hover effect styles */
.result button:hover {
animation: flicker 1.2s ease-in-out infinite both;
}
/* When the user completed their form and quiz, this is where the FINAL RESUME comes out */
/* Styles for the result when you click submit */
.finalresume {
display: none;
margin-left: auto;
margin-right: auto;
width: 65%;
border: 5px solid var(--primary_color);
box-shadow: var(--primary_shadow);
background-color: #000000bd;
color: gold;
}
/* Styles for the profile picture along with your name, ID, etc. (Left Side) */
.profile_resume {
display: grid;
padding: 10px;
border-right: 2px solid var(--primary_color);
height: 530px;
font-size: 0.85em;
}
/* Profile image styles */
.profile_resume img {
place-self: center;
margin: 0 20px;
width: 200px;
height: 200px;
object-fit: cover;
border: 5px solid black;
border-radius: 100px;
box-shadow: var(--primary_shadow);
}
/* Result button styles (Left side) */
.profile_resume button {
place-self: center;
padding: 10px;
width: 200px;
font-size: 1.5em;
border: 2px solid var(--primary_color);
border-radius: 25px;
background-color: var(--fourth_color);
color: gold;
}
/* Result button hover effect styles (Left side) */
.profile_resume button:hover {
background-color: var(--primary_color);
color: var(--fourth_color);
}
/* Styles for the Result Image along with your Role and Description (Right Side) */
.profile_results {
width: 600px;
display: grid;
margin: 20px auto;
}
/* Result image styles (Right Side) */
.profile_results img {
place-self: center;
width: 350px;
height: 300px;
object-fit: cover;
border: 5px solid var(--primary_color);
filter: drop-shadow(0 0 10px var(--fourth_color));
}
/* Result heading styles (Right side) */
.profile_results h1, .profile_results h2, .profile_results p {
padding-left: 10px;
}
/* Result button styles (Right side) */
.profile_results button {
place-self: center;
width: 200px;
font-size: 1.1em;
padding: 5px;
border: 2px solid var(--primary_color);
border-radius: 25px;
background-color: var(--secondary_color);
color: gold;
}
/* Result button hover effect styles (Right side) */
.profile_results button:hover {
background-color: var(--primary_color);
color: var(--fourth_color);
animation: flicker 1.2s ease-in-out infinite both;
}
/*FOR TABLETS*/
/*Device = Tablets, Ipads (portrait)*/
@media (min-width: 768px) and (max-width: 1024px) {
/*Height size adjustments per section */
.content1 {
height: 1300px;
}
.content2 {
height: 2500px;
}
.content3 {
height: 2500px;
}
.content4 {
height: 1200px;
}
/*For navbar*/
ul {
gap: 10px;
}
ul a {
font-size: 1em;
}
.title h1 {
font-size: 2em;
}
/*For the intro content*/
.homepage {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 10px;
}
.homepage img {
width: 600px;
height: 380px;
}
.intro {
padding: 10px;
background-color: #000000b1;
border: 1px solid var(--fourth_color);
box-shadow: var(--primary_shadow);
border-radius: 20px;
width: 750px;
margin: 100px 0;
}
.intro h2 {
font-size: 2.3em;
}
.intro p {
font-size: 1.3em;
}
.intro a {
font-size: 1.2em;
}
/*About section adjustments*/
.content2 img {
width: 720px;
margin: auto;
display: block;
}
.content2 .box {
grid-auto-flow: row;
text-align: center;
}
.content2 .box:nth-child(2) {
direction: ltr;
text-align: center;
}
.content2 h3 {
font-size: 2.3em;
}