@import url(http://fonts.googleapis.com/css?family=Lato:300,400,500,600);

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.clearfix:before, .clearfix:after { content: ''; display: table; }
.clearfix:after { clear: both; }

body {
	background: #fff;
	color: #8a8c7e;
	font-size: 100%;
	line-height: 1.25;
	font-family: 'Lato', Arial, sans-serif;
}

a {
	color: #99cc33;
	text-decoration: none;
	outline: none;
}

a:hover, a:focus {
	color: #373e18;
}

/*-- temporary stuff --*/

.cover {
	position: absolute;
	z-index:-1;

}

.fullscreen {
	position:absolute;
	z-index:0;
	width:100%;
	height:100%;
}



/*-- menu select --*/

section {
	padding: 10px;
	text-align: left;
	font-size: 1.5em;
	z-index:99;
}

section p {
	max-width: 600px;
	left: 40px;
}

section button {
	display: inline-block;
	background: rgba(0,0,0,0.1);
	color: black;
	font-weight: 400;
	margin-top: 20px;
	margin-left: -14px;
	border: none;
	outline: none;
	padding: 10px 15px;
	text-transform: uppercase;
	border-radius: 2px;
	letter-spacing: 1px;
	z-index: 99;
}


section button b {
	display: inline-block;
	background: rgba(0,0,0,0);
	color: white;
	font-weight: 400;
	margin-top:25px;
	margin-left:20px;
	border:none;
	outline: none;
	padding: 15px 30px;
	text-transform: uppercase;
	border-radius: 2px;
	letter-spacing: 1px;
	z-index:99;
}






/* Overlay style */
.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.9);
}

/* Overlay closing cross */
.overlay .overlay-close {
	width: 30px;
	height: 30px;
	position: absolute;
	left: 197px;
	top: 44px;
	overflow: hidden;
	border: none;
	background: url(../img/cross.png) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100;
}

/* Menu style */
.overlay nav {
	text-align: center;
	position: relative;
	top: 60%;
	height: 60%;
	font-size: 54px;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	height: 100%;
	position: relative;
}

.overlay ul li {
	display: block;
	height: 20%;
	min-height: 54px;
}

.overlay ul li a {
	font-weight: 600;
	display: block;
	color: #fff;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
	color: red;
}

/* Effects */
.overlay-1 {
	opacity: 0;
	visibility: hidden;
	-webkit-transition: opacity 0.5s, visibility 0s 0.5s;
	transition: opacity 0.5s, visibility 0s 0.5s;
}

.overlay-1.open {
	opacity: 1;
	visibility: visible;
	-webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
}

.overlay-1 nav {
	-webkit-perspective: 1200px;
	perspective: 1200px;
}

.overlay-1 nav ul {
	opacity: 0.4;
	-webkit-transform: translateY(-25%) rotateX(35deg);
	transform: translateY(-25%) rotateX(35deg);
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
}

.overlay-1.open nav ul {
	opacity: 1;
	-webkit-transform: rotateX(0deg);
	transform: rotateX(0deg);
}

.overlay-1.close nav ul {
	-webkit-transform: translateY(25%) rotateX(-35deg);
	transform: translateY(25%) rotateX(-35deg);
}

@media screen and (max-height: 30.5em) {
	.overlay nav {
		height: 70%;
		font-size: 34px;
	}
	.overlay ul li {
		min-height: 34px;
	}
}
