:root {
    --primary-background-color: #222;
    --primary-letter-color: #ddd;
}

.site-header {
    height: 94px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-background-color);
}

    .site-header__wrapper {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 50px;
    }

        .primary-nav button {
            line-height: 70px;
            border: none;
            background-color: transparent;
            cursor: pointer;
            width: 30px;
            height: 30px;

        }

        .primary-nav button img {
            width: 100%;
            height: 25px;
        }

    .site-header .logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        height: 60px;
        justify-content: center;
    }


.site-header__wrapper a, .site-header__wrapper ul {
    list-style: none;
    color: var(--primary-letter-color);
    text-decoration: none;
}  

.site-header a img {
    max-inline-size: 100%;
    block-size: auto;
    height: 80%;
}

.sr-only {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.logo {
    font-weight: bold;
    font-size: 20px;
}

.site-header {
    position: relative;
}

@media (min-width: 700px) {
    .site-header__wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media (min-width: 700px) {
    .nav__wrapper {
        display: flex;
    }
}

@media (max-width: 700px) {
    .nav__wrapper {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 1;
        background-color: var(--primary-background-color);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-100%);
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    .nav__wrapper.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

.nav__item a {
    display: block;
    padding: 1.5rem 1rem;
}

.nav__toggle {
    display: none;
}

@media (max-width: 700px) {
    .nav__toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 1rem;
    }

    .site-header a img {
        height: 60%;
    }
}