.menu {
    position: fixed;
    top: -150%;
}
.menu ul li a{
    font-family: "Montserrat-Regular";
    font-size: 24px;
    line-height: 120%;
    text-transform: uppercase;
    color: #FFFFFF;
    text-decoration: none;
}
.menu ul li {
  margin-bottom: 32px;
  text-align: center;
}
.menu.open-menu {
  overflow: hidden;
}
.open-menu
{
  padding-top: 500px;
  padding-bottom: 223px;
  display: flex;
  justify-content: center;
  max-width: 100%;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  z-index: 9;
  background: rgba(0, 0, 0, 1);
  -webkit-animation: burger-open 0.3s linear;
  -webkit-animation-fill-mode: forwards;
  animation: burger-open 0.3s linear;
  animation-fill-mode: forwards;
}
.menuHeader {
  display: none;
}
.menuSocialNetworks {
  display: none;
  margin-bottom: 32px;
}
.menuSocialNetworks a {
  width: 35px;
  height: 35px;
  background: #FAE996;
  border-radius: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menuSocialNetworks a:nth-of-type(1) {
  margin-right: 16px;
}
@-webkit-keyframes burger-open {
    0% {
        top: -100%;
    }
    100% {
        top: 0%;
    }
}
@keyframes burger-open {
    0% {
        top: -100%;
    }
    100% {
        top: 0%;
    }
}
.birger-button  span {
    display: block;
    width: 30px;
    border-radius: 3px;
    height: 2px;
    background: #fff;
    transition: all .3s;
    position: relative;
    margin: 0 auto;
}
.birger-button  span:nth-of-type(1) {
    margin-bottom: 6px;
}
.birger-button  span:nth-of-type(2) {
    margin-bottom: 6px;
    width: 30px;
}
.menu.open-menu {
    flex-direction: column;
    overflow-y: scroll;
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
}
.active span:nth-child(1) {
    animation: ease .7s top forwards;
}
.not-active span:nth-child(1) {
    animation: ease .7s top-2 forwards;
}
.active span:nth-child(2) {
    animation: ease .7s scaled forwards;
}
.not-active span:nth-child(2) {
    animation: ease .7s scaled-2 forwards;
}
.active span:nth-child(3) {
    animation: ease .7s bottom forwards;
}
.not-active span:nth-child(3) {
    animation: ease .7s bottom-2 forwards;
}
@keyframes top {
    0% {
      top: 0;
      transform: rotate(0);
    }
    50% {
      top: 5px;
      transform: rotate(0);
    }
    100% {
      top: 5px;
      transform: rotate(45deg);
    }
}
@keyframes top-2 {
    0% {
      top: 22px;
      transform: rotate(45deg);
    }
    50% {
      top: 22px;
      transform: rotate(0deg);
    }
    100% {
      top: 0;
      transform: rotate(0deg);
    }
  }  
@keyframes bottom {
    0% {
      bottom: 0;
      transform: rotate(0);
    }
    50% {
      bottom: 10px;
      transform: rotate(0);
    }
    100% {
      bottom: 10px;
      transform: rotate(135deg);
    }
  } 
@keyframes bottom-2 {
    0% {
      bottom: 22px;
      transform: rotate(135deg);
    }
    50% {
      bottom: 22px;
      transform: rotate(0);
    }
    100% {
      bottom: 0;
      transform: rotate(0);
    }
  }
@keyframes scaled {
    50% {
      transform: scale(0);
    }
    100% {
      transform: scale(0);
    }
  }
@keyframes scaled-2 {
    0% {
      transform: scale(0);
    }
    50% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
}
@media (max-width: 768px) {
.menu.open-menu {
    padding-top: 300px;
    padding-bottom: 50px;
  }
}
@media (max-width: 576px) {
.menu {
  padding-left: 0;
  padding-top: 0;
  align-items: flex-start;
  background: #242424;
  backdrop-filter: blur(10px);
  justify-content: flex-start;
  max-width: 100%;
  box-sizing: border-box;
}
.menu.open-menu {
  padding-top: 100px !important;
  overflow-x: hidden;
}
.menu ul li{
  text-align: left;
}
.menuHeader {
  display: none !important;
  width: 100%;
  backdrop-filter: blur(25px);
  background: #2E2E2C;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  position: relative;
}
.box-container {
  top: 23px;
  right: 16px;
}
.menuSocialNetworks {
  display: flex;
  padding-left: 68px;
  margin-top: 40px;
}
.menu ul {
  padding-left: 68px;
}
.menu {
  top: -200%;
}
}
@media (max-width: 320px) {
.menuSocialNetworks {
  padding-left: 16px;
}
.menu ul {
  padding-left: 16px;
}
.menuHeader {
  padding: 21px 16px;
}
} 

