* {
	font-family: "Arial", sans-serif;
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	overflow-y: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	height: 100vh;
	background-color: #000000;
	color: #FFFFFF;
}

body.exit {
	background-color: #ECECEC;
	color: #000000;
	font-size: 16px;
}

main {
	height: 95vh;
}

body:not(.game) #game,
body:not(.game) #fullscreen,
body:not(.exit) #exit {
	display: none;
}

body.game #game {
	height: 100%;
	width: calc(95vh * (16 / 9));
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

body.exit main {
	width: 960px;
	display: flex;
	justify-content: center;
	align-items: center;
}

body.exit main > div {
	outline: 1px solid black;
	padding: 8px 16px;
}

h1 {
	text-align: center;
}

footer {
	font-size: 16px;
	width: 100vw;
	height: 5vh;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 8px;
}

#fullscreen {
	display: flex;
	align-items: center;
	padding: 0 8px;
}

#fullscreen:hover {
	outline: 1px solid white;
	cursor: pointer;
}

#fullscreen svg {
	width: 36px;
	height: 36px;
	fill: #FFFFFF;
}