@@ -237,15 +237,15 @@ img {
237
237
margin-bottom : 2.5rem ;
238
238
}
239
239
240
- .button {
240
+ .home__button {
241
241
display : inline-block;
242
242
background-color : var (--first-color-dark );
243
243
color : var (--white-color );
244
244
padding : 1.125rem 2rem ;
245
245
border-radius : .5rem ;
246
246
}
247
247
248
- .button : hover {
248
+ .home__button : hover {
249
249
background-color : var (--first-color-darken );
250
250
}
251
251
@@ -302,6 +302,111 @@ img {
302
302
}
303
303
304
304
305
+ /* ===== TEAM ====== */
306
+
307
+ .team__container {
308
+ position : relative;
309
+ z-index : 1 ;
310
+ display : flex;
311
+ justify-content : center;
312
+ align-items : center;
313
+ flex-wrap : wrap;
314
+ margin : 40px 0 ;
315
+ /* width: 70%; */
316
+ }
317
+
318
+ .team__container .team__card {
319
+ position : relative;
320
+ width : 300px ;
321
+ height : 400px ;
322
+ background : rgba (255 , 255 , 255 , 0.05 );
323
+ margin : 20px ;
324
+ box-shadow : 0 15px 35px rgba (0 , 0 , 0 , 0.2 );
325
+ border-radius : 15px ;
326
+ display : flex;
327
+ justify-content : center;
328
+ align-items : center;
329
+ backdrop-filter : blur (10px );
330
+ }
331
+
332
+ .team__container .team__card .team__content {
333
+ position : relative;
334
+ display : flex;
335
+ justify-content : center;
336
+ align-items : center;
337
+ flex-direction : column;
338
+ opacity : 0.5 ;
339
+ transition : 0.5s ;
340
+ }
341
+
342
+ .team__container .team__card : hover .team__content {
343
+ opacity : 1 ;
344
+ transform : translateY (-20px );
345
+ }
346
+
347
+ .team__container .team__card .team__content .team__img {
348
+ position : relative;
349
+ width : 150px ;
350
+ height : 150px ;
351
+ border-radius : 50% ;
352
+ overflow : hidden;
353
+ border : 10px solid rgba (0 , 0 , 0 , 0.25 );
354
+ }
355
+
356
+ .team__img img {
357
+ position : absolute;
358
+ top : 0 ;
359
+ left : 0 ;
360
+ width : 100% ;
361
+ height : 100% ;
362
+ object-fit : cover;
363
+ }
364
+
365
+ .team__text h3 {
366
+ color : var (--text-color );
367
+ text-transform : uppercase;
368
+ letter-spacing : 2px ;
369
+ font-weight : 500 ;
370
+ text-align : center;
371
+ margin : 20px 0 10px ;
372
+ line-height : 1.1em ;
373
+ }
374
+
375
+ .team__text span {
376
+ font-size : 12px ;
377
+ font-weight : 300 ;
378
+ text-transform : initial;
379
+ }
380
+
381
+ .team__icon {
382
+ position : absolute;
383
+ bottom : 50px ;
384
+ display : flex;
385
+ }
386
+
387
+ .team__icon li {
388
+ list-style : none;
389
+ margin : 0 10px ;
390
+ transform : translateY (40px );
391
+ transition : 0.5s ;
392
+ opacity : 0 ;
393
+ transition-delay : calc (0.1s * var (--i ));
394
+ }
395
+
396
+ .team__card : hover .team__icon li {
397
+ transform : translateY (0px );
398
+ opacity : 1 ;
399
+
400
+ }
401
+
402
+ .team__icon li a {
403
+ color : # 11122b ;
404
+ font-size : 28px ;
405
+ }
406
+
407
+ .team__icon li a : hover {
408
+ color : var (--first-color-darken );
409
+ }
305
410
/* ===== JOIN US====== */
306
411
.join__container {
307
412
display : flex;
336
441
.course__preview {
337
442
background-color : var (--first-color );
338
443
color : var (--white-color );
339
- padding : 100 px ;
444
+ padding : 45 px ;
340
445
max-width : 350px ;
446
+ font-size : 20px ;
341
447
}
342
448
343
449
.course__preview a {
0 commit comments