@charset "utf-8";
#menu-button {
  visibility: hidden;
  opacity: 1;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 900;
  top: 4px;
  right: 4px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  background: var(--c-red-deep);
  cursor: pointer;
}

#menu-button.nav-on {
  visibility: visible;
  opacity: 1;
}

#menu-button .c-menu-btn__lines {
  position: relative;
  margin: 0 auto;
  width: 23px;
  height: 20px;
}

#menu-button .c-menu-btn__lines span,
#menu-button .c-menu-btn__lines::before,
#menu-button .c-menu-btn__lines::after {
  position: absolute;
  display: block;
  left: 0;
  width: 23px;
  height: 2px;
  background-color: #fff;
  transition:
    top 0.25s ease-in-out,
    opacity 0.25s ease-in-out,
    transform 0.25s ease-in-out;
}

#menu-button .c-menu-btn__lines span {
  top: 9px;
  opacity: 1;
}

#menu-button .c-menu-btn__lines::before,
#menu-button .c-menu-btn__lines::after {
  content: "";
}

#menu-button .c-menu-btn__lines::before {
  top: 0;
}

#menu-button .c-menu-btn__lines::after {
  top: 18px;
}

#menu-button.is-active .c-menu-btn__lines span {
  opacity: 0;
}

#menu-button.is-active .c-menu-btn__lines::before {
  top: 9px;
  transform: rotate(45deg);
}

#menu-button.is-active .c-menu-btn__lines::after {
  top: 9px;
  transform: rotate(-45deg);
}

@media screen and (max-width: 680px) {
  body #menu-button {
    position: fixed;
    visibility: visible;
    opacity: 1;
    display: flex;
    z-index: 900;
  }
  /*-------container----*/
  #main-menu-container {
    position: fixed;
    z-index: 800;
    top: 0;
    left: auto;
    right: -100vw;
    bottom: 0;
    overflow-y: auto;
    background: rgba(4, 4, 4, 0.97);
    display: none;
    width: 100vw;
    height: 100dvh;
    padding: calc(var(--h-header) + 24px) 24px 48px;
    transition: 0.3s linear;
  }

  #main-menu-container.is-active {
    right: 0vw;
  }

  body #main-menu-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
