-
Notifications
You must be signed in to change notification settings - Fork 0
/
faq.css
128 lines (111 loc) · 2.35 KB
/
faq.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
/* Import base stylesheet and Google Fonts */
@import url('./base.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400;700;900&display=swap');
/* Basic reset and typography */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Montserrat', sans-serif;
line-height: 1.6;
color: #333;
background-color: #f4f4f4;
}
/* Container Styling */
.containerr {
width: 90%;
margin: auto;
padding-top: 20px;
}
/* Intro Section Styling */
.intro {
background: #ffffff;
color: #121212;
padding: 30px;
border-radius: 12px;
text-align: center;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
animation: fadeInUp 1s ease-out;
margin-bottom: 20px;
}
.intro h1 {
margin: 0;
font-size: 2.8rem;
color: #007bff;
}
/* Section Styling */
.section {
background-color: #ffffff;
padding: 25px;
margin: 20px 0;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
animation: fadeInUp 1s ease-out;
}
.section h2 {
color: #0056b3; /* Adjusted color for better visibility */
border-bottom: 3px solid #0056b3;
padding-bottom: 12px;
margin-bottom: 25px;
font-size: 2rem;
font-weight: 600;
}
/* QA Section Styling */
.qa {
background-color: #ffffff;
padding: 20px;
margin: 20px 0;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
animation: fadeInUp 1s ease-out;
}
.qa h3 {
color: #0056b3; /* Adjusted color to match section headings */
margin-top: 20px;
font-size: clamp(18px, 2.5vw, 24px);
font-weight: 700;
border-bottom: 2px solid #0056b3; /* Added underline for emphasis */
padding-bottom: 10px;
}
.qa p, .qa ul {
margin: 15px 0;
line-height: 1.8;
font-size: 1rem;
}
ul {
list-style-type: disc;
margin-left: 30px;
padding-left: 20px;
}
/* Responsive Design */
@media (max-width: 768px) {
.containerr {
width: 95%;
padding: 10px;
}
.intro {
padding: 20px;
}
.section {
padding: 20px;
}
.intro h1 {
font-size: 2rem;
}
.section h2 {
font-size: 1.6rem;
}
}
/* Animation Keyframes */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}