@font-face {
	font-family: MPREG;
	src: url("../assets/fonts/MP16REG.ttf");
}

@font-face {
	font-family: Upheaval;
	src: url("../assets/fonts/UpheavalPro.ttf");
}

html, body
{
	background: #bfa09b;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	font-family: MPREG, 'Press Start 2P', cursive;
	font-size: 24px;
}

.wrapper
{
	width: 800px;
	margin: 0 auto;
}

.banner
{
	position: relative;
	width: 100%;
	height: 720px;
	min-height: 480px;
	max-height: 100%;
	float: left;
	display: block;
	overflow: hidden;
	background: #000;

	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;

	cursor: default;
}

.banner .video-container
{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	clip: rect(auto, auto, auto, auto);
	background: url("../assets/images/bannerbg.jpg") no-repeat center center;
	background-size: cover;
}

.banner video
{
	position: fixed;
	left: 50%;
	top: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;

	/*-webkit-filter: blur(5px);
	-moz-filter: blur(5px);
	-o-filter: blur(5px);
	-ms-filter: blur(5px);
	filter: blur(5px);*/
}

@-webkit-keyframes title_bounce
{
	0%		{ transform: translate(-50%,-50%)	rotate(20deg)		scale(1.3); }
	25%		{ transform: translate(-50%,-50%)	rotate(00deg)		scale(1.0); }
	50%		{ transform: translate(-50%,-50%)	rotate(-20deg)		scale(1.3); }
	75%		{ transform: translate(-50%,-50%)	rotate(00deg)		scale(1.0); }
	100%	{ transform: translate(-50%,-50%)	rotate(20deg)		scale(1.3); }
}
@keyframes title_bounce
{
	0%		{ transform: translate(-50%,-50%)	rotate(20deg)		scale(1.3); }
	25%		{ transform: translate(-50%,-50%)	rotate(00deg)		scale(1.0); }
	50%		{ transform: translate(-50%,-50%)	rotate(-20deg)		scale(1.3); }
	75%		{ transform: translate(-50%,-50%)	rotate(00deg)		scale(1.0); }
	100%	{ transform: translate(-50%,-50%)	rotate(20deg)		scale(1.3); }
}


.banner .title
{
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);

	font-weight: bold;
	text-transform: uppercase;
	color: #fff;
	font-size: 8em;
	text-shadow: -16px 0 #2f2d39, 0 16px #2f2d39, 16px 0 #2f2d39, 0 -16px #2f2d39, 0 0 256px #fff;
	text-align: center;

	-webkit-animation: title_bounce 2.5s infinite cubic-bezier(0.1, 0.7, 0.1, 0.7);
	animation: title_bounce 2.5s infinite cubic-bezier(0.1, 0.7, 0.1, 0.7);
}

.media
{
	position: relative;
	background: #2f2d39;
	margin-top: -150px;
	float: left;
	width: 100%;
	padding: 160px 20px 40px 20px;
	box-sizing: border-box;

	background: url("../assets/images/backdrop.png") top center repeat-x;
}

.media .video
{
	width: 100%;
	float: left;
	margin-bottom: 20px;
}

.media .gif
{
	margin-top: 20px;
	width: 50%;
	float: left;
	display: inline;
	transition: transform 0.2s;
	cursor: pointer;
}

.media .gif.a { transform: rotate(-5deg); }
.media .gif.b { transform: rotate(4deg); }
.media .gif.c { transform: rotate(1deg); }
.media .gif.d { transform: rotate(-7deg); }

.media .gif.a:hover { transform: rotate(5deg); }
.media .gif.b:hover { transform: rotate(-4deg); }
.media .gif.c:hover { transform: rotate(-1deg); }
.media .gif.d:hover { transform: rotate(7deg); }

.media .gif video
{
	width: 90%;
	margin: 5%;
	float: left;
}

.media .gif span
{
	width: 100%;
	float: left;
	text-align: center;
	color: #fff;
	line-height: 1.4em;
	font-size: 0.9em;
	letter-spacing: 0.05em;
}
.media .gif span span { opacity: 0.8; }

.media p
{
	line-height: 1.6em;
	color: #3b233f;
}

.buy
{
	margin-top: 40px;
	width: 100%;
	float: left;
}
.buy h1 { text-align: center; }
.buy a { float: left; }
.buy .btn
{
	font-size: 2em;
	line-height: 26px;
	font-family: "Upheaval";
	width: 35%;
	margin-left: 12.5%;
	margin-bottom: 8px;
	box-sizing: border-box;
	padding: 20px;
	text-align: center;
	background: #333;
	border: 1px solid rgba(0,0,0,0.25);
	color: #fff;
	text-decoration: none;
	border-radius: 16px;
	box-shadow: 0 8px 0 #000;
	opacity: 0.9;
	transition: box-shadow 0.25s, margin 0.25s, opacity 0.25s;
}
.buy .gog { margin-left: 5%; }
.buy .free { width: 75%; font-size: 1.4em; padding: 10px 20px 10px 20px; }
.buy .btn img { float: left; }
.buy .btn span { float: left; width: calc(100% - 54px); text-align: center; }
.buy .free span { float: left; width: 100%; text-align: center; }
.buy .btn:hover
{
	margin-top: 8px;
	margin-bottom: 0;
	box-shadow: 0 0 0 #000;
	color: #000;
	opacity: 1;
}
.buy .special
{
	margin-top: 32px;
	margin-bottom: 24px;
	float: left;
	width: 100%;
	text-align: center;
}
.buy .special img
{
	width: 75%;
	border-radius: 16px;
	border: 1px solid rgba(0,0,0,0.25);
	box-shadow: 0 8px 0 rgba(0,0,0,0.6);
	margin-bottom: 8px;
	opacity: 0.8;
	transition: box-shadow 0.25s, margin 0.25s, opacity 0.25s;
}
.buy .special:hover img
{
	margin-top: 8px;
	margin-bottom: 0;
	opacity: 1;
	box-shadow: 0 0 0 rgba(0,0,0,0.25);
}

.buy iframe { width: 100%; }

.description
{
	position: relative;
	background: url('../assets/images/moonbasepanel.png');
	width: 100%;
	padding: 30px;
	box-sizing: border-box;
	float: left;
	color: #fff;
	line-height: 1.6em;
}

.description .info
{
	width: 100%;
	float: left;
	margin-bottom: 40px;
}

.description .info p
{
	width: 60%;
	margin-top: 0;
	color: #fff;
	float: left;
}

.description .info img
{
	width: 32%;
	float: right;
}

.description .feature
{
	width: 100%;
	float: left;
	font-size: 0.8em;
	line-height: 1.2em;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
	background: #25404a;
	padding: 20px;
	box-sizing: border-box;
	color: #61818d;
}
.description .feature .content { width: 60%; float: left; text-align: right; }
.description .feature img { width: calc(40% - 20px); float: right; }
.description .feature:nth-child(2n+0) .content { float: right; text-align: left; }
.description .feature:nth-child(2n+0) img { float: left; }
.description .feature h2 { font-size: 1.1em; text-transform: uppercase; margin-top: 0; }

.history
{
	position: relative;
	width: 100%;
	padding: 120px 0 60px 0;
	box-sizing: border-box;
	float: left;
	background: url('../assets/images/GrayBlankBrick.png');
}
.history.end { padding: 40px 0 40px 0; }

.history h2
{
	position: relative;
	float: left;
	width: 100%;
	text-align: center;
	margin-top: 60px;
	letter-spacing: 0.05em;
}

.history .edge
{
	position: absolute;
	width: 100%;
	height: 22px;
	background: url('../assets/images/GrayBlankBrickEdge.png');
}
.history .edge.top { top: 0; }
.history .edge.bottom { bottom: 0; }

.timeline
{
	position: relative;
	width: 100%;
	float: left;
}

.timeline .icon
{
	position: absolute;
	top: -40px;
	left: 0;
	width: 10%;
}

.timeline .icon img
{
	cursor: pointer;
	pointer-events:none;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.timeline .item
{
	cursor: pointer;
	position: relative;

	width: 10%;
	margin-right: 1%;
	height: 2px;

	background: #000;

	float: left;
	display: inline;
}

.timeline .item .dot
{
	position: absolute;
	left: 50%;
	top: 50%;
	width: 8px;
	height: 8px;

	background: #000;
	border-radius: 8px;
	border: 2px solid #767676;

	transform: translateX(-50%) translateY(-50%);
	transition: width 0.25s, height 0.25s, border-radius 0.25s;
}

.timeline .item .collider
{
	position: absolute;
	top: 50%;
	width: 100%;
	height: 90px;
	transform: translateY(-50%);
}

.timeline .item .label
{
	position: absolute;
	left: 50%;
	top: 24px;
	font-weight: bold;
	text-align: center;
	transform: translateX(-50%) translateY(-50%);
	transition: top 0.25s;
}

.timeline .item .info
{
	pointer-events:none;
	position: absolute;

	left: 50%;
	top: -30px;
	width: 220px;
	padding: 10px;

	border-radius: 10px;
	background: #fff;
	font-size: 0.7em;
	text-align: center;
	opacity: 0;
	z-index: 1000;

	transform: translateX(-50%) translateY(-50%);
	transition: opacity 0.25s, top 0.25s;
}

.timeline .item:hover { background: #fff; }
.timeline .item:hover .info { opacity: 1; }
.timeline .item:hover .label { top: 32px; color: #fff; }
.timeline .item:hover .info { top: -90px; }
.timeline .item:hover .dot { width: 16px; height: 16px; background: #fff; border-radius: 16px; }

.team
{
	width: 100%;
	padding: 80px 0 80px 0;
	box-sizing: border-box;
	float: left;
	background: url("../assets/images/OmniBusKeyArt.jpg") center center;
	background-size: cover;
	background-attachment: fixed;
}

.team img
{
	width: 80%;
	margin: 0 10% 0 10%;
}

.team .info
{
	width: 60%;
	padding: 30px;
	box-sizing: border-box;
	margin: 0 20% 0 20%;
	text-align: center;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
}
.team a { color: #fff; }
.team a:hover { color: #000; }
.team p { margin-top: 0; }


@media (max-width: 816px) {
	.wrapper { width: 100%; overflow: hidden; }
	.history { overflow: hidden; }
	.history .wrapper { overflow: visible; }
	.title { width: 80%; }
	.title img { width: 100%; }
	.description .info p { width: 100%; }
	.description .info img { width: 100%; margin-bottom: 20px; }
	.description .feature .content { width: 100%; }
	.description .feature img { margin-top: 20px; width: 100%; }
	.media .gif { width: 100%; }
	.buy iframe {}
	.history .timeline { width: 90%; margin-left: 5%; }
	.history .timeline .item { width: 23%; margin-right: 2%; margin-bottom: 120px; }
	.history .timeline .item.lower { width: 18%; margin-right: 2%; margin-bottom: 0; }
	.team { padding: 5% 0 5% 0; }
	.team img { width: 100%; margin: 0; }
	.team .info { width: 90%; margin-left: 5%; }
}
