@font-face {
    font-family: Gilroy;
    src: url(./assets/fonts/Gilroy-Medium.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Freight big pro";
}

html,
body {
    height: 100%;
    width: 100%;
}

#main {
    background-color: black;
}

#loader {
    height: 100vh;
    width: 100%;
    background-color: black;
    position: fixed;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 99;
}

#loader h1 {
    font-size: 6.9vw;
    line-height: 5vw;
    font-weight: 100;
    letter-spacing: -3px;
    position: relative;
    z-index: 9;
}

#loader video {
    height: 100%;
    width: 100%;
    position: absolute;
    object-fit: cover;
    z-index: 6;
}

#yellow1 {
    height: 100%;
    width: 100%;
    background-color: #F5E41B;
    position: absolute;
    z-index: 8;
}

#yellow2 {
    height: 100%;
    width: 100%;
    background-color: #F5E41B;
    position: absolute;
    z-index: 7;
}

#nav {
    position: absolute;
    width: 100%;
    padding: 0 40px;
    /* background-color: red; */
    z-index: 10;
}

#nav img {
    width: 110;
    height: 110;
    max-height: 100px;
    object-fit: contain;
    display: block;
}

#page1 {
    height: 100vh;
    width: 100%;
    background-color: #F5E41B;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#page1 h1 {
    font-size: 6.9vw;
    line-height: 5vw;
    font-weight: 100;
    letter-spacing: -3px;
}

#page2 {
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.elem {
    width: 100%;
    position: relative;
    cursor: pointer;
}

.elem .blur {
    position: absolute;
    width: 30%;
    left: 50%;
    top: 50%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: linear-gradient(to right, #f5e31bf0, #F5E41B, #f5e31bf6);
    box-shadow: 10px 0px 20px 20px #F5E41B, -10px 0px 20px 100px #F5E41B;
    height: 100%;
    z-index: 8;
}

.elem h2 {
    font-size: 6.8vw;
    text-transform: uppercase;
    font-weight: 100;
    line-height: 5vw;
    position: relative;
    z-index: 9;
}

.elem .moving {
    overflow: hidden;
    background-color: #F5E41B;
    width: 100%;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    transform: translate(0, -45%) scaleY(0);
    padding: 8px 0;
    transition: all ease 0.3s;
}

.elem .moving .moving-in {
    display: inline-block;
    white-space: nowrap;
    animation: moving;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.elem .moving .moving-in h5 {
    color: black;
    font-weight: 500;
    display: inline-block;
    font-size: 17px;
    font-family: Gilroy;
    text-transform: uppercase;
    opacity: 0;
    margin-right: 35px;
    transition: all ease 0.3s;
    transition-delay: 0.2s;
}

@keyframes moving {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.elem:hover .moving {
    transform: translate(0, -45%) scaleY(1);
}

.elem:hover .moving h5 {
    opacity: 1;
}

.elem:hover h2 {
    font-style: italic;
}

#page3 {
    min-height: 100vh;
    width: 100%;
    background-color: #FFF;
}

.image-container {
    padding: 30px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
}

.image-div {
    height: 40vw;
    width: 30vw;
    position: relative;
    overflow: hidden;
    margin: 20px;
    max-width: 100%;
}

.image-div img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all ease 0.5s;
}

.overlay {
    height: 100%;
    width: 100%;
    background-color: #0000000e;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all ease 0.5s;
    z-index: 9;
}

.overlay p {
    font-size: 2.5vw;
    text-transform: uppercase;
    text-align: center;
    color: white;
    line-height: 2.5vw;
    opacity: 0;
    transition-delay: 0.2s;
    transition: all ease 0.5s;
}

.image-div:hover .overlay {
    background-color: black;
}

.image-div:hover .overlay p {
    opacity: 1;
}

.image-div:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .image-div {
        height: 60vw;
        width: 45vw;
        margin: 10px;
    }

    .image-container {
        padding: 20px;
    }

    .image-div img {
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .image-div {
        height: 70vw;
        width: 80vw;
        margin: 5px;
    }

    .image-container {
        padding: 10px;
    }

    .image-div img {
        object-fit: contain;
    }
}

#footer {
    height: 40vh;
    width: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    gap: 40px;
}

#footer h2 {
    font-family: gilroy;
    text-transform: uppercase;
    font-size: 1vw;
    cursor: pointer;
}

#footer #foot {
    padding: 25px;
    height: 50%;
    width: 100%;
    color: white;
    font-family: Gilroy;
    background-color: black;
}

#footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

#footer-columns a{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    color: white;
}


#footer-left p {
    font-weight: 500;
    font-size: 0.95rem;
    font-family: Gilroy;
}

#footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

#footer-links div p {
    margin: 0.2rem 0;
    font-family: Gilroy;
}

#footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-family: Gilroy;
}

.footer-subscribe {
    display: flex;
    align-items: center;
    border-bottom: 1px solid black;
    max-width: 300px;
}

.footer-subscribe input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    padding: 0.5rem 0;
    flex: 1;
    color: white;
}

.footer-subscribe button {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 0.5rem;
    color: white;
}

#email p a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-family: Gilroy;
}