.burgerbutton-button {
  cursor: pointer;
  width: 48px;
  box-sizing: border-box;
  height: 48px;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  z-index: 11;
  transition: 0.2s;
  position: relative;
  padding:12px 8px;
  margin-left: -12px;
}
.burgerbutton-linie {
  background-color: var(--wp--preset--color--blue-dark);
  height: 3px;
  transition: .4s ease;
  width: 0;
  transform-origin: center;
  left: 0;
  position: relative;
  top: 0;
  border-radius: 9999px;
}

.burgerbutton-linie:nth-child(1) {
  width: 0;
  animation: widthToHundred 0.5s cubic-bezier(0.68, 0, 0.32, 1.6) forwards;
}
.burgerbutton-linie:nth-child(2) {
  width: 0;
  animation: widthToHundred 0.6s cubic-bezier(0.68, 0, 0.32, 1.6) forwards;
}
.burgerbutton-linie:nth-child(3) {
  width: 0;
  animation: widthToHundred 0.7s cubic-bezier(0.68, 0, 0.32, 1.6) forwards;
}
.burgerbutton-button.was-open .burgerbutton-linie:nth-child(2) {
  animation: widthToHundred 0.3s ease forwards;
}
.burgerbutton-button.active .burgerbutton-linie:nth-child(1) {
  transform: rotatez(45deg);
  top: 11px;
}
.burgerbutton-button.active .burgerbutton-linie:nth-child(2) {
  transform: rotatez(-20deg) translateX(-50%);
  animation: widthToZero 0.2s ease;
  left: 50%;
}
.burgerbutton-button.active .burgerbutton-linie:nth-child(3) {
  transform: rotatez(-45deg);
  top: -10px;
}

@keyframes widthToHundred {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
@keyframes widthToZero {
  0% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}
body:has(.reveal_wrapper) .burgerbutton-button:not(.active):not(.wasopen) .burgerbutton-linie {
  animation-delay: 1s !important;
}

.burgerbutton-menu {
  display: none;
  flex-shrink: 0;
  height: 100vh;
  overflow-y: scroll;
  position: fixed !important;
  width: 100vw;
  background-color: #fff;
  top:0;
  left:0;
  z-index: 9;
  padding:7rem 5% 5rem 5%;
  width: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.burgerbutton-menu::-webkit-scrollbar {
    display: none !important;
}


@media only screen and (min-width: 990px) {
  .burgerbutton-menu-inner {
    width: 100%;
  }
  .burgerbutton-menu {
    background-color: white !important;
  }
}