-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.css
219 lines (219 loc) · 4.81 KB
/
about.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
/* ABOUT HEADER */
#aboutHeader .image-container {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
width: 100%;
height: 500px;
background-position: center;
background-size: cover;
background-image: url("images/aboutUs.jpg");
background-attachment: fixed;
}
#aboutHeader .overlay {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
text-align: center;
width: 100%;
height: 500px;
background: rgba(0, 0, 0, 0.4); /* Add a background overlay */
}
#aboutHeader p {
font-size: 25px;
font-weight: 800;
font-family: "Poppins", sans-serif;
color: white;
width: 50%;
}
/* ABOUT - ABOUT US */
#aboutAboutus .container {
width: 100%;
height: auto;
}
#aboutAboutus .content {
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: row;
padding: 50px;
}
#aboutAboutus .content-container {
display: flex;
align-items: flex-start;
justify-content: center;
flex-direction: column;
width: 60%;
margin: 30px;
padding: 40px;
}
#aboutAboutus .content-container p {
color: #333333;
font-family: "Poppins", sans-serif;
font-size: 17px;
margin: 20px;
}
#aboutAboutus .content-container h1 {
color: #333333;
font-size: 35px;
font-weight: 800;
font-family: "Poppins", sans-serif;
margin: 20px;
}
#aboutAboutus .content-container h1::after {
content: "";
display: block;
position: absolute;
margin: 5px auto; /* Centers the pseudo-element */
width: 5%; /* Half the width of the h1 element */
height: 2px; /* The thickness of your bottom border */
background-color: #ff6600; /* The color of your bottom border */
bottom: 0; /* Aligns the pseudo-element to the bottom of the h1 */
left: 0.9;
right: 0.9;
}
#aboutAboutus button {
background-color: #ff6600;
border: none;
border-radius: 50px;
font-size: 17px;
color: white;
padding: 15px;
width: 200px;
margin: 20px;
transition: all ease-in-out 0.5s;
}
#aboutAboutus button:hover {
background-color: white;
border: 1px solid #ff6600;
color: #333333;
}
#aboutAboutus .image-container {
width: 40%;
height: auto;
}
#aboutAboutus .image-container img {
width: 90%;
}
/* FAQs AREA */
#aboutFaqs .container {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: auto;
padding: 50px;
}
#aboutFaqs .container .content {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
#aboutFaqs .container .content .content-container {
display: flex;
justify-content: space-evenly;
align-items: center;
flex-direction: row;
flex-wrap: wrap;
padding: 40px;
}
#aboutFaqs .container .content h1 {
font-size: 35px;
font-weight: 700;
color: #333333;
font-family: "Poppins", sans-serif;
}
#aboutFaqs .card {
display: flex;
align-items: flex-start;
justify-content: center;
flex-direction: column;
width: 50%;
padding: 20px;
position: relative; /* Position the card relative */
}
#aboutFaqs .card::after {
content: "";
width: 10%;
height: 2px;
background-color: #ff6600;
position: absolute;
top: 0; /* Aligns the pseudo-element to the top of the card */
left: 0; /* Aligns the pseudo-element to the left of the card */
margin: 15px 40px;
}
#aboutFaqs .card h3 {
font-size: 25px;
color: #333333;
font-family: "Mulish", sans-serif;
font-family: 800;
margin: 5px 20px;
}
#aboutFaqs .card p {
font-size: 17px;
color: #000000;
font-family: "Poppins", sans-serif;
font-weight: 300;
margin: 5px 20px;
}
/* responsivness css */
@media (max-width: 868px) {
/* HEADER RESPONSIVNESS */
#aboutHeader .container .content .image-container {
width: 100%;
height: 400px;
}
#aboutHeader .container .content .image-container .overlay {
width: 100%;
height: 400px;
}
#aboutHeader .container .content .image-container .overlay p {
width: 90%;
font-size: 20px;
margin-top: 40px;
}
/* ABOUT RESPONSIVNESS AREA */
#aboutAboutus .container .content {
flex-direction: column;
padding: 0;
}
#aboutAboutus .container .content .content-container {
align-items: center;
padding: 0;
margin: 15px;
width: 80%;
}
#aboutAboutus .container .content .content-container h1::after {
margin: 170px auto;
width: 25%;
left: 0;
right: 0;
}
#aboutAboutus .container .content .image-container {
display: flex;
align-items: center;
justify-content: center;
width: 90%;
margin: 10px;
}
/* FAQS RESPONSIVNESS AREA */
#aboutFaqs .container {
padding: 0;
}
#aboutFaqs .container .content {
margin-top: 60px;
}
#aboutFaqs .container .content .content-container {
margin: 0;
padding: 0;
flex-direction: column;
width: 100%;
}
#aboutFaqs .container .content .content-container .card {
width: 90%;
margin: 30px;
}
}