.burgerbutton-button {
    cursor: pointer;
    padding: 1rem 0 0.7rem 1rem;
    width: 30px;
    box-sizing: content-box;
    z-index: 1000;
    height: 25px;
    justify-content: space-between;
    z-index: 10;
    position: relative;
}
.burgerbutton-linie-wrapper {
    position: relative;
    height: 100%;
}
.burgerbutton-linie {
    background: #5D4E4E;
    height: 4px;
    transition: .4s  cubic-bezier(0.68, 0, 0.32, 1.6);
    width: 30px;
    position: absolute;
    transform-origin: center;
    left:0;
}
.burgerbutton-linie:nth-child(1) {
    top:0;
}
.burgerbutton-linie:nth-child(2) {
    top:calc(50% - 2px);
}
.burgerbutton-linie:nth-child(3) {
    top:calc(100% - 4px);
}
.burgerbutton-button.active .burgerbutton-linie:nth-child(1) {
    top:calc(50% - 2px);
    transform: rotatez(45deg);
}
.burgerbutton-button.active .burgerbutton-linie:nth-child(2) {
    transform: rotatez(-45deg) translateX(-50%);
    width: 0px;
    left:50%;
}
.burgerbutton-button.active .burgerbutton-linie:nth-child(3) {
    top:calc(50% - 2px);
    transform: rotatez(-45deg);
}
.burgerbutton-menu {
    display: none;
    position: fixed;
    width:100%;
    height:100%;
    background-color: white;
    top:0;
    left:0;
    z-index: 9;
    padding:3rem;
}
.burgerbutton .wp-block-navigation ul:not(.wp-block-navigation__submenu-container) {
    flex-direction: column !important;
}

@media only screen and (min-width: 990px) {
    .burgerbutton {
        /* width:calc(100% - 300px); */
        position: relative;
    }
    .burgerbutton-button {
      display: none;
    }
    .burgerbutton-menu {
        display: block;
        width:100%;
        position: relative;
        background-color: transparent;
        height: auto;
        top:auto;
        left:0;
        padding:0;
    }
    .burgerbutton .wp-block-navigation ul:not(.wp-block-navigation__submenu-container) {
        flex-direction: row !important;
        justify-content: flex-end !important;
    }

    /* editor styles */
    .wp-block .burgerbutton {
        width:100%;
    }
}