@font-face {
    font-family: lightFont;
    src: url(/Works.studio/Freight_Big_Pro/Freight\ Big\ Pro\ Light.otf);
}
@font-face {
    font-family: frightPro;
    src: url(/Works.studio/Freight_Big_Pro/Freight\ Big\ Pro\ Book.otf);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,body{
    width: 100%;
    height: 100%;
}
#main{
    background-color: black;
}
#page1{
    width: 100%;
    height: 100vh;
    background-color: #F5E41B;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
#nav{
    width: 100%;
    height: 10%;
    background-color: red;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    padding:45px 35px;
    z-index: 1;
}
#nav img{
    width: 10.5vw;
    cursor: pointer;
}
#nav #links{
    width: 30%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 30px;
}
#links h3{
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: 100;
    font-size: 18px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.865);
    cursor: pointer;
}
#icon{
    font-size: 25px;
}
#page1>h1{
    font-family: lightFont;
    font-weight: 300;
    font-size: 6.8vw;
    text-align: center;
    line-height: 70px;
    letter-spacing: -3px;
}
#page1 #nav-bottom{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 10%;
    background-color: #F5E41B;
}
#nav-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:45px 70px;
}
#nav-bottom h3{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.865);
    cursor: pointer;
}
#nav-bottom h3 i{
    font-size: 35px;
    font-weight: 100;
    color: rgba(0, 0, 0, 0.708);
}
#loader{
    width: 100%;
    height: 100vh;
    background-color: black;
    color: white;
    position: fixed;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    /* display: none; */
}
#loader video{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 7;
    object-fit: cover;
}
#yellow{
    width: 100%;
    height: 100vh;
    background-color: #F5E41B;
    position: absolute;
    z-index: 8;
}
#loader>h1{
    font-family: lightFont;
    font-weight: 300;
    font-size: 6.8vw;
    text-align: center;
    line-height: 70px;
    letter-spacing: -3px;
    position: relative;
    z-index: 9;
}
#page2{
    width: 100%;
    height: 100vh;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    background-size: cover;
    background-position: center;
}
#page2 .elem{
    width: 100%;
    position: relative;
}
.elem h1{
    font-size: 7vw;
    font-weight: 100;
    font-family: lightFont;
    position: relative;
    z-index: 9;
    cursor: pointer;
    line-height: 70px;
}
.elem .moving{
    width: 100%;
    background-color: #F5E41B;
    color: #000;
    padding: 5px;
    white-space: nowrap;
    position: absolute;
    top: 56%;
    transform: translate(0, -50%) scaleY(0);
    overflow: hidden;
}
.moving .blur{
    width: 30%;
    height: 100%;
    z-index: 8;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background:linear-gradient(to right,#F5E41B,#F5E41B,#F5E41B);
    box-shadow: 10px 0px 15px 25px #F5E41B,-10px 0px 15px 20px #F5E41B;
}
.elem .moving .moving-in{
    display: inline-block;
    white-space: nowrap;
    margin-right: 7%;
    animation-name: moving;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.elem .moving .moving-in h6{
    display: inline-block;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1vw;
    margin-right: 4%;
    text-transform: uppercase;
}
@keyframes moving {
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
}
.elem:hover .moving{
    transform: translate(0,-50%) scaleY(1);
    transition: all ease 0.5s;
}
.elem:hover h1{
    font-style: italic;
}
#page3{
    width: 100%;
    min-height: 100vh;
    background-color: white !important;
    padding: 20px 0;
}
#image-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    flex-wrap: wrap;
}
.image-div{
    width: 29vw;
    height: 72.5vh;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all ease 0.5s;
    padding: 15px 0;
}
.image-div img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.image-div .overlay{
    width: 100%;
    height: 94%;
    background-color: #00000028;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    transition: all ease 0.5s;
}
.overlay h3{
    font-size: 4vw;
    font-weight: 100;
    color: white;
    text-align: center;
    font-family: lightFont;
    opacity: 0;
    transition: all ease 0.5s;
    text-transform: uppercase;
    line-height: 50px;
}
.image-div:hover .overlay{
    background-color: #000;
}
.image-div:hover .overlay h3{
    opacity: 1;
}
#footer{
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    color: white;
}
#footer #top-footer{
    width: 100%;
    height: 20%;
    text-align: center;
    padding: 15px;
    background-color: white;
    color: #000;
}
#top-footer h3{
    font-size: 1.2vw;
    font-weight: 600;
    font-family: lightFont;
    text-transform: uppercase;
    cursor: pointer;
}
#footer #bottom-footer{
    width: 100%;
    height: 30%;
    background-color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}
#bottom-footer h2{
    font-size: 1.6vw;
    font-family: lightFont;
    font-weight: 500;
    cursor: pointer;
}
#follow{
    display: flex;
    justify-content: space-evenly;
    width: 20%;
}
