.container {
  cursor: pointer;
  display: flex;
  display: none;
}
svg {
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.active svg {
  transform: rotate(90deg);
}
path {
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dasharray 500ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
path:nth-child(1) {
  transform-origin: 36% 40%;
}
path:nth-child(2) {
  stroke-dasharray: 29 299;
}
path:nth-child(3) {
  transform-origin: 35% 63%;
}
path:nth-child(4) {
  stroke-dasharray: 29 299;
}
path:nth-child(5) {
  transform-origin: 61% 52%;
}
path:nth-child(6) {
  transform-origin: 62% 52%;
}
.active path:nth-child(1) {
  transform: translateX(9px) translateY(1px) rotate(45deg);
}
.active path:nth-child(2) {
  stroke-dasharray: 225 299;
  stroke-dashoffset: -72px;
}
.active path:nth-child(3) {
  transform: translateX(9px) translateY(1px) rotate(-45deg);
}
.active path:nth-child(4) {
  stroke-dasharray: 225 299;
  stroke-dashoffset: -72px;
}
.active path:nth-child(5) {
  transform: translateX(9px) translateY(1px) rotate(-45deg);
}
.active path:nth-child(6) {
  transform: translateX(9px) translateY(1px) rotate(45deg);
}

@media only screen and (max-width: 500px) {  

  .menu-list {
    text-align: right;
    display: none;
    width: 100%;
    position: absolute;
    top: 90px;
    left: 0;
    padding-right: 15px;
    z-index: 5;
    background-color: rgb(248, 179, 179);
  } 

  .menu-item {
    padding: 9px 0;
  }

  .menu-link {
    font-size: 20px;
    position: relative;
  }
  .menu-link::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #616161;
    opacity: 0;
    right: 0;
    transition: opacity .2s linear;
  }
  .menu-link:hover::after {
    opacity: 1;
  }
  .container {
    display: flex;
  }
  .header-button {
    display: none;
  }

}