

/* CONTAINTER */

.container {
  position: absolute;
  width: 100%;
  heigh: 100%;
  text-align: center;
  top: 40%;
  left: 0;
  margin: 0 auto;
}
.container p { }
.container a {
  display: inline-block;
  position: relative;
  text-align: center;
  color: #FF5252;
  text-decoration: none;
  overflow: hidden;
  top: 5px;
}
.container a:after {
  content: '';
  position: absolute;
  background: #FF5252;
  height: 2px;
  width: 0%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  left: 50%;
  bottom: 0;
  transition: .35s ease;
}
.container a:hover:after {
  width: 100%;
}



/* BURGER */

.button_container {
	position: 	absolute;
	height: 	27px;
	width: 		35px;
	cursor: 	pointer;
	transition: opacity .25s ease;
}

/* BURGER: HOVER 
.button_container:hover .top {
	top: -2px;
 }
 .button_container:hover .bottom{
	top: 22px;
 }*/


.button_container.active .top {
  -webkit-transform: translateY(10px) translateX(0) rotate(45deg);
          transform: translateY(10px) translateX(0) rotate(45deg);
  background: var(--color1);
}
.button_container.active .middle {
  opacity: 0;
  background: var(--color1);
}
.button_container.active .bottom {
  -webkit-transform: translateY(-10px) translateX(0) rotate(-45deg);
          transform: translateY(-10px) translateX(0) rotate(-45deg);
  background: var(--color1);
}
.button_container span {
	background: 	var(--color1);
	border: 		none;
	height: 		3px;
	width: 			100%;
	position: 		absolute;
	top: 			0px;
	left: 			0;
	transition: 	all .35s ease;
	cursor: 		pointer;
}
.button_container span:nth-of-type(2) {
	top: 			10px;
}
.button_container span:nth-of-type(3) {
  	top: 			20px;
}
.button_container span.invers{
	background: 	#FFF;
}


/* BACKGROUND */

.overlay {
	position: 		fixed;
	top: 			0;
	left: 			0;
	width: 			100%;
	height: 		100%;
	opacity: 		1;
	visibility: 	hidden;
	transition: 	opacity .35s, visibility .35s, width .35s;
	z-index: 		50;
}

/* BACKGROUND: LEFT */
.overlay:before {
	content: '';
	background: 	#FFF;
	left: 			-55%;
	top: 			0;
	width: 			50.5%;
	height: 		100%;
	position: 		absolute;
	transition: 	left .35s ease;
}

/* BACKGROUND: RIGHT */
.overlay:after {
	content: 		'';
	background: 	var(--color1);
	right:			-55%;
	top: 			0;
	width: 			49.5%;
	height: 		100%;
	position: 		absolute;
	transition: 	all .35s ease;
}


/* BACKGROUND: OPEN */

.overlay.open {
	opacity: 	1;
	visibility: visible;
	height: 	100%;
}
.overlay.open:before {
  	left: 		0;
}
.overlay.open:after {
  	right: 		0;
    opacity:	0.95;
}
.overlay.open li,
.overlay.open .lang,
.overlay.open .social{
  -webkit-animation: fadeInRight .5s ease forwards;
          animation: fadeInRight .5s ease forwards;
  -webkit-animation-delay: .15s;
          animation-delay: .15s;
}
.overlay.open li:nth-of-type(2) {
  -webkit-animation-delay: .25s;
          animation-delay: .25s;
}
.overlay.open li:nth-of-type(3) {
  -webkit-animation-delay: .35s;
          animation-delay: .35s;
}
.overlay.open li:nth-of-type(4) {
  -webkit-animation-delay: .45s;
          animation-delay: .45s;
}
.overlay.open li:nth-of-type(5) {
  -webkit-animation-delay: .50s;
          animation-delay: .50s;
}
.overlay.open li:nth-of-type(6) {
  -webkit-animation-delay: .60s;
          animation-delay: .60s;
}
.overlay.open li:nth-of-type(7) {
  -webkit-animation-delay: .65s;
          animation-delay: .65s;
}
.overlay.open .lang,
.overlay.open .social {
  -webkit-animation-delay: .75s;
          animation-delay: .75s;
}



/* NAV BUTTONS */
.overlay nav {
	position: 		relative;
	height: 		65%;
	top: 			20%;
	width:			35%;
	left: 			9vw;
	/*
	-webkit-transform: translateY(-50%);
			transform: translateY(-50%);
	*/		  
	text-align: 	left;
	z-index: 		100;
	/*border: 		solid 1px #FF0;*/
}
.overlay ul {
	list-style: 	none;
	padding: 		0;
	margin:			0 auto;
	display: 		inline-block;
	position: 		relative;
	height: 		100%;
}
.overlay ul li {
	display:		block;
	height: 		12%;
	/*height: 		calc(100% / 7);*/
	min-height: 	50px;
	position: 		relative;
	opacity: 		0;
	/*border: 		solid 1px #F00;*/
}
.overlay ul li a {
	display: 		inline-block;
	position: 		relative;
	/*overflow: 		hidden;*/
}
.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
	/*width: 100%;*/
}
.overlay ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  /*left: 50%;
  width: 0%;

  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  
  height: 3px;*/
  background: #FFF;
  transition: .35s;
}

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



/* LANGUAGES + SOCIAL */

.overlay .lang{
	display:	block;
	width:		40%;
	float: 		left;	
	opacity: 	0;
}
.overlay .social{
	display:	block;
	width:		60%;
	text-align: left;
	float: 		left;
	opacity: 	0;
	
	/*border: 	solid 1px #F0C;*/
}
