
@import url('https://fonts.googleapis.com/css?family=Dosis');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display+SC');
body {
  background-color: #fff
}

#menu,
.home {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  right: 0;
}
.logo {
  position: absolute;
  z-index: 1;
 
}
.logo img {
  height: 80px;
  padding: 5px 5px;
}

/* ====================================
Navigation 
==================================== */

.overlay-navigation {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: hsla(100, 100%, 100%, 0.95);
  transform: translateX(-100%);
}

.overlay-slide-down {
  transition: all .4s ease-in-out;
  transform: translateX(0)
}

.overlay-slide-up {
  transition: all .8s ease-in-out;
  transform: translateX(100%)
}
/* ====================================
Nav items 
==================================== */

#menu.open li:nth-child(1) {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s;
}
#menu.open li:nth-child(2) {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}
#menu.open li:nth-child(3) {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}
#menu.open li:nth-child(4) {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}
#menu.open li:nth-child(5) {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}
#menu.open li:nth-child(6) {
  -webkit-animation-delay: 0.6s;
          animation-delay: 0.6s;
}
#menu.open li:nth-child(7) {
  -webkit-animation-delay: 0.7s;
          animation-delay: 0.7s;
}
#menu.open li:nth-child(8) {
  -webkit-animation-delay: 0.8s;
          animation-delay: 0.8s;
}
#menu.open li:nth-child(9) {
  -webkit-animation-delay: 0.9s;
          animation-delay: 0.9s;
}
#menu.open li:nth-child(10) {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
#menu.open li {
  -webkit-animation-duration: 1.0s;
          animation-duration: 1.0s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-name: fadeInUp;
          animation-name: fadeInUp;
}
#menu ul:hover a {
  opacity: 0.5;
}
#menu ul a {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  transition: opacity 0.3s ease-in-out;
}
#menu ul a:hover {
  opacity: 1;
}
#menu .main-nav {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
#menu .main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#menu .main-nav a {
  font-family: "Bebas Neue", sans-serif;
  display: block;
  font-size: 1.6rem;
  
  padding: 1rem 1rem;

  text-align: center;

}
#menu .main-nav a:first {
  padding-top: 0;
}

/* ====================================
Burger king
==================================== */

.open-overlay {
  position: fixed;
  right: 5rem;
  top: 2.2rem;
  z-index: 100;
  width: 34px;
  display: block;
  cursor: pointer;
}
.text-menu {
  position: absolute;
  right: 3.2rem;
  top: -3px;
  z-index: 100;
  display: block;
  cursor: pointer;
}
.text-menu h1 {
  font-size: 1.5rem;
  margin-top: 8px;
  text-transform: lowercase;
}


.open-overlay span {
  display: block;
  height: 1px;
  background-color: #0A437C;
  cursor: pointer;
  margin-top: 8px;
}

.animate-top-bar {
  animation: animate-top-bar .6s linear 1 both
}

.animate-bottom-bar {
  animation: animate-bottom-bar .6s linear 1 both
}

.animate-middle-bar {
  animation: animate-middle-bar .6s linear 1 both
}

.animate-out-top-bar {
  animation: animate-out-top-bar .6s linear 1 both
}

.animate-out-bottom-bar {
  animation: animate-out-bottom-bar .6s linear 1 both
}

.animate-out-middle-bar {
  animation: animate-out-middle-bar .6s linear 1 both
}


/* ====================================
Animation keyframes
==================================== */



@keyframes animate-top-bar {
  0% {
    background-color: #fff;
  }
  50% {
    -webkit-transform: Y(9px);
    transform: translateY(9px)
  }
  80% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    background-color: #fff
  }
  100% {
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
    background-color: #29363B;
  }
}

@keyframes animate-bottom-bar {
  0% {
    background-color: #fff;
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px)
  }
  80% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #fff;
  }
  100% {
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
    background-color: #29363B;
  }
}

@keyframes animate-middle-bar {
  0% {
    background-color: #fff;
  }
  80% {
    background-color: #fff;
  }
  100% {
    background-color: #29363B;
  }
}

@keyframes animate-out-top-bar {
  0% {
    background-color: #fff;
  }
  50% {
    -webkit-transform: translateY(9px);
    transform: translateY(9px)
  }
  80% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    background-color: #fff;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #000;
  }
}

@keyframes animate-out-bottom-bar {
  0% {
    background-color: #fff;
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px)
  }
  80% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #fff;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #000;
  }
}

@keyframes animate-out-middle-bar {
  0% {
    background-color: #fff
  }
  80% {
    background-color: #fff;
  }
  100% {
    background-color: #000;
  }
}
.home a{
  position: absolute;
  z-index: 10;
  top:15px;
  left:50px;
  padding-bottom: 3px;
}
@media only screen and (max-width: 850px) and (orientation: landscape) {
  #menu .main-nav a {
    font-size: 1rem;
  }
  
  .open-overlay {
    right: 1rem;
  }
  nav li a:before {
    width: 15px;
  }
  .home a{
    
    top:5px;
    left:15px;
    padding-bottom: 10px;
  }
  .open-overlay {
   
    right: 1rem;
    top: 1.2rem;
    z-index: 100;
    width: 34px;
    display: block;
    cursor: pointer;
  }
}
@media (max-width: 640px) {
  #menu .main-nav a {
    font-size: 1.5rem;
  }
  
  .open-overlay {
    right: 1rem;
  }
  nav li a:before {
    width: 15px;
  }
  .home a{
    
    top:5px;
    left:15px;
    padding-bottom: 10px;
  }
  .open-overlay {
   
    right: 1rem;
    top: 1.2rem;
    z-index: 100;
    width: 34px;
    display: block;
    cursor: pointer;
  }
}
