@font-face {
	font-family: "Open Sans";
	src: url("../ttf/OpenSans-Light.ttf");
	font-weight: 300;
}

@font-face {
	font-family: "Open Sans";
	src: url("../ttf/OpenSans-Regular.ttf");
	font-weight: 400;
}

html {
	font-size: 62.5%;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 1.4rem;
	font-weight: 400;
	user-select: none;
	background-color: #111;
}

aside {
	position: fixed;
	z-index: 3;
	top: 0;
	right: -320px;
	width: 320px;
	height: 100%;
	background-color: #000;
	transition: right .25s;
}

aside section {
	padding: 24px;
}

aside section div {
	width: 100%;
	height: 192px;
	background-image: url("../../images/logo.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	margin: 64px 0;
}

aside section div img {
	display: inline-block;
}

aside section nav a {
	display: block;
	margin: 8px;
	font-size: 2.8em;
	text-decoration: none;
	color: #fff;
	transition: color .25s;
}

aside section nav a:hover {
	color: #ff6600;
}

main {
	width: 100%;
	transition: width .25s;
}

article {
	text-shadow: 1px 1px #000;
}

article .background {
	position: absolute;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	background-color: #111;
	background-image: none;
	opacity: 0;
	transition: opacity .5s;
}

article.loaded .background {
	opacity: 1;
}

header,
article section {
	position: relative;
	z-index: 2;
}

header {
	height: 50vh;
	justify-content: center;
	text-align: center;
}

header h2 {
	font-size: 3.2em;
	font-weight: 300;
	color: #fff;
	margin: 0;
}

article section {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	min-height: 50vh;
	background-color: #222;
}

article section div {
	max-width: 1200px;
	margin: 0 auto;
	padding: 72px 12px;
	color: #dadada;
	font-size: 1.4em;
	text-align: justify;
	line-height: 1.6em;
	word-spacing: 4px;
}

article section div img {
	padding: 0 32px 32px 0;
	max-height: 240px;
	cursor: pointer;
	float: left;
}

p {
	margin: 0;
	padding: 0;
}

p:not(:last-of-type) {
	margin-bottom: 32px;
}

ul,
ol {
	margin-left: 24px;
	padding: 0;
}

li {
	margin: 24px 0;
	padding: 0;
}

li span {
	color: #9a9a9a;
	margin-right: 12px;
}

footer {
	background-color: #ffe2ab;
	padding: 12px;
	text-align: center;
	font-size: .8em;
	color: #575757;
}

footer a {
	text-decoration: none;
	color: #a14100;
	transition: color .25s;
}

footer a:hover {
	color: #ff6600;
}

#navButton {
	position: fixed;
	z-index: 4;
	top: 0;
	right: 0;
	width: 72px;
	height: 72px;
	justify-content: center;
	cursor: pointer;
}

#navButton span {
	position: absolute;
	font-size: 3.2em;
	color: #fff;
	transition: opacity .25s, color .25s;
}

#navButton:hover span {
	color: #ff6600;
}

#navButton span:first-of-type {
	opacity: 1;
}

#navButton span:last-of-type {
	opacity: 0;
}

#navButton,
header {
	display: flex;
	align-items: center;
}

body.menu main {
	width: calc(100% - 160px);
}

body.menu #navButton span:first-of-type {
	opacity: 0;
}

body.menu #navButton span:last-of-type {
	opacity: 1;
}

body.menu aside {
	right: 0;
}

@media (max-width: 1200px) {
	header {
		height: 40vh;
	}

	article section {
		min-height: 60vh;
	}

	article section div {
		padding: 12px;
	}
}

@media (max-width: 600px) {
	aside {
		right: -100%;
		width: 100%;
		justify-content: center;
	}

	aside section {
		padding: 0;
	}

	aside section nav a {
		text-align: center;
		margin: 0;
	}

	main {
		transition: none;
	}

	body.menu main {
		width: inherit
	}
}

@media (max-width: 450px) {
	article section div {
		text-align: left;
	}

	article section div img {
		padding: 0 12px 12px 0;
	}
}

@media (max-height: 660px) {
	aside section div {
		margin: 32px 0;
	}

	aside section nav a {
		font-size: 2.8rem;
	}
}

@media (max-height: 500px) {
	aside section div {
		height: 128px;
	}
}