@@ -172,22 +172,96 @@ main {
172
172
border-bottom : 3px solid # fdf0d5 ;
173
173
}
174
174
175
+ .heading-faq h1 {
176
+ transform : translateY (-3vh );
177
+ }
178
+
179
+ .question-paragraph {
180
+ display : flex;
181
+ align-items : center;
182
+ justify-content : center;
183
+ flex-direction : column;
184
+ }
185
+
186
+ .para {
187
+ background : linear-gradient (45deg , teal, # d24848 );
188
+ -webkit-background-clip : text;
189
+ -webkit-text-fill-color : transparent;
190
+ font-weight : bold;
191
+ text-align : center;
192
+ padding : 0.8rem ;
193
+ margin : 4vh ;
194
+ font-style : italic;
195
+ font-size : 1.25rem ;
196
+ }
197
+
198
+ .question-paragraph i {
199
+ color : # 8b0000 ;
200
+ font-weight : 600 ;
201
+ font-size : 7vh ;
202
+ margin-bottom : 3vh ;
203
+ display : inline-block;
204
+ animation : bounceIcon 1.2s ease-in-out infinite;
205
+ }
206
+
207
+ @keyframes bounceIcon {
208
+ 0% , 100% {
209
+ transform : translateY (0 );
210
+ }
211
+ 50% {
212
+ transform : translateY (-8px );
213
+ }
214
+ }
215
+
216
+ .faq-container {
217
+ display : flex;
218
+ flex-direction : column;
219
+ align-items : center;
220
+ gap : 1rem ;
221
+ padding : 1rem ;
222
+ }
223
+
224
+
175
225
.faq {
226
+ position : relative;
227
+ width : 100% ;
228
+ max-width : 900px ;
229
+ box-sizing : border-box;
176
230
color : # 780000 ;
177
- border-left : 4px solid # 780000 ;
178
- background : # fff ;
179
- border-top-right-radius : 1rem ;
180
- border-bottom-right-radius : 1rem ;
181
231
margin : 1rem auto;
182
- max-width : 900px ;
183
- padding : 1rem ;
232
+ padding : 1.5rem ;
233
+ background : rgb (248 , 246 , 246 );
234
+ border-radius : 1rem ;
235
+ border-left : 4px solid # 780000 ;
184
236
box-shadow : 0 4px 8px rgba (120 , 0 , 0 , 0.2 );
185
237
transition : transform 0.2s ease, box-shadow 0.2s ease;
238
+ overflow : hidden;
239
+ z-index : 1 ;
186
240
}
241
+
242
+ .faq ::before {
243
+ content : "" ;
244
+ position : absolute;
245
+ top : 0 ;
246
+ left : 0 ;
247
+ height : 4px ;
248
+ width : 0% ;
249
+ background : linear-gradient (to right, # ff4d4d, # 780000 );
250
+ transition : width 0.9s cubic-bezier (0.25 , 1 , 0.5 , 1 );
251
+ z-index : 2 ;
252
+ }
253
+
254
+ /* On hover, animate the border across X-axis */
255
+ .faq : hover ::before {
256
+ width : 100% ;
257
+ }
258
+
187
259
.faq : hover {
188
- transform : translateY (-3px );
260
+ transform : translateX (-3px );
189
261
box-shadow : 0 6px 12px rgba (120 , 0 , 0 , 0.3 );
190
262
}
263
+
264
+
191
265
.faq summary {
192
266
cursor : pointer;
193
267
font-size : 1.1rem ;
207
281
display : flex;
208
282
flex-direction : column;
209
283
align-items : center;
210
- background-color : # 780000 ;
284
+ background : linear-gradient ( -135 deg , rgb ( 216 , 94 , 94 ) , rgb ( 147 , 101 , 132 )) ;
211
285
color : # fdf0d5 ;
212
286
width : 90% ;
213
287
max-width : 25rem ;
@@ -218,10 +292,30 @@ a {
218
292
text-align : center;
219
293
}
220
294
.ask h3 {
295
+ color : # 802d2d ;
221
296
font-size : 1.5rem ;
222
297
}
298
+
299
+ .ask : hover {
300
+ transform : translateY (-5px );
301
+ box-shadow : 0 0 15px rgba (0 , 0 , 0 , 0.8 );
302
+ transition : all 0.9s ease-in-out;
303
+ }
304
+
305
+
223
306
.mail {
224
- background-color : # fdf0d5 ;
307
+ background : linear-gradient (45deg , white, rgb (197 , 195 , 195 ));
308
+ border : none;
309
+ border-radius : 2rem ;
310
+ padding : 0.75rem 1.5rem ;
311
+ font-weight : bold;
312
+ color : # 333 ;
313
+ box-shadow :
314
+ inset 0 2px 4px rgba (255 , 255 , 255 , 0.6 ), /* inner shine */
315
+ inset 0 -2px 4px rgba (0 , 0 , 0 , 0.1 ), /* inner depth */
316
+ 0 4px 8px rgba (0 , 0 , 0 , 0.3 ); /* outer shadow */
317
+ text-shadow : 0 1px 0 rgba (255 , 255 , 255 , 0.8 );
318
+ transition : all 0.3s ease-in-out;
225
319
width : 80% ;
226
320
border-radius : 1.5rem ;
227
321
text-align : center;
230
324
white-space : nowrap;
231
325
}
232
326
.mail a {
233
- color : # 780000 ;
327
+ color : # 802d2d ;
234
328
font-weight : bold;
329
+ font-size : small;
330
+ }
331
+
332
+ .mail : hover {
333
+
334
+ transition : all 0.8s ease-in-out;
235
335
}
236
336
237
337
.seperator {
0 commit comments