@charset "UTF-8";
/* Scss Document */

@import url(https://fonts.googleapis.com/css?family=Vollkorn|Roboto);
body {
  /* background: #F5F5F5; */
}

.button_container {
  position: fixed;
  top: 18px;
  right: 20px;
  height: 27px;
  width: 34px;
  cursor: pointer;
  z-index: 2000;
  transition: opacity .25s ease;
}
.button_container:hover {
  opacity: 1;
}
.button_container.active .top {
  -webkit-transform: translateY(7px) translateX(0) rotate(35deg);
  transform: translateY(7) translateX(0) rotate(35deg);
  background: #6a5d76;
}
.button_container.active .middle {
  opacity: 0;
  background: #FFF;
}
.button_container.active .bottom {
  -webkit-transform: translateY(-7px) translateX(0) rotate(-35deg);
  transform: translateY(-7px) translateX(0) rotate(-35deg);
  background: #6a5d76;
}
.button_container span {
  background: #233280;
  border: none;
  height: 2px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all .35s ease;
  cursor: pointer;
}
.button_container span:nth-of-type(2) {
  top: 7px;
}
.button_container span:nth-of-type(3) {
  top: 14px;
}

.overlay {
  position: fixed;
  background: #e9edff;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s, visibility .45s, height .45s;
  overflow: hidden;
}
.overlay.open {
  opacity: 1;
  visibility: visible;
  height: 100%;
  z-index: 50;
}
.overlay.open li {
  -webkit-animation: fadeInDown .6s ease forwards;
          animation: fadeInDown .6s ease forwards;
  -webkit-animation-delay: .45s;
          animation-delay: .45s;
}
.overlay.open li:nth-of-type(2) {
  -webkit-animation-delay: .5s;
          animation-delay: .5s;
}
.overlay.open li:nth-of-type(3) {
  -webkit-animation-delay: .55s;
          animation-delay: .55s;
}
.overlay.open li:nth-of-type(4) {
  -webkit-animation-delay: .60s;
          animation-delay: .60s;
}
.overlay.open li:nth-of-type(5) {
  -webkit-animation-delay: .65s;
          animation-delay: .65s;
}
.overlay.open li:nth-of-type(6) {
  -webkit-animation-delay: .7s;
          animation-delay: .7s;
}
.overlay.open li:nth-of-type(7) {
  -webkit-animation-delay: .75s;
          animation-delay: .75s;
}
.overlay nav {
  position: relative;
  height: 70%;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 50px;
  font-family: 'Vollkorn', serif;
  font-weight: 400;
  text-align: center;
}
.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 100%;
}
.overlay ul li {
  display: block;
  height: 22%;
  height: calc(100% / 8);
  min-height: 45px;
  position: relative;
  opacity: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 2.0px;
  /* font-family: "Times","Times New Roman", Times, "serif"; */
  /* text-transform: uppercase; */
}
.overlay ul li a {
  display: block;
  position: relative;
  color: #474846;
  text-decoration: none !important;
  overflow: hidden;
  padding: 10px;
  backface-visibility: hidden;
}
.overlay ul li a:hover,
.overlay ul li a:focus {color: #ccc;}

/*a:hover, a:focus, a:visited:hover, a:visited:focus*/

 

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    bottom: 20%;
  }
  100% {
    opacity: 1;
    bottom: 0;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    bottom: 20%;
  }
  100% {
    opacity: 1;
    bottom: 0;
  }
}

/*@media (min-width:640px) {
    .button_container {top: 67px;right: 50px;height: 17px;width: 40px;}
    .button_container span:nth-of-type(2) {top: 8px;}
    .button_container span:nth-of-type(3) {top: 16px;}
    .button_container.active .top {
    -webkit-transform: translateY(7px) translateX(0) rotate(35deg);
    transform: translateY(7px) translateX(0) rotate(35deg);
    background: #85909b;
    }
    .button_container.active .bottom {
    -webkit-transform: translateY(-9px) translateX(0) rotate(-35deg);
    transform: translateY(-9px) translateX(0) rotate(-35deg);
    background-color: #85909b;
    }
    .overlay nav {height: 250px;}
    .overlay ul li {
    font-size: 1.25rem;
    min-height: 50px;
}
    .overlay ul li a {padding: 10px;}
    .overlay ul li a:hover,
    .overlay ul li a:focus {color: #333;}
    
    .overlay ul li a:after {
      content: '';
      position: absolute;
      bottom: 27px;
      left: 0;
      width: 0;
      height: 1px;
      background: #85909b;
      transition: .35s;
      line-height: 1px;
    }
    .overlay ul li a:hover:after,
    .overlay ul li a:focus:after {
      width: 100%;
      -webkit-transform: translateX(0);
      transform: translateX(0);
    }
}*/

@media (min-width: 767px) {
	.button_container {display: none;}
}
