
.hamburger-menu{
    position: absolute;
    display: inline-block;
    height: 24px;
    /* width: 24px; */
    right: 10px;
    top: 15px;
    background-color: transparent;
    border: none;
    z-index: 1001;
}
.hamburger-menu span{
    display: block;
    height: 3px;
    width: 24px;
    background-color: white;
    margin-bottom: 6px;
    border-radius: 2px;
    opacity: 1;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
.hamburger-menu.open span{
    opacity: 0;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
.hamburger-menu.open span:first-of-type{
    margin-top: 10px;
    transform: rotate(-45deg);
    opacity: 1;
}
.hamburger-menu.open span:last-of-type{
    transform: rotate(45deg);
    margin-top: -18px;
    opacity: 1;
}
#menu{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 100%;
    height: 100vh;
    width: 100vw;
    background: #314E8C;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
    opacity: 0;
    z-index: 1000;
}
#menu.open{
    left: 0%;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
    opacity: 1;
    background: #222;
}

#menu .menu-wrapper {
    height: 100%;
    color: white;
    padding: 10px;
}

#menu ul {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    text-align: center;
}
#menu ul li{
    position: relative;
    color: white;
    list-style: none;
    line-height: 2em;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}
#menu.open ul li{
    color: red;
}

#menu ul li:nth-of-type(1){
    left: 200%;
    opacity: 0;
}
#menu.open ul li:nth-of-type(1){
    left: 0%;
    transition-delay: 0s;
    opacity: 1;
}
#menu ul li:nth-of-type(2){
    left: 200%;
    opacity: 0;
}
#menu.open ul li:nth-of-type(2){
    left: 0%;
    transition-delay: .1s;
    opacity: 1;
}
#menu ul li:nth-of-type(3){
    left: 200%;
    opacity: 0;
}
#menu.open ul li:nth-of-type(3){
    left: 0%;
    transition-delay: .2s;
    opacity: 1;
}
#menu ul li:nth-of-type(4){
    left: 200%;
    opacity: 0;
}
#menu.open ul li:nth-of-type(4){
    left: 0%;
    transition-delay: .3s;
    opacity: 1;
}
#menu ul li:nth-of-type(5){
  left: 200%;
  opacity: 0;
}
#menu.open ul li:nth-of-type(5){
  left: 0%;
  transition-delay: .4s;
  opacity: 1;
}
#menu ul li:nth-of-type(6){
  left: 200%;
  opacity: 0;
}
#menu.open ul li:nth-of-type(6){
  left: 0%;
  transition-delay: .5s;
  opacity: 1;
}

/* animate */
@-webkit-keyframes bounceInRight {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  from {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0) scaleX(3);
    transform: translate3d(3000px, 0, 0) scaleX(3);
    left: -100%;
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0) scaleX(1);
    transform: translate3d(-25px, 0, 0) scaleX(1);
  }

  75% {
    -webkit-transform: translate3d(10px, 0, 0) scaleX(0.98);
    transform: translate3d(10px, 0, 0) scaleX(0.98);
  }

  90% {
    -webkit-transform: translate3d(-5px, 0, 0) scaleX(0.995);
    transform: translate3d(-5px, 0, 0) scaleX(0.995);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    left: 0px;
  }
}
@keyframes bounceInRight {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  from {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0) scaleX(3);
    transform: translate3d(3000px, 0, 0) scaleX(3);
    left: -100%;
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0) scaleX(1);
    transform: translate3d(-25px, 0, 0) scaleX(1);
  }

  75% {
    -webkit-transform: translate3d(10px, 0, 0) scaleX(0.98);
    transform: translate3d(10px, 0, 0) scaleX(0.98);
  }

  90% {
    -webkit-transform: translate3d(-5px, 0, 0) scaleX(0.995);
    transform: translate3d(-5px, 0, 0) scaleX(0.995);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    left: 0%;
  }
}