
input.menu {
  display:none;
}

img.menu-icon {
	height: 25px;
	width: 25px;
}

.lower label{
  font-family: 'Source Code Pro';
  font-size:1em;
  text-align:center;
}

.lower label:hover{
  cursor:pointer;
}

.overlay{
	position: fixed;
	width: 100%;
	height: 100%;
	background: #1D1E1C;
	overflow: scroll;
	top: 0;
	left: 0;
	overscroll-behavior: contain;
}

.overlay label{
	width: 20px;
	height: 20px;
	position: absolute;
	right: 20px;
	top: 20px;
	background: url('/assets/cancel.svg');
	;
	z-index: 100;
  cursor:pointer;
}


.overlay nav {
	text-align: center;
	position: relative;
	top: 50%;
	/*height: 70%;*/
	font-size: 120%;
	-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;
}

.overlay ul li.submenu > a {
	font-size: 80%;
	font-family: 'Source Sans Pro';
  	font-weight: 300;
  	text-decoration:none;
  	color: white;
  	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	border-bottom: none !important;
	padding-top: 0.8em;
}

.overlay ul li.mainmenu > a {
	display: block;
	color: white;
  text-decoration:none;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
  font-family: 'Source Sans Pro';
  font-weight: 900;
  border-bottom: none !important;
  /*min-height: 2em;*/
  padding-bottom: 1.5em;
}

.overlay ul li.mainmenu > a > small {
	font-weight: 300;
}

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

.lower~.overlay-hugeinc{
	opacity: 0;
	visibility: hidden;
	-webkit-transition: opacity 0.5s, visibility 0s 0.5s;
	transition: opacity 0.5s, visibility 0s 0.5s;
}

#op:checked~.overlay-hugeinc{
	opacity: 1;
	visibility: visible;
	-webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
}

.overlay-hugeinc nav {
	-moz-perspective: 300px;
}

.overlay-hugeinc 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;
}

#op:checked~.overlay-hugeinc nav ul {
	opacity: 1;
	-webkit-transform: rotateX(0deg);
	transform: rotateX(0deg);
}

#op:not(:checked)~.overlay-hugeinc nav ul {
	-webkit-transform: translateY(25%) rotateX(-35deg);
	transform: translateY(25%) rotateX(-35deg);
}

nav .language {
	color: white;
	font-size: 0.8rem;
	font-family: 'Source Code Pro';
	margin-top: 20px;
	font-weight: 600;
}

nav .language > a {
	color: white;
	border-bottom: transparent;
}

nav .language > a:hover {
	color: #ccc;
}