@font-face {
	font-family: TouchPadPro;
	src: url("resources/touchpadpro.ttf");
}

@font-face {
	font-family: TouchPadPro;
	src: url("resources/touchpadpro.ttf");
	font-weight: bold;
}

html, body {
	margin: 0;
	padding: 0;
	width: 100% !important;
	height: 100% !important;
	font-family: TouchPadPro, sans-serif;
	font-size: 15pt;
	background: black;
	color: white;
	line-height: 1.2;
}

a {
	color: lightgrey;
}

button {

	font-family: TouchPadPro, sans-serif;
	font-size: 15pt;
	background: white;
	border-radius: 10px;
	box-shadow: 0px 0px 0px transparent;
	border: 2px solid black;
	text-shadow: 0px 0px 0px transparent;

}

#gameContainer {
	line-height: 0;
	width: 100% !important;
	height: 100% !important;
	position: absolute;
}

canvas {
	width: 100%;
	height: 100%;
	display: block;
}

h1{

	margin-top: 0;
	padding-top: 0;
	font-size:22pt;
}
.fullscreenbutton {
	position: absolute;
	top: 0;
	right: 0;
	height: 7vh;
	max-height: 110px;
	width: 7vh;
	z-index: 999;
}

.fullscreenbutton img {
	height: 100%;
	width: 100%;
}

#infobox-overlay {

	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;

	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.infobox {

	width: 100%;
	max-width: 400px;
	padding-bottom:20px;
}

.infobox-continueanyway {
	position: absolute;
	bottom: 20px;
	font-size: 10pt;
}

#loading{

	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.loading-text{

	animation: flickerAnimation 1s infinite ease-in-out;
	font-size: 22pt;
}

@keyframes flickerAnimation {
	0%   { transform:scale(1); }
	50%   { transform:scale(1.03); }
	100%   { transform:scale(1); }
}