.header {
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: var(--bg);
    width: 100%;
}

.header__inner {
    display: flex;
    width: 100%;
    padding: 0 1rem 0 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4rem;
}

.nav-toggle {
    display: none
}

.nav-toggle:checked~.nav {
    transform: translateX(3px);
}


.nav-toggle-label {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    margin-bottom: 0.2rem;
    color: var(--primary);
}

.nav {
    display: flex;
    margin-top: 16.25rem;
    align-items: center;
    position: fixed;
    background: var(--bg);
    border: 3px solid var(--primary);
    border-top: none;
    border-left: none;
    flex-direction: column;
    gap: 0;
    transform: translateX(-120%);
    transition: transform .75s ease;
    width: 100%;
    margin-left: -1rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}


.nav a {
    padding: 1rem 2rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-top: 2px solid var(--primary);
    width: 100%;
    text-align: center;
    color: var(--text);
}

.logo {
    height: 1rem;
    width: auto;
    cursor: pointer
}

.logo:hover {
    opacity: 0.8;
}

.scrolled {
    border-bottom: 3px solid var(--primary);
}

@media screen and (min-width: 768px) {

    .logo {
        height: 1.5rem
    }

    .header__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav {
        margin-top: 0;
        position: relative;
        border: none;
        gap: 20px;
        flex-direction: row;
        transform: translateX(0);
        margin-left: 0;
        box-shadow: none;
        background: transparent;
        justify-content: flex-end;
    }

    .nav a {
        padding: 0;
        border: none;
        width: auto;
    }

    .nav a:hover {
        color: var(--primary);
    }


    .nav-toggle {
        display: none
    }

    .nav-toggle-label {
        display: none;
    }


}

@media screen and (min-width: 1280px) {

    .nav a {
        font-weight: 500;
        font-size: var(--step--1);
    }

    .header__inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}