:root {
	--background: #333;
}

* {
	color: #CCC;
}

*::selection {
	background: #95f;
}

*:focus {
	outline: none;
}

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

body {
	background-color: var(--background);
	margin: 0;
	padding: 8px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

ol, ul {
	margin: 0;
	padding: 0;
}

a {
	color: #0064c8;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: #0050a0;
}

label {
	display: block;
}

input, button, select, textarea {
	color: inherit;
	background-color: #FFFFFF33;
	font-family: inherit;
	font-size: inherit;
	padding: 0.4em;
	margin: 0 0 0.5rem 0;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 2px;
}

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

button {
	color: #f4f4f4;
	background-color: var(--background);
	outline: none;
}

button:disabled {
	color: #777;
}

button:not(:disabled):active {
	background-color: #222;
}

button:focus {
	border-color: #AAA;
}
