



@media(max-width: 980px) {
    #menu-toggle {
        display: flex;
        flex-flow: column;
        gap: 4px;
        position: fixed;
        right: 2em;
        top: 2em;
        z-index: 299;
    }

    .menu-bar {
        width: 30px;
        height: 3px;
        background: var(--white);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    body.open #menu-toggle .menu-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    body.open #menu-toggle .menu-bar:nth-child(2) {
        opacity: 0;
    }

    body.open #menu-toggle .menu-bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    body.open {
        overflow: hidden;
    }

    body.open header a {
        font-weight: 700;
    }
    
    body.open header picture {
        z-index: 999;
        position: relative;
    }

    body.open header .menu-main_menu-container {
        background-color: rgba(255, 255, 255, 0.82);
        height: 100vh;
        width: 100%;
        z-index: 2;
        position: absolute;
        top: 0;
        left: 0;
        display: grid;
        place-content: center;
        place-items: start center;
        padding-top: 0em;
    }

    body.open #menu-main_menu {
        display: flex;
        position: absolute;
        flex-flow: column;
        gap: 2em;
    }
    
    body.open header #logo-container a {
        position: relative;
        z-index: 9999;
    }

    body.open #menu-main_menu li {
        position: relative;
        z-index: 9999;
    }

}

