html {
	background-color: #000;
}

* {
	image-rendering: -moz-crisp-edges;
	image-rendering: -webkit-crisp-edges;
	image-rendering: crisp-edges;
}

body {
	background-color: #000;
	display: flex;
	flex-direction: column;
	align-items: center;
	align-content: center;
	justify-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

html,
body,
#game,
#game > canvas {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	overflow: hidden;
}

#game {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

#portrait-error-message {
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	pointer-events: none;
	font-size: 50px;
	visibility: hidden;
}

#portrait-error-message p {
	font-family: 'Open Sans', 'Ubuntu', 'Arial', sans-serif;
	font-weight: bold;
	font-size: 10vw;
	margin: 10%;
	padding: 0;
	text-align: center;
}

/* === PAGE BACKGROUND === */
.gg-bg {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
