@charset "utf-8";
#menu-button {
  visibility: hidden;
  opacity: 1;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 900;
  top: 5px;
  right: 5px;
  width: 37px;
  height: 37px;
  gap: 2px;
  background: #0047b9;
}

#menu-button.nav-on {
  visibility: visible;
  opacity: 1;
}

#menu-button .ham-lines {
  position: relative;
  margin: 0 auto;
  width: 25px;
  height: 14px;
}

#menu-button .ham-lines span,
#menu-button .ham-lines::before,
#menu-button .ham-lines::after {
  position: absolute;
  display: block;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 100%;
  height: 2px;
  background-color: #fff;
}

#menu-button .ham-lines span {
  bottom: 6px;
  transition: all 0.25s 0.25s;
  opacity: 1;
}

#menu-button .ham-lines::before,
#menu-button .ham-lines::after {
  content: "";
}

#menu-button .ham-lines::before {
  bottom: 12px;
  animation: menu-bar01 0.75s forwards;
}

#menu-button .ham-lines::after {
  bottom: 0px;
  animation: menu-bar03 0.75s forwards;
}

#menu-button .ham-text {
  font-size: 10px;
  color: #fff;
  line-height: 1;
}

#menu-button.is-active .ham-lines span {
  opacity: 0;
}

#menu-button.is-active .ham-lines::before {
  animation: active-menu-bar01 0.5s forwards;
}

#menu-button.is-active .ham-lines::after {
  animation: active-menu-bar03 0.5s forwards;
}

@keyframes menu-bar01 {
  0% {
    transform: translateY(9px) rotate(45deg);
  }

  50% {
    transform: translateY(9px) rotate(0);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes menu-bar03 {
  0% {
    transform: translateY(-9px) rotate(-45deg);
  }

  50% {
    transform: translateY(-9px) rotate(0);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes active-menu-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(9px) rotate(0);
  }

  100% {
    transform: translateY(4px) rotate(45deg);
  }
}

@keyframes active-menu-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-9px) rotate(0);
  }

  100% {
    transform: translateY(-8px) rotate(-45deg);
  }
}
/*-------container----*/

#main-menu-container.is-active {
  right: 0vw;
}

@media screen and (max-width: 680px) {
  body #menu-button {
    position: fixed;
    visibility: visible;
    opacity: 1;
    display: flex;
    z-index: 701;
  }
  body #main-menu-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #main-menu-container {
    position: fixed;
    z-index: 700;
    top: 0;
    left: auto;
    right: -100vw;
    bottom: auto;
    overflow-y: auto;
    background: #fafafa;
    background-size: cover;
    display: none;
    width: 100vw;
    height: 100vh;
    transition: 0.3s linear;
  }
}
