.buttonMenu, .closeButton {
  position: fixed;
  width: 50px;
  height: auto;
  top: 15px;
  left: 15px;
  z-index: 999;
  cursor: pointer;
  -webkit-transform: top;
          transform: top;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.buttonMenu:hover, .closeButton:hover {
  -webkit-transform: rotateZ(30deg);
          transform: rotateZ(30deg);
}

.menuContainer {
  width: 100vw;
  height: 0;
  background: rgba(60, 60, 60, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  border-radius: 0 0 200% 200%;
  pointer-events: none;
  will-change: height;
}

@-webkit-keyframes miniBallAnimation {
  0% {
    top: 8%;
    width: 20px;
  }
  50% {
    top: 50%;
    width: 25px;
  }
  100% {
    top: 8%;
    width: 20px;
  }
}

@keyframes miniBallAnimation {
  0% {
    top: 8%;
    width: 20px;
  }
  50% {
    top: 50%;
    width: 25px;
  }
  100% {
    top: 8%;
    width: 20px;
  }
}

.option {
  position: relative;
  margin: auto;
  margin-top: 5%;
  width: 50%;
  height: 70px;
  cursor: pointer;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.option span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
  text-align: center;
  font-size: 28px;
  white-space: nowrap;
  color: white;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.option span:nth-child(1) {
  top: 0;
}

.option span:nth-child(2) {
  top: 100%;
  font-weight: 900;
  font-size: 40px;
}

.option span:nth-child(2)::after {
  content: "";
  width: 20px;
  height: 20px;
  background: red;
  border-radius: 50%;
  position: absolute;
  left: 110%;
  -webkit-animation: miniBallAnimation 0.5s infinite;
          animation: miniBallAnimation 0.5s infinite;
}

.option:hover span:nth-child(1) {
  top: -100%;
}

.option:hover span:nth-child(2) {
  top: 0;
}

.openMenu {
  opacity: 1;
  pointer-events: all;
}

.closeButton {
  position: absolute;
  display: none;
}

.closeButton:hover {
  -webkit-transform: none;
          transform: none;
}

@media (max-width: 480px) {
  .option {
    overflow: visible;
  }
  .option span {
    width: 100%;
  }
  .option span:nth-child(1) {
    top: -100%;
    display: none;
  }
  .option span:nth-child(2) {
    top: 0;
    font-size: 20px;
  }
  .option span:nth-child(2)::after {
    display: none;
  }
  .menuContainer .option:nth-child(1) {
    margin-top: 10%;
  }
}

@media (min-width: 500px) and (max-width: 1024px) {
  .option {
    overflow: visible;
  }
  .option span {
    width: 100%;
  }
  .option span:nth-child(1) {
    top: -100%;
    display: none;
  }
  .option span:nth-child(2) {
    top: 0;
    font-size: 30px;
  }
  .option span:nth-child(2)::after {
    display: none;
  }
  .menuContainer .option:nth-child(1) {
    margin-top: 10%;
  }
}

@media (min-width: 1030px) and (max-width: 1466px) {
  .menuContainer .option {
    margin-top: 4%;
  }
}
