9797}
9898
9999.nav-bar {
100- background : rgb (30 , 38 , 38 );
100+ background : rgb (0 , 0 , 0 );
101101 position : fixed;
102102 min-width : 100% ;
103103 max-width : 100% ;
717717 border-radius : 2px ;
718718 width : 400px ;
719719 height : 250px ;
720- position : relative;
720+
721721 opacity : 0 ;
722722 display : flex;
723723 justify-content : center;
727727
728728 transform-style : preserve-3d;
729729 transform-origin : center center;
730- transition : opacity .5s ease;
730+ transition : transform 3 .5s ease , opacity 0.5 ease;
731731 border : 1px solid black;
732732
733733
743743.carousel-item img {
744744 width : 100% ;
745745 height : 100% ;
746- box-shadow : 0px 0px 10 px 1px black ;
746+ box-shadow : 0px 0px 30 px 1px rgba ( 255 , 255 , 255 , 0.342 ) ;
747747 transition : transform 0.3s ease;
748748 object-fit : cover;
749+ border : 1px solid black;
749750}
750751.carousel-item img : hover {
751752 transform : scale (1.05 );
@@ -794,15 +795,15 @@ h4{
794795}
795796
796797.carousel-item .left {
797- transform : rotateY (45deg ) !important ;
798+ transform : translateX ( 0 px ) rotateY (45deg );
798799 z-index : 1 ;
799800 opacity : 0.8 !important ;
800801 width : 200px ;
801802 height : 160px ;
802803}
803804
804805.carousel-item .right {
805- transform : rotateY (-45deg ) !important ;
806+ transform : translateX ( 0 px ) rotateY (-45deg );
806807 z-index : 1 ;
807808 opacity : 0.8 !important ;
808809 width : 200px ;
@@ -818,32 +819,25 @@ h4{
818819}
819820
820821.carousel-item .is-flipping {
821- animation : flipY 1 s ease;
822+ animation : flipY .6 s ease;
822823}
823824
824825@keyframes flipY {
825826 0% {
826- width : 0px ;
827- height : 0px ;
828- border : none;
827+ transform : scale (1 );
829828 opacity : .2 !important ;
830829 }
831830
832831 50% {
833- width : 75px ;
834- height : 75px ;
835- transform : rotateY (-230deg ) scale (.5 );
836- border : none;
837-
832+ transform : rotateY (10deg ) scale (.9 );
838833 }
839834
840835 100% {
841- transform : rotateY ( 0 deg ) scale (1 );
836+ transform : scale (1 );
842837 opacity : 1 ;
843- border : none;
844838 }
845-
846839}
840+
847841/* --------Carousel Base-------- */
848842@media (max-width : 975px ){
849843
@@ -885,15 +879,17 @@ h4{
885879 }
886880}
887881/* <!-- ----Projects Section---------------> */
888- .projects -section {
889- background-image : url ('/public/gallery/tempbgs/gallery-bg8 .jpg' );
882+ .gallery -section {
883+ background-image : url ('/public/gallery/tempbgs/gallery-bg24 .jpg' );
890884 background-attachment : fixed;
891885 background-size : cover;
892- background-position : center;
886+ background-repeat : repeat;
887+ /* background-position-x: -300px;
888+ background-position-y: -500px; */
893889
894890 min-height : calc (100vh );
895891
896- background-color : rgb (24 , 24 , 24 );
892+ background-color : rgb (0 , 0 , 0 );
897893
898894 border-top : 1px solid white;
899895 border-bottom : 1px solid white;
910906 box-shadow : inset 0px 0px 20px 2px rgba (0 , 0 , 0 , 0.642 );
911907
912908 overflow-x : hidden;
909+ animation : floatingbg 400s linear infinite;
910+ }
911+ .gallery-bg-overlay {
912+ position : absolute;
913+ inset : 0 ;
914+ background :
915+ linear-gradient (to right,
916+ rgba (0 , 0 , 0 , .85 ) 0% ,
917+ rgba (0 , 0 , 0 , .85 ) 33% ,
918+ rgba (0 , 0 , 0 , .6 ) 33% ,
919+ rgba (0 , 0 , 0 , .2 ) 80% ,
920+ rgba (0 , 0 , 0 , .2 ) 100% );
921+ }
922+ @keyframes floatingbg {
923+ from {
924+ background-position : 0 0 ;
925+ }
926+ to {
927+ background-position : 0 10000px ;
928+ }
929+ }
930+
931+ .home-bg-overlay {
932+ position : absolute;
933+ top : 0 ;
934+ left : 0 ;
935+ width : 100% ;
936+ height : 100% ;
937+ display : grid;
938+ grid-template-columns : repeat (16 , 1fr );
939+ grid-template-rows : repeat (16 , 1fr );
940+ pointer-events : none;
941+ }
942+
943+ .home-bg-overlay ::before ,
944+ .home-bg-overlay ::after {
945+ content : '' ;
946+ grid-column : 1 / -1 ;
947+ grid-row : 1 / -1 ;
948+ background-image :
949+ linear-gradient (to right, rgba (255 , 255 , 255 , 0.03 ) 1px , transparent 1px ),
950+ linear-gradient (to bottom, rgba (255 , 255 , 255 , 0.03 ) 1px , transparent 1px );
951+ background-size : calc (100% / 32 ) calc (100% / 16 );
952+ width : 100% ;
953+ height : 100% ;
954+ display : block;
913955}
914956
915957.cards-container {
9941036 font-size : 1rem !important ;
9951037}
9961038
997- .projects -section h2 {
1039+ .gallery -section h2 {
9981040 font-size : 1.8rem ;
9991041 color : snow;
10001042 max-width : 100vw ;
@@ -1803,7 +1845,7 @@ h4{
18031845
18041846 /* <!-- ----@Media Home Section End----------> */
18051847 /* <!-- ----@Media Projects Section--------------> */
1806- .projects -section {
1848+ .gallery -section {
18071849 padding : 2.5em 0px 0em ;
18081850 min-height : calc (100vh - 65px );
18091851 }
@@ -1839,12 +1881,12 @@ h4{
18391881 cursor : pointer;
18401882 }
18411883
1842- .projects -section h2 {
1884+ .gallery -section h2 {
18431885 min-width : 100% ;
18441886 font-size : 1.4rem ;
18451887 }
18461888
1847- .projects -section p {
1889+ .gallery -section p {
18481890 font-size : .75rem ;
18491891 border-radius : 0px !important ;
18501892 }
0 commit comments