@media screen and (max-width: 1279px) {
    .menu-backdrop {
        position: fixed;
        background-color: #7a3145;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;

        display: flex;
        justify-content: center;
        align-items: center;

        transform: translateX(100%);
        z-index: 1;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform250ms cubic-bezier(0.075, 0.82, 0.165, 1);
    }
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
    .menu-backdrop {
        background: rgba(20, 20, 20, 0.4);
    }
}

@media screen and (min-width: 1280px) {
    .menu-backdrop {
        z-index: 1;
    }
}

@media screen and (max-width: 1279px) {
    .menu {
        /* position: relative; */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        padding: 240px 30px 40px 30px;
        background-color: #7a3145;
        overflow-y: auto;
    }
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
    .menu {
        position: absolute;
        top: 0;
        right: 0;
        width: 351px;
        padding: 240px 30px 50px 30px;
    }

    .menu-icons {
        width: 40px;
        height: 40px;
    }
}

@media screen and (min-width: 1280px) {
    .menu {
        display: flex;
        align-items: center;
        gap: 20px;
    }
}

.menu-open-btn {
    width: 32px;
    height: 32px;
    position: relative;
    border: none;
    cursor: pointer;
    padding: 0;
    background-color: transparent;
}

@media screen and (min-width: 768px) {
    .menu-open-btn {
        width: 40px;
        height: 40px;
    }
}

.menu-close-btn {
    position: absolute;
    top: 28px;
    right: 19px;
    border: none;
    padding: 0;
    background-color: transparent;
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        border 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media screen and (min-width: 768px) {
    .menu-close-btn {
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

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

    .menu-open-btn,
    .menu-close-btn {
        display: none;
    }
}

.menu-icons {
    stroke: #fbfbfb;
}

.menu-backdrop.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    overflow-y: scroll;
}

.menu.is-menu-shown body {
    overflow: hidden;
}