:root {
	--background-base-black: #01030e;
	--background-black: #1d293d;
	--background-dark-blue: #1b273b;
	--background-orange: #f68f00;
	--background-true-black: #000000;
	--border-blue: #2b7fff;
	--border-orange: #fe9a00;
	--text-blue: #50a2ff;
	--text-red: #fb2c36;
	--text-white: #ffffff;
}

/* ||GENERAL STYLE */
html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
	margin: 0;
	padding: 0;
}

body {
	align-content: center;
	background-color: var(--background-dark-blue);
	display: grid;
	min-height: 100vh;
	min-height: 100dvh;
}

body,
button {
	font-family: "Nunito Sans", sans-serif;
	line-height: 1.4;
}

button {
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
}

button:active {
	scale: 0.95;
	opacity: 0.75;
}

hr {
	margin: 0 auto;
	width: 80%;
}

/* ||BLOCK */
.wrapper,
.title {
	border: 3px solid var(--border-orange);
	margin: 0 auto;
	max-width: 750px;
	width: 80%;
}

.wrapper {
	background-color: var(--background-base-black);
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.title {
	background-color: var(--background-orange);
	border-bottom: none;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	font-size: 1rem;
	font-weight: 900;
	padding: 0.5em 0;
}

.board {
	display: flex;
	flex-direction: column;
	gap: 2em;
	justify-content: center;
	padding: 2em;
}

.box,
.player__title {
	border: 3px solid var(--border-blue);
}

.player__title {
	background-color: var(--background-black);
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	color: var(--text-blue);
	padding: 0.15em 0;
	width: 80%;
}

.player {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
}

.box {
	align-items: center;
	background-color: var(--background-true-black);
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	border-top: none;
	display: flex;
	min-height: 6.25em;
	justify-content: center;
	margin-bottom: 1rem;
	width: 80%;
}

.score {
	color: var(--text-blue);
	font-size: 3rem;
	font-weight: bold;
}

.addition {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.3rem;
	flex-wrap: wrap;
}

.reset {
	background-color: var(--text-red);
	border-radius: 10px;
	border: none;
	display: block;
	font-size: 1.25rem;
	font-weight: bold;
	margin: 1rem auto;
	padding: 1rem 4rem;
	text-transform: uppercase;
}

/* ||ELEMENT */

[class^="addition__"] {
	background-color: var(--background-dark-blue);
	border-radius: 4px;
	border: 1px solid var(--border-blue);
	padding: 0.25rem 1rem;
}

/* ||MODIFIER */
.border--red {
	border-color: var(--text-red);
}

/* ||UTILITIES */
.white {
	color: var(--text-white);
}

.center {
	text-align: center;
}

.upperCase {
	text-transform: uppercase;
}

.red {
	color: var(--text-red);
}

@media (min-width: 650px) {
	.board {
		flex-direction: row;
	}
}

@media (min-width: 900px) {
	button:hover {
		opacity: 0.75;
	}

	button:active {
		opacity: 1;
	}
}

@media (orientation: landscape) {
	.container {
		margin: 1rem 0;
	}
}
