@@ -763,27 +763,24 @@ div.gallery-carousel__img-container {
763
763
display : none;
764
764
}
765
765
766
-
767
766
section # features-content > div : first-child {
768
- background : linear-gradient (var (--color-secondary-m-light ), var (--color-secondary-m-light )), url (' img/Features/cocktail.jpg' );
769
- border-right : solid .2rem var (--color-secondary );
767
+ background : linear-gradient (var (--color-secondary-m-light ), var (--color-secondary-m-light )), url (" img/Features/cocktail.jpg" );
768
+ border-right : solid 0 .2rem var (--color-secondary );
770
769
}
771
770
772
771
section # features-content > div : last-child {
773
- background : linear-gradient (var (--color-secondary-m-light ), var (--color-secondary-m-light )), url (' img/Features/surfing.jpg' );
774
- border-left : solid .2rem var (--color-secondary );
772
+ background : linear-gradient (var (--color-secondary-m-light ), var (--color-secondary-m-light )), url (" img/Features/surfing.jpg" );
773
+ border-left : solid 0 .2rem var (--color-secondary );
775
774
}
776
775
777
776
section # features-content > div : first-child ,
778
- section # features-content > div : last-child {
777
+ section # features-content > div : last-child {
779
778
background-position : left;
780
779
background-size : cover;
781
780
}
782
781
783
-
784
782
section # features-text {
785
783
background-color : var (--color-secondary );
786
-
787
784
}
788
785
789
786
section # testimonials {
@@ -873,11 +870,67 @@ section#testimonials {
873
870
.testimonials__card : hover .testimonials__card--back {
874
871
transform : perspective (100rem ) rotateY (1turn );
875
872
}
873
+
876
874
footer # footer {
877
875
background-color : var (--color-primary );
878
876
grid-column : container-start / container-end;
877
+ padding : 6vh 4vw ;
878
+
879
+ display : grid;
880
+ grid-template-columns : repeat (2 , 1fr );
881
+ place-items : center;
882
+ }
883
+
884
+ .footer__social--links : link ,
885
+ .footer__social--links : visited {
886
+ display : inline-block;
887
+ background-color : var (--color-secondary );
888
+ border-radius : 4rem ;
889
+ margin-right : 1rem ;
890
+ box-shadow : 0.5rem 0.5rem 2rem 0.5rem var (--color-secondary-m-light ), -0.5rem -0.5rem 2rem 0.5rem var (--color-secondary-m-light );
891
+ transform : scale (0.8 );
892
+ animation : social 3s linear infinite;
893
+ }
894
+
895
+ .footer__social--links : link : nth-child (1 ),
896
+ .footer__social--links : visited : nth-child (1 ) {
897
+ animation-delay : 0s ;
898
+ }
899
+
900
+ .footer__social--links : link : nth-child (2 ),
901
+ .footer__social--links : visited : nth-child (2 ) {
902
+ animation-delay : 0.3s ;
903
+ }
904
+
905
+ .footer__social--links : link : nth-child (3 ),
906
+ .footer__social--links : visited : nth-child (3 ) {
907
+ animation-delay : 0.6s ;
908
+ }
909
+
910
+ .footer__social--links : link : nth-child (4 ),
911
+ .footer__social--links : visited : nth-child (4 ) {
912
+ animation-delay : 0.9s ;
879
913
}
880
914
915
+ @keyframes social {
916
+ 0% {
917
+ opacity : 0 ;
918
+ }
919
+
920
+ 50% {
921
+ opacity : 1 ;
922
+ transform : scale (1.2 );
923
+ }
924
+
925
+ 100% {
926
+ opacity : 0 ;
927
+ }
928
+ }
929
+
930
+ .footer__social--links i {
931
+ color : var (--color-primary );
932
+ font-size : 2rem ;
933
+ }
881
934
/************************** 1000 px screen and below ***************************/
882
935
@media screen and (max-width : 1000px ) {
883
936
a : link ,
@@ -921,6 +974,12 @@ footer#footer {
921
974
section # villas {
922
975
grid-gap : 0 ;
923
976
}
977
+
978
+ footer # footer {
979
+ grid-template-columns : 1fr ;
980
+ grid-template-rows : repeat (2 , 1fr );
981
+ row-gap : 3rem ;
982
+ }
924
983
}
925
984
926
985
/************************** 600 px screen and below ***************************/
@@ -948,6 +1007,7 @@ footer#footer {
948
1007
div [class ^= "villas" ] p [class ^= "villas" ],
949
1008
section # events-content > div p [class *= "para" ],
950
1009
section # features-content > div p [class *= "para" ],
1010
+ footer # footer > div p [class *= "para" ],
951
1011
.motto__content--para ,
952
1012
.booking-content__para {
953
1013
font-size : 1.5rem ;
@@ -984,10 +1044,14 @@ footer#footer {
984
1044
.corousel__nav {
985
1045
grid-template-columns : repeat (5 , 1fr );
986
1046
grid-template-rows : repeat (2 , 1fr );
987
- grid-row-gap : 3vh ;
1047
+ grid-row-gap : 3vh ;
988
1048
grid-column-gap : 8vw ;
989
1049
height : 12% ;
990
1050
}
1051
+
1052
+ footer # footer {
1053
+ padding : 4vh 2vw ;
1054
+ }
991
1055
}
992
1056
993
1057
/************************** 400 px screen and below ***************************/
0 commit comments