* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
}

img {
    height: 100%;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    padding: 30px 40px 5px 40px;
    
    display: flex;
    justify-content: space-between;
    z-index: 10;
    

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: -70px;
        background: linear-gradient(
            to bottom,
            white 0%,
            transparent 100%
        );
        z-index: -1;

    }
}

.socials {
    display: flex;
    height: 100%;
}

.socials li, .socials-extra li {
    height: 100%;
    padding: 2px 8px;
}

.socials-extra {
    display: none;
}

.nav-links {
    position: absolute;
    display: flex;
    flex-direction: column;
    margin-top: 35px;
    width: 18vw;

    max-height: 0;
    transition: max-height 0.8s ease-in-out;

    overflow-y: auto;
    overflow-x: hidden;

    /* Hide scrollbar in Firefox */
    scrollbar-width: none;

    /* Hide scrollbar in IE/Edge */
    -ms-overflow-style: none;
}

/* Hide scrollbar in Chrome, Safari and Opera */
.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links.open {
    max-height: calc(100vh - 150px);
    overflow: none;
}



.nav-link {
    font-family: 'google sans flex', sans-serif;
    font-size: 1.7rem;
    text-transform: uppercase;

    font-variation-settings: 'opsz' 32.2, 'wght' 170, 'wdth' 111, 'grad' 82;

    padding: 16px 0px;

    &.active a {
        background-color: black;
        color: white;
        font-variation-settings: 'opsz' 32.2, 'wght' 250, 'wdth' 190, 'grad' 82;
    }

    & a {
        background: white;
        border: black 1.3px solid;
        border-radius: 100px;
        padding: 8px 25px;
    }
}

.nav-link a:hover {
        background-color: black;
        color: white;
        transition-duration: 0.3s;
    }





@media (max-height: 625px) and (min-width: 1250px) {

    .nav-links {
        width: calc(100% - 80px);
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .nav-links :last-child {
        flex-basis: 100%;
        justify-content: center;
    }

    .socials-extra {
        justify-content: center;
    }

    .nav-link {
        font-size: 1.2rem;
        &  a {
            border: black 1.5px solid;
        }
        
    }
}



@media (max-height: 725px) {
    .nav-link {
        font-size: 1.7rem;
    }

    .socials-extra {
        margin-top: 20px;
    }

    .socials-extra li {
        height: 50px;
    }
}


@media (min-width: 1250px) {
    .nav-links {
        max-height: none;
        background-color: transparent;
    }

}

@media (max-width: 1250px) {
    .socials {
        display: none;
    }

    .header {
        max-height: 110px;
        padding: 2vw 25px 5px 25px;
    }

    .small-logo {
        width: 100%;
        align-items: center;

        & img {
            width: 100%;
            object-fit: contain;
        }
    }

    .nav-links {
        position: relative;
        width: auto;
        align-items: center;
        margin-top: 15px;
    }

    .socials-extra {
        display: flex;
        height: 70px;
        margin-top: 40px;
        margin-bottom: 20px;
    }
}