
@media (max-width:640px) {

	.i-wrapper {
		display: block;
	}

	.grid {
		position: fixed;
	}

	.front {
		position: relative;
		top: 50vh;
    	overflow: visible;
	}
}

@media (min-width:641px) {

	.i-wrapper {
		display: flex;
	}

	.grid {
		position: absolute;
	}

	.front {

	}
}

@font-face {
	font-family: Proxima Nova Rg;
	src: url('/font/proximanova_black.otf');
} 

body {
	font-family: sans-serif;
	margin: 0px;
}

.leog_menu {
	color: #000;
	background-color: #803;
}

.grid {

	margin-top: 0px;

	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 1;
}

.grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;

	transition-property: opacity;
	transition-duration: 2s;
}

.cell {
	width: 100dp;
	height: 100dp;
	background-color: #eee;
	border: 1px solid #ccc;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.controls {
	margin-bottom: 20px;
}

.controls label {
	margin-right: 10px;
}


.i-wrapper {
	width: 100%;
	height: 100%;
	text-rendering: optimizeLegibility;

	box-sizing: border-box;
	position: absolute;
	top: 0;
	left: 0;
}

.front {
	display: flex;
	justify-content: center;
	flex-direction: column;
	width: 100%;
	z-index: 2;

}

.i2 {
	padding: 40px 60px 60px 60px;
	background-color: #fff;
	opacity: 1;
}

.i3 {
	display: inline-block;
}

.d1 {
	margin-bottom: 30px;
}

.t1 {
	font-family: 'Comfortaa', sans-serif;
	xfont-family: 'Proxima Nova Rg', sans-serif;
	font-weight: 700;
	font-style: Bold;
	font-size: 52px;
	text-transform: uppercase;
	letter-spacing: .14em;
}

.d2 {
	max-width: 500px;
}

.t2 {
	font-family: 'Comfortaa', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 14px;
	line-height: 1.4em;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: #222;
}

.d3 {
	display: inline-block;
}

.d3 ul {

	margin: 0;
	padding: 0;
	line-height: 1em;

	font-family: "Comfortaa", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: .14em;

	xpadding-left: .6em;
	padding-right: .6em;
	padding-top: .8em;
	padding-bottom: .8em;
}

.d3 li {
	display: inline-block;
	list-style: none;
}

.d3 ul li a {
	transition: color 100ms ease-in-out;
	color: #ff0d00;
	display: block;
	text-decoration: none;

	padding-right: 1.0em;
	padding-top: .8em;
	padding-bottom: .8em;
}