*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Freight big pro";
}
html,body{
    height: 100%;
    width: 100%;
}
#main{
    background-color: black;
}
#nav{
    z-index: 10;
    /* background-color: red; */
    padding:30px;
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
#nav svg path{
    fill: black;
    padding-left: 20px;
}
.navcontent li:hover{
    text-decoration: underline;
}
#loader h1{
    font-size: 6.9vw;
    line-height: 5.5vw;
    font-weight: 100;
    letter-spacing: -3px;
    z-index: 3;
}
#loader{
    height: 100vh;
    width: 100%;
    background: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: fixed;
   z-index: 1;
   /* display: none; */
}
#yellow{
    height: 100%;
    width: 100%;
    background-color: #F5E41B;
    position: absolute;
    z-index: 2;
}
#loader video{
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 3;
}
#page1{
    height: 100vh;
    width: 100%;
    background: #F5E41B;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#page1 h1{
    font-size: 6.9vw;
    line-height: 5.5vw;
    font-weight: 100;
    letter-spacing: -3px;
}
#page2{
    height: 100vh;
    width: 100%;
    background: black;
   color: white;
   display: flex;
   justify-content: center;
   text-align: center;
   align-items: center;
   flex-direction: column;
}
.elem{
  
   width: 100%;
   position: relative;
   cursor: pointer;
}
.elem:hover .moving{
    
    transform: translate(0,-50%) scaleY(1);
}
.elem h2{
    font-size: 7.5vw;
    font-weight: 100;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    line-height: 5.5vw;
}
.elem .moving{
    background-color: #F5E41B;
    width: 100%;
    white-space: nowrap;
    padding: 3px 0;
    position: absolute;
    top: 50%;
    transition: all ease-in 0.3s;
    transform: translate(0,-50%) scaleY(0);
    
}
.elem .moving .moving-in{
    display: inline-block;
    animation-name: moving;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
   
    
    /* background-color: fuchsia; */
}
.elem .moving .moving-in h5{
         color:black;
         display: inline-block;
         text-transform: uppercase;
         transition: all ease-in 0.5s;
         font-weight: 500;
         /* font-family: gilroy; */
         margin-right: 38px;

}
.elem h2:hover{
    font-style: italic;
}

@keyframes moving {
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
}
#page3{
    min-height: 100vh;
    width: 100%;
    background: white;
    position: relative;
}
.image-container{
    padding: 20px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
}
.image-div img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all ease-in 0.5s;
    margin-left: 20px;
    /* margin-top: 20px; */
    padding-top: 20px;

}
.image-div{
    height: 40vw;
    width: 28vw;
    /* background-color: red; */
    position: relative;
    overflow: hidden;
   cursor: pointer;
}
.overlay{
    height: 100%;
    width: 100%;
    background-color: #0000001e;
    z-index: 20;
    color: white;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all ease-in 0.5s;
}
.overlay p{
    font-size: 2vw;
    text-transform: uppercase;
    text-align: center;
    font-style: italic;
    line-height: 2vw;
    opacity: 0;
    transition: all ease-in 0.5s;
}

.image-div:hover img{
    scale: 1.1;
    transition: all ease-in 0.5s;
}
.image-div:hover .overlay{
    background-color: black;
    transition: all ease-in 0.5s;
}
.image-div:hover .overlay p{
    opacity: 1;
    transition: all ease-in 0.5s;
}
#footer{
    height: 20vh;
    width: 100%;
    background-color: black;
    color: white;
    text-transform: uppercase;
    font-family: serif;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2vw;
    
}
.spans{
    display: flex;
    gap: 2vw;
    cursor: pointer;
}
