@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&family=Nunito:wght@400;600;700&display=swap');
.menu {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    height: 70px;
    width: 70px;
    left: 5px;
    top: 5px;
    text-align: center;
    position: absolute;
    background: #000000;
    overflow: hidden;
    transition: all 1s ease;
    z-index: 999;
    border-radius: 100px;
  }
  .menu.active {
    width: calc(100vw - 140px);
  }
  .menu.active .menuContent * {
    opacity: 1;
  }
  .menu.active span i:nth-child(1) {
    transform: rotate(-45deg) translate(-50%, -50%);
    top: 50%;
  }
  .menu.active span i:nth-child(2) {
    transform: translateX(-100px);
    opacity: 0;
  }
  .menu.active span i:nth-child(3) {
    transform: rotate(45deg) translate(-50%, -50%);
    top: 50%;
  }
  .menu span {
    width: 70px;
    height: 70px;
    position: absolute;
    right: 0;
    cursor: pointer;
    background: black;
    z-index: 1;
  }
  .menu span i {
    position: absolute;
    transform-origin: 50% 50%;
    width: 50%;
    height: 2px;
    left: 0;
    right: 0;
    margin: auto;
    background-color:#FFDE00;
    transition: transform 1s ease, opacity 0.1s ease 0.1s;
  }
  .menu span i:nth-child(1) {
    top: 40%;
  }
  .menu span i:nth-child(2) {
    top: 50%;
  }
  .menu span i:nth-child(3) {
    top: 60%;
  }
  .menu .menuContent {
    position: absolute;
    width: 100%;
    height: 100%;
    line-height: 40px;
    right: 0px;
    text-align: center;
  }
  .menu .menuContent * {
    opacity: 0;
  }
  .menu .menuContent ul li a {
    text-decoration: none;
    display: inline-block;
    margin: 1rem 2.5vw;
    color: #ffffff;
    transition: opacity 0.3s ease 0.3s;
    cursor: pointer;
    position: relative;
  }
  .menu .menuContent ul li a:hover:before {
    opacity: 0.8;
    top: 13px;
    left: 20px;
  }
  .menu .menuContent ul li a:hover:after {
    opacity: 0.8;
    bottom: 13px;
    left: -20px;
  }
  .menu .menuContent ul li a:before, .menu .menuContent ul li a:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    background: #FFDE00;
    transition: all 0.3s ease;
  }
  .menu .menuContent ul li a:before {
    transform: rotate(-55deg);
    left: 60px;
    top: -30px;
    opacity: 0;
    right: 0;
    margin: auto;
  }
  .menu .menuContent ul li a:after {
    transform: rotate(-55deg);
    left: -60px;
    bottom: -30px;
    opacity: 0;
    right: 0;
    margin: auto;
  }
  .menu .menuContent ul li{
    display: inline-block;
  }