html {
	font-family: 'Press Start 2P', cursive;
	margin: 0;
	padding: 0;
	background: #F8E81C;
}
body {
	margin: 0;
	padding: 0;
}
header {
	text-align: center;
	margin: 0 auto;
}
header h1 {
	margin: 50px 0 30px;
	color: #5D19FF;
	font-size: 75px;
	font-weight: 100;
}
article {
	background: #5D19FF url('../images/bricks/pattern.png');
}
article section {
	max-width: 1000px;
	margin: 0 auto;
	padding: 75px 20px 0;
	display: flex;
	align-items: center;
}
article section:last-child {
	padding-bottom: 75px;
}
.second p {
	margin-left: 150px;
	margin-right: 0;
}
.first img {
	height: 300px;
	width: auto;
}
article section p {
	margin: 0;
	color: #F8E81C;
	font-size: 40px;
	flex: 2;
	margin-right: 100px;
}
.second {
	flex-direction: row-reverse;
}
article section img {
	background-color: #5D19FF;
	width: 300px;
	height: auto;
	border: 10px dashed yellow;
	box-sizing: border-box;
}
footer {
	text-align: center;
	margin: 55px 0;
}
footer p:last-child {
	font-size: 12px;
}
footer p:last-child a {
	color: #5D19FF;
	text-decoration: none;
}
footer p:last-child a:hover {
	text-decoration: underline;
}

.links {
	padding: 20px 0;
	text-align: center;	
}
.social {
	padding: 0 0 20px;
	text-align: center;
}
.links .icon {
	background: transparent url('../images/bricks/icon.png') no-repeat scroll center center;
	background-size: contain;
	text-indent: -9999px;
	width: 75px;
	height: 75px;
	display: inline-block;
}
.links .download {
	background: transparent url('../images/bricks/appstore-badge.png') no-repeat scroll center center;
	background-size: contain;
	text-indent: -9999px;
	width: 259px;
	height: 75px;
	display: inline-block;
}

.powered {
	text-align: center;
}
.powered a {
	color: #999;
	text-decoration: none;
	display: inline-block;
	padding: 20px 60px 20px 0;
	background: transparent url('images/horizonsdk-footer.png') no-repeat scroll right center;
	background-size: 40px;
	opacity: .75;
	transition: all .25s ease-in;
	text-transform: uppercase;
}
.powered a:hover {
	opacity: 1.0;
	text-decoration: underline;
}
.powered em {
	display: none;
}


#privacy-policy {
	padding: 40px;
	color: #F8E81C;
	font-size: 15px;
	margin-top: 100px;
}
#privacy-policy > * {
	max-width: 1000px;
	margin-left: auto;
	line-height: 2em;
	margin-right: auto;
}
#privacy-policy > h3 {
	text-align: center;
	margin-bottom: 20px;
	margin-top: 0;
}


@media (max-width: 870px) {
	header h1 {
		font-size: 25px;
		margin: 20px;
	}
	article section {
		padding: 20px 20px 0;
		flex-direction: column;
	}
	.second {
		flex-direction: column;
	}
	article section:last-child {
		padding-bottom: 0;
	}

	article section p {
		font-size: 20px;
		margin: 0 0 20px !important;
		text-align: center;
	}
	article section img {
		background-color: transparent;
		width: 100% !important;
		height: auto !important;
		margin-bottom: 20px;
		max-height: 300px;
	    object-fit: contain;
	    border: none;
	}
	footer {
		margin: 20px 0;
	}
	.links .icon {
		margin: 0 auto 20px;
		display: block;
	}
	.links .download {
		display: block;
		margin: 0 20px;
		width: auto;
	}
}