
@font-face {
    font-family: "Inter-Light";
    src: url("/fonts/Inter-Light.woff2") format("woff2"), url("/fonts/Inter-Light.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Inter-Regular";
    src: url("/fonts/Inter-Regular.woff2") format("woff2"), url("/fonts/Inter-Regular.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Lausanne-Regular";
    src: url("/fonts/Lausanne-Regular.woff2") format("woff2"), url("/fonts/Lausanne-Regular.woff") format("woff");
    font-display: swap;
}


.nav__modal-btn {
    top: 84px;
    right: 16px;
}

#button-existing-navigation {
    position: fixed;
    top: 30px;
    right: 30px;
    height: 30px;
    width: 30px;
    border: none;
    transition: background-color 0.5s ease;
    cursor: pointer;
    pointer-events: auto;
    background-color: #FF3F00;
    z-index: 50;
}

#button-existing-navigation.opening {
    background-color: #464646;
}

.existing-navigation-flair {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    height: 100svh;
    width: 100vw;
    transform: translateX(-100%);
    will-change: transform;
}

.existing-navigation-flair.e-n-f-0 {
    background-color: #000000;
    z-index: 38;
}
.existing-navigation-flair.e-n-f-1 {
    background-color: #FF3F00;
    z-index: 39;
}

#existing-navigation {
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    height: 100svh;
    width: 100vw;
    background-color: #000000;
    transform: translateX(-100%);
    overflow: hidden;
    will-change: transform;
    z-index: 40;
}

#existing-navigation__featured {
    position: relative;
    padding: 30px 30px 36px 30px;
    height: 100%;
    width: 70vw;
    background-color: #000000;
    transform: translateX(-100%);
    overflow: hidden;
}

#existing-navigation__featured a {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

#existing-navigation__featured img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#existing-navigation__featured__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 200px;
    width: 100%;
    pointer-events: none;
    background: linear-gradient(0deg, #00000099 0%, #ffffff00 100%);
}

#existing-navigation__featured h1, 
#existing-navigation__featured h2,
#existing-navigation__menu__brand p {
    font-size: 1.4rem;
    position: relative;
    color: #E5E3E1;
    z-index: 3;
}

#existing-navigation__featured h2,
#existing-navigation__menu__brand p {
    font-family: "Inter-Light", Arial, Helvetica, sans-serif;
    font-weight: 300;
}

#existing-navigation__featured h1 {
    font-family: "Inter-Regular", Arial, Helvetica, sans-serif;
    font-weight: 500;
}

.existing-navigation__menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 30px;
    height: 100%;
    width: 100%;
    transform: translateX(-10%);
    z-index: 10;
}

.existing-navigation__links {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.existing-navigation__link p {
    font-family: "Lausanne-Regular";
    font-weight: normal;
    font-size: 7.4rem;
    line-height: 7rem;
    color: #E5E3E1;
}


@media (max-width: 1024px) {
    .existing-navigation__link p {
        font-size: 6.5rem;
        line-height: 5.9rem;
    }
}

@media (max-width: 766px) {
    #existing-navigation {
        flex-direction: column-reverse;
    }
    #existing-navigation__featured {
        width: 100%;
        transform: translateX(0);
    }
    #existing-navigation__featured h1,
    #existing-navigation__featured h2,
    #existing-navigation__menu__brand p {
        font-size: 1.1rem;
    }
    .existing-navigation__link p {
        font-size: 4rem;
        line-height: 3.7rem;
    }
}