@media screen and (max-width: 1279px) {

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.15s ease, visibility 0.15s;
        z-index: 2;
    }

    .menu {
        position: fixed;
        top: 0;
        left: -320px;
        width: 70%;
        height: 100%;
        max-width: 320px;
        padding: 3rem 1.5rem;
        background-color: rgba(0, 0, 0, 0.9);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        transition: left 0.3s ease;
        z-index: 2;
    }

    .menu-list {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .menu-list li {
        margin-bottom: 20px;
    }

    .menu-list a {
        display: block;
        font-size: var(--siz-2);
        text-decoration: none;
        color: var(--wht-1);
    }

    .menu-list a:hover {
        color: var(--red-1);
    }

    .menu-open .overlay {
        visibility: visible;
        opacity: 1;
    }

    .menu-open .menu {
        left: 0;
    }

    .menu-button {
        position: fixed !important;
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 3rem;
        height: 3rem;
        right: 1.5rem;
        border-radius: 50%;
        background-color: var(--blu-1);
        cursor: pointer;
        transition: var(--trn);
        z-index: 1;
    }

    .menu-button:hover {
        outline: none;
        border-radius: 50%;
        background-color: var(--blu-2);
    }

    .menu-button img {
        width: 1.5rem;
        height: 1.5rem;
    }
}

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

    .menu-list {
        display: inline-flex;
        gap: 2rem;
        right: 0;
        list-style: none;
    }

    .menu-list a {
        font-size: var(--siz-1);
        font-weight: 500;
        color: var(--blk-3);
    }

    .menu-list a:hover {
        font-weight: 500;
        color: var(--blu-0);
    }
}