.navBurger {
  position: fixed;
  left: 2%;
  top: 4%;
  cursor: pointer;
  background: #979997;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background-clip: content-box;
  width: 30px;
  height: 24px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  z-index: 100;
}
.navBurger:before, .navBurger:after {
  content: "";
  position: absolute;
  background: #979997;
  height: 2px;
  width: 100%;
  right: 0;
  will-change: rotate;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  z-index: 100;
}
.navBurger:before {
  top: -10px;
}
.navBurger:after {
  bottom: -10px;
  width: 90%;
}
.navBurger.active {
  background: transparent;
  background-clip: content-box;
}
.navBurger.active:before {
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  top: 0;
  background: red;
  width: 110%;
}
.navBurger.active:after {
  bottom: 0;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  background: red;
  width: 110%;
}

.overlay {
  position: fixed;
  background: url(img/menufon.jpg) no-repeat center center;
  background-size: cover;
  /*background: #000;*/
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-transform-origin: right top;
          transform-origin: right top;
  -webkit-transform: scale(0);
          transform: scale(0);
  visibility: hidden;
/*  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;*/
  overflow: hidden;
  z-index: 2;
}
.overlay.open {
  opacity: .99;
  visibility: visible;
  -webkit-transform: scale(1);
          transform: scale(1);
}
.overlay.open li {
  display: block;
  /*text-align: right;*/
  text-align:left;
  -webkit-animation: fadeInRight 0.4s cubic-bezier(0.42, 0.83, 0.7, 1.5) forwards;
          animation: fadeInRight 0.4s cubic-bezier(0.42, 0.83, 0.7, 1.5) forwards;
  -webkit-animation-delay: .4s;
          animation-delay: .4s;
  -webkit-transform: rotate(-7deg);
          transform: rotate(-7deg);
/*  -webkit-transform-origin: right bottom;
          transform-origin: right bottom;*/
}
/*.overlay.open li:nth-of-type(2) {
  -webkit-animation-delay: .5s;
          animation-delay: .5s;
}
.overlay.open li:nth-of-type(3) {
  -webkit-animation-delay: .6s;
          animation-delay: .6s;
}
.overlay.open li:nth-of-type(4) {
  -webkit-animation-delay: .7s;
          animation-delay: .7s;
}
.overlay.open li:nth-of-type(5) {
  -webkit-animation-delay: .8s;
          animation-delay: .8s;
}*/

.overlayMenu {
  position: absolute;
  /*text-align: right;*/
  /*right: 10vw;*/
  /*bottom: 30vw;*/
  margin-top: 10%;
}
.overlayMenu ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: block;
  position: relative;
  height: 100%;
  margin-left: 50px;
}
.overlayMenu ul li {
  display: block;
  position: relative;
  opacity: 0;
  width: 100%;
}
.overlayMenu ul li a {
  display: inline-block;
  /*border: 2px solid #fff;*/
  color: #2D2E55;
  text-decoration: none;
  text-align: left;
  
  font-size: 80px !important;
  /*padding: 3px 5px 3px 5px;*/
  font-family: 'Staatliches', cursive;
 -webkit-transition: .8s;
  transition: ease-in-out .8s;
}
.overlayMenu ul li a:hover {

  color: #c0a97a;
  -webkit-transition: .8s;
  transition: ease-in-out .8s;
}
/*.overlayMenu ul li a:hover, .overlayMenu ul li a:active, .overlayMenu ul li a:focus {
  -webkit-transform: translateX(-2px);
          transform: translateX(-2px);
  padding-left: 80px;
  outline: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.03);
}
*/
.locked {
  overflow: hidden;
}

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 50px;
  }
  100% {
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 50px;
  }
  100% {
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}


@media screen and (max-width: 550px){
  .overlayMenu ul li a {
  display: inline-block;
  /*border: 2px solid #fff;*/
  color: #2D2E55;
  text-decoration: none;
  /*text-align: right;*/
  
  font-size: 60px !important;
  /*padding: 3px 5px 3px 5px;*/
  font-family: 'Staatliches', cursive;
 -webkit-transition: .8s;
  transition: ease-in-out .8s;
}
}















