* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

body {
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 1);
	overflow: hidden;
}

.container {
	width: 100%;
	height: 100%;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	gap: 1rem;
}

.loadingContainer {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100vw;
	height: 100vh;
	display: none;
	justify-content: center;
	align-items: center;
	flex-flow: column nowrap;
}
.loadingText {
	color: white;
	font-weight: 200;
}
.loadingTextSmall {
	color: white;
	font-weight: 800;
}
.loadingBar {
	position: relative;
	margin-top: 1rem;
	border: 1px solid white;
	background-color: rgba(255, 255, 255, 0.4);
	width: 10rem;
	height: 1.5rem;
	border-radius: 0.3rem;
	overflow: hidden;
}
.loadingFill {
	position: absolute;
	left: 0;
	top: 0;
	background-color: white;
	width: 0;
	height: 100%;
	z-index: -1;
}
.loadingValue {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: black;
}

#canvas {
	position: relative;
	/* border: 1px solid rgba(255, 255, 255, 0.4); */
	height: 50%;
	width: auto;
	background-color: black;
	box-shadow: 0.5rem 0.5rem 1.5rem 0 rgba(0, 0, 0, 0.5);
	z-index: 2;
	margin: 0rem;
	aspect-ratio: 16/9;
	display: block;
}
#canvas.fullscreen {
	border: none;
	box-shadow: none;
	max-width: 1920px;
	max-height: 1080px;
}

#debugCanvas {
	position: relative;
	background-color: rgba(0, 0, 0, 1);
	box-shadow: 0.5rem 0.5rem 1.5rem 0 rgba(0, 0, 0, 0.5);
	z-index: 1;
	display: block;
	height: 50%;
	width: auto;
}

@media (min-aspect-ratio: 16/9) {
	#canvas.fullscreen {
		width: auto;
		height: 100%;
	}
}
@media (max-aspect-ratio: 16/9) {
	#canvas.fullscreen {
		width: 100%;
		height: auto;
	}
}
@media (min-aspect-ratio: 2/1) {
	.container {
		flex-flow: row nowrap;
		justify-content: center;
		margin-top: 0;
	}

	#canvas {
		width: 70%;
		height: auto;
	}

	#debugCanvas {
		width: 30%;
		height: auto;
	}
}
