*, *:before, *:after {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
	font-size: 0;
	box-sizing: inherit;
}

html, body {
	height: 100%;
	background-color: #181a33;
	/* REMOVE SCROLL BAR */
	overflow: hidden;
	/* REMOVE IOS LONG TAP */
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	/* BACKGROUND BEHIND UNITY CONTAINER */
	background-image: url("../img/background.png");
	background-position: center center;
	background-size: cover;
}

img {
	/* PREVENT IMAGE DRAG AND DROP */
	pointer-events: none;
}

#diagnostics-icon, #diagnostics-overlay * {
	font-size: 16px;
	pointer-events: all;
}

#diagnostics-btn {
	min-width: 40px;
	min-height: 40px;
}

#unity-container {
	display: flex;
	position: fixed;
	width: 100%;
	height: 100%;
}

#unity-canvas {
	display: block;
	width: 100%;
	height: 100%;
	background: none;
}

#unity-loading-bar {
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

#unity-progress-bar-empty {
	width: clamp(128px, 25vw, 256px);
	height: 18px;
	border: 2px solid white;
	background: #243d7d;
}

#unity-progress-bar-full {
	width: 0%;
	height: 100%;
	background: white;
}

#unity-warning {
	position: absolute;
	left: 50%;
	top: 5%;
	transform: translate(-50%);
	background: white;
	padding: 10px;
	display: none;
}

/* Banner advertisement container. */

#banner-container {
	display: none;
	position: fixed;
	background: black;
}

#banner-container.portrait {
	bottom: 0;
	width: 100%;
	height: 200px;
}

#banner-container.landscape {
	right: 0;
	width: 300px;
	height: 100%;
}
