/* Copyright - Grant Ojanen */

/********************************** Compatibility **********************************/

header, section, footer, aside, nav, main, article, figure, video, audio {
	display: block;
}

body {
	-webkit-font-smoothing: subpixel-antialiased;
}

/********************************** Overall **********************************/

@font-face {
	font-family: 'KhulaWeb';
	src: url('/fonts/Khula-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'KhulaWeb';
	src: url('/fonts/Khula-Bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'KhulaWeb';
	src: url('/fonts/Khula-Light.woff') format('woff');
	font-weight: 200;
	font-style: normal;
}

body {
	font-family: "KhulaWeb", "Khula", sans-serif;
	background-color: black;
	margin: auto;
	width: 100%;
	height: 100vh;
	padding: 0px;
	color: #BECC94;
	word-wrap: break-word;
}

.gameWrapper {
	width: 100%;
	bottom: 0px;
	top: 4em;
	position: absolute;
}

.gameWrapper button {
	width: 100%;
	height: 100%;
}

button {
	font-size: 1rem;
	white-space: normal;
	background-color: #3C393F;
	border: 0px;
	color: #BECC94;
	padding: 0px;
	cursor: pointer;
	-webkit-appearance: none;   /** Fix Safari IOS button design glitch **/
	-webkit-border-radius: 0px; /**/
	-moz-border-radius: 0px;    /**/
	border-radius: 0px;         /**/
}

#fullscreen {
	top: 0em;
	position: absolute;
	height: 3em;
	width: 19em;
	margin: .5em;
}

iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: none;
}

button:hover, button:focus {
	background-color: #4C494F;
}

.pixal {
	image-rendering: crisp-edges;
	image-rendering: optimizeSpeed;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: pixelated;
	image-rendering: optimize-contrast;
	-ms-interpolation-mode: nearest-neighbor;
}

@media only all and (max-width: 28em) {
	#fullscreen {
		width: 100%;
		margin: 0em;
		margin-top: .5em;
	}
}