*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	/* overflow: hidden; */
	background-color: #555;

	font-family: Arial, Helvetica, sans-serif;
}

/* =============================== Page ===================================================== */
#page {
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* =============================== Game container ===================================================== */
#gameContainer {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* =============================== Game canvas ===================================================== */
#gameCanvas {
	display: block;
	background-color: black;

	/* --outline-width: calc(0.01 * 100vw); */
	/* outline-width: var(--outline-width); */
	/* outline-offset: calc(-1 * var(--outline-width)); */
	/* outline-style: solid; */
	/* outline-color: rgba(255, 255, 255, 0.7); */
}

/* =============================== Controls ===================================================== */
#msgCenter {
	position: absolute;
	text-align: center;
}

#toastMsg {
	color: white;
	font-size: 4rem;
	padding: 0.5rem;
}

#startBtn {
	/* position: absolute; */
	background-color: white;
	color: black;
	font-size: 3rem;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
}

#paddleControl {
	position: absolute;
	bottom: 3%;
	width: 95%;
	/* font-size: 2rem; */
	cursor: pointer;
	/* -webkit-appearance: none; */
}

/* #paddleControl::-webkit-slider-runnable-track {
	height: 0.5rem;
	background-color: blue;
	border: none;
	margin-top: -0.25rem;
} */

/* #paddleControl::-webkit-slider-thumb {
	-webkit-appearance: none;
	border: none;
	height: 2rem;
	width: 2rem;
	border-radius: 50%;
	background: blue;
	margin-top: -1rem;
} */

/* =============================== Utility ===================================================== */
.d-none {
	display: none;
}
