/* switching box model for all elements */
/*
* {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
*/
nav
{
	background: rgb(28, 32, 31);
	position: fixed;
	top: 0; left: 0; right: 0;
	margin: 0; padding: 0;
	cursor: pointer;
	opacity:.9;
}
nav ul
{
	/*-webkit-columns: 2;
	-moz-columns: 2;
	columns: 2;
	-webkit-column-rule: 1px solid rgba(255,255,255,.5);
	-moz-column-rule: 1px solid rgba(255,255,255,.5);
	column-rule: 1px solid rgba(255,255,255,.5);*/
	list-style: none;
	background: rgb(28, 32, 31);
	margin: 0; padding: 0;
}
nav a
{
font-family: "Terminal Dosis",Verdana,sans serif;
text-transform: uppercase;
font-size: 24px;
letter-spacing: 4px;
	text-decoration: none;
	display: block;
	padding: 0 1rem;
	height: 5rem; line-height: 5rem;  /* one link = 5rem height */
	color: #fff !important;
	/*-webkit-tap-highlight-color:rgba(0,0,0,0);*/
}
nav a:hover
{
	background: rgba(255,255,255,.05);
	text-decoration: none !important;
}
nav li:not(:nth-child(4n+4)) a
{
	border-bottom: 1px solid rgba(255,255,255,.5);
}

/* styling menu button */	
nav:after
{
	content: "Menu \25BC";
	position: absolute;
	bottom: -3rem; right: 0;
	height: 3rem; line-height: 3rem;
	padding: 0 1rem;
	background: rgb(28, 32, 31);
	color: white;
	border-radius: 0 0 0 12px;
	font-family: "Terminal Dosis",Verdana,sans serif;
	text-transform: uppercase;
	font-size: 18px;
	letter-spacing: 3px;
}

/* And.... Action ! */
#navigation
{
	z-index:999;
	padding-top: 2rem;
	top: -356px;/*-23rem;  number of links +2rem */
	-webkit-transform: translateZ(0); 
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-transition: top .4s cubic-bezier(.72,.89,.28,1.39);
	transition: top .4s cubic-bezier(.72,.89,.28,1.39);
}
#navigation.open-menu
{
	top: -2rem;
}
