@font-face {
	font-family: 'hanalei_fillregular';
	src: url('/assets/font/font-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'cartoon';
	src: url('/assets/font/cartoon.woff2') format('woff2'),
		url('/assets/font/cartoon.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

:root {
	--text-color: #ffffff;
	--text-gold: #fffee1;
}

html,
body {
	position: relative;
	width: 100%;

	background-color: black;
	height: 100%;
	user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	overflow: hidden;
	font-family: cartoon;
}

canvas {
	cursor: grab;
}

canvas:active {
	cursor: grabbing;
}

h1 {
	font-family: cartoon;
}

.warn {
	display: none;
	background-color: #111;
	padding: 1rem;
	position: absolute;
	bottom: 0;
	margin-bottom: 5rem;
	left: 50%;
	z-index: 2;
	color: var(--text-color);
	transform: translate(-50%, 0);
}

@media (orientation: portrait) {
	.warn {
		display: block;
	}
}

input:hover {
	background-color: transparent !important;
}

body {
	color: #333;
	margin: 0;
	background-color: #222;
	user-select: none;

	box-sizing: border-box;
	user-select: none;
	font-family: cartoon;
}

a {
	color: rgb(0, 100, 200);
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

a:visited {
	color: rgb(0, 80, 160);
}

label {
	display: block;
}

a {
	font-family: cartoon;
	font-size: 0.8rem;
}

input:active {
	background: auto;
}
input,
button,
select,
textarea {
	-webkit-appearance: none;
	outline: none !important;
	font-family: cartoon;
	font-size: inherit;
	padding: 0.4em 1rem;
	margin: 0;
	text-align: left;

	font-size: 0.8rem;
	box-sizing: border-box;
	border: 1px solid rgba(19, 18, 18, 0.836);
	background-color: rgb(190, 190, 190);
	border-radius: 0;
}

select option {
	background-color: rgb(0, 0, 0, 0.9);
	color: var(--text-color);
}

input[type='range'] {
	height: 0;
}

input::placeholder {
	color: gold;
}
button {
	outline: none;
}
