.overlay li a {
  display: inline-block;
  position: relative;
  text-align: center;
  color: #FFF;
  text-decoration: none;
  overflow: hidden;
  top: 5px;
  padding-bottom:20px;
}
.button_container {
  position: fixed;
  top: 26px;
  right: 15px;
  height: 27px;
  width: 32px;
  cursor: pointer;
  z-index: 100;
  -webkit-transition: opacity .25s ease;
  transition: opacity .25s ease;
}
.button_container:hover {
  opacity: .7;
}
.button_container.active .top {
  -webkit-transform: translateY(10px) translateX(0) rotate(45deg);
  transform: translateY(10px) translateX(0) rotate(45deg);
  background: #FFF;
}
.button_container.active .middle {
  opacity: 0;
  background: #FFF;
}
.button_container.active .bottom {
  -webkit-transform: translateY(-10px) translateX(0) rotate(-45deg);
  transform: translateY(-10px) translateX(0) rotate(-45deg);
  background: #FFF;
}
.button_container span {
  background: #fff;
  border: none;
  height: 1px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
  cursor: pointer;
}
/*.header-white .button_container span{
  background-color: #000;
}*/
.button_container span:nth-of-type(2) {
  top: 10px;
}
.button_container span:nth-of-type(3) {
  top: 20px;
}

.overlay {
  position: fixed;
  background: #000;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .35s, visibility .35s, height .35s;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
}
.overlay.open {
  opacity: 1;
  visibility: visible;
  height: 100%;
}
.overlay.open li {
  -webkit-animation: fadeInRight .5s ease forwards;
  animation: fadeInRight .5s ease forwards;
  -webkit-animation-delay: .35s;
  animation-delay: .35s;
}
.overlay.open li:nth-of-type(2) {
  -webkit-animation-delay: .4s;
  animation-delay: .4s;
}
.overlay.open li:nth-of-type(3) {
  -webkit-animation-delay: .45s;
  animation-delay: .45s;
}
.overlay.open li:nth-of-type(4) {
  -webkit-animation-delay: .50s;
  animation-delay: .50s;
}
.overlay nav {
  position: relative;
  margin-top:-20px;
  height: 70%;
  max-height:650px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 30px;
  font-style: normal;
  font-weight: 300;
  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: 25%;
  height: calc(100% / 4);
  min-height: 50px;
  position: relative;
  opacity: 0;
}
.overlay ul li a {
  display: block;
  position: relative;
  color: #FFF;
  text-decoration: none;
  overflow: hidden;
  font-weight: 700;
  font-size: 30px;
  font-family: 'Major Mono Display', monospace;
}
.overlay li a:after {
  content: '';
  position: absolute;
  background: #f00;
  height: 1px;
  max-height:1px;
  width: 50px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  left: 50%;
  bottom: 0;
  -webkit-transition: .35s ease;
  transition: .35s ease;
}
.overlay li a:hover:after, 
.overlay li a:focus:after, 
.overlay li a:active:after {
  width: 100%;
}
.overlay ul li a:hover:after, 
.overlay ul li a:focus:after, 
.overlay ul li a:active:after {
  width: 90%;
}

.overlay ul li:nth-child(1) a:hover:after, .overlay ul li:nth-child(1) a:focus:after, .overlay ul li:nth-child(1) a:active:after {width: 54%;}
.overlay ul li:nth-child(2) a:hover:after, .overlay ul li:nth-child(2) a:focus:after, .overlay ul li:nth-child(2) a:active:after {width: 70%;}

.overlay li a:before,
.overlay li a:after {
    position: absolute;
}

@-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;
  }
}

.socials-overlay {
  position:absolute;
  bottom:-75px;
  height:60px;
  width:100%;
  opacity:0;
  z-index:998;
}
.socials-overlay a{
  float: none; display: 
  inline-block;
}
.socials-overlay.open {
  opacity:1;
  -webkit-transition: opacity 3.25s;
  transition: opacity 3.25s;
}

.social-icon-overlay {
  width:auto;
  height:27px;
  padding:0;
  cursor:pointer;
  z-index:999;
  margin: 0 13px;
  float:left; 
}

.header-bg-white .button_container span{
  background-color: #000;
}

