@font-face {
	font-family: 'UTPapyrus';
	src: url('fonts/UndertalePapyrus.ttf');
}
@font-face {
	font-family: 'UTSans';
	src: url('fonts/UndertaleSans.ttf');
}
@font-face {
	font-family: 'UTDetermination';
	src: url('fonts/DeterminationMonoWeb.ttf');
}
@font-face {
	font-family: 'UTMercy';
	src: url('fonts/MERCY.ttf');
}

html {
	background-color: #333348;
	color: white;
	font-family: 'UTDetermination';
}
body {
	overscroll-behavior: none;
}

header {
	margin: 0 auto;
	margin-bottom: 1em;
	text-align: center;
}
header div {
	display: inline-block;
}

h3 {
	font-weight: normal;
	margin-bottom: 0.1em;
}


.overlay {
	position: fixed;
	left: 50%;
	display: none;
	z-index: 3;
}

input, button, #rules {
	background-color: black;
}
button {
	border: 2px solid #FF7E10;
	bottom: 0;
	text-align: center;
	color: #FF7E10;
	font-size: 1em;
	font-family: 'UTMercy';
}
button#new {
	border: 2px solid white;
	color: white;
	font-family: 'UTDetermination';
}
input {
	color: white;
	border: 2px solid white;
	text-align: left;
	font-size: 1em;
	font-family: 'UTDetermination';
}
input[type=number] { width: 3em; }
#rules {
	padding: 1em;
	border: 4px solid white;
	text-align: left;
	font-family: 'UTPapyrus';
}

a:link {
	color: yellow;
}
a:visited {
	color: lime;
}
