@charset "utf-8";
#menu-button {
  visibility: hidden;
  opacity: 1;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 900;
  top: 10px;
  right: 15px;
  width: 35px;
  height: 35px;
}

#menu-button.nav-on {
  visibility: visible;
  opacity: 1;
}

#menu-button .ham-lines {
  position: relative;
  margin: 0 auto;
  width: 26px;
  height: 17px;
}

#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: 26px;
  height: 3px;
  background-color: #507700;
  border-radius: 1px;
}

#menu-button .ham-lines span {
  bottom: 7px;
  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: 14px;
  animation: menu-bar01 0.75s forwards;
}

#menu-button .ham-lines::after {
  bottom: 0px;
  animation: menu-bar03 0.75s forwards;
}

#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(9px) rotate(45deg);
  }
}

@keyframes active-menu-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-9px) rotate(0);
  }

  100% {
    transform: translateY(-5px) rotate(-45deg);
  }
}
/*-------container----*/

body #main-menu-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 680px) {
  body #menu-button {
    position: fixed;
    visibility: visible;
    opacity: 1;
    display: flex;
    z-index: 701;
  }
  #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;
  }

  #main-menu-container.is-active {
    right: 0vw;
  }
}
