:root {
	color-scheme: light dark;
	--font-color: light-dark(black, white);
	--opposite-font-color: light-dark(white, black);
	--link-color: light-dark(#0000ee, #8c8cff);
	--first-background-color: light-dark(white, black);
	--second-background-color: light-dark(#e1e1e1, #1e1e1e);
	--third-background-color: light-dark(#cacaca, #353535);
	--fourth-background-color: light-dark(#b1b1b1, #4e4e4e);
	--fifth-background-color: light-dark(#969696, #696969);
	--sixth-background-color: light-dark(#7a7a7a, #858585);

	--header-height: 5vh;
	--main-height: 90vh;
	--default-transition-duration: 300ms;
}

* {
	box-sizing: border-box;
}

input[type="submit"] {
	cursor: pointer;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	appearance: textfield;
	-webkit-appearance: none;
	margin: 0;
}

input[type=number] {
	appearance: textfield;
	-moz-appearance: textfield;
}

label.required::after {
	content: " *";
	color: #e32;
	vertical-align: middle;
}

.no-text-select {
	/* iOS Safari */
	-webkit-touch-callout: none;
	/* Safari */
	-webkit-user-select: none;
	/* Konqueror HTML */
	-khtml-user-select: none;
	/* Old versions of Firefox */
	-moz-user-select: none;
	/* Internet Explorer/Edge */
	-ms-user-select: none;
	/* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
	user-select: none;
}

.hidden {
	display: none !important;
}

input[type="button"],
button {
	cursor: pointer;
}

body {
	padding: 0;
	margin: 0;
	font-family: Arial;
}

header {
	height: var(--header-height);
	position: absolute;

	&>h1 {
		height: var(--header-height);
		display: flex;
		align-items: center;
		margin: 0;
	}
}

body,
main {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	width: 100%;
}

#game-screen {
	background-image: url("/assets/game-background-tile.svg");
	background-position: center center;
	background-repeat: repeat;
	background-size: 2.5vw;
}

header,
nav {
	display: flex;
	flex-direction: column;
	align-items: center;

	text-align: center;
	height: 100vh;
	width: 100vw;
}

#score-board {
	position: absolute;
	height: var(--header-height);
	width: 100%;

	&>ul {
		display: flex;
		align-items: center;
		justify-content: space-around;
		height: 100%;
		list-style: none;
		font-size: 1.1em;
		margin: 0;
		padding: 0;

		&>li {
			background-color: attr(player-color type(<color>));
		}
	}
}

#game-start-screen {
	display: flex;
	flex-grow: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	& ul {
		list-style: none;
		padding: 0;
	}
}

#round-countdown {
	position: absolute;
	bottom: calc(50% - 2.75rem);
	font-size: 5rem;
}
