body,
html {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	font-size: 18px;
	font-family: monospace;
	box-sizing: border-box;
	justify-content: center;
	background-color: black;
}

#startScreen,
#endScreen,
#infoScreen {
	width: 100%;
	height: 100%;
	background-color: black;
	color: white;
	opacity: 1;
	transition: opacity 0.5s ease-in-out;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	left: 0;
	gap: 6rem;
	padding: 2rem;
	box-sizing: border-box;
}
canvas {
	height: 100% !important;
	width: unset !important;
	max-height: 2000px;
	/* position:absolute; */
	margin: 0;
	top: 0;
	left: 0;
	/* cursor: none; */
}

#startScreen .titles {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	color: white;
}
#infoScreen .titles {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0rem;
	color: white;
}
h1 {
	font-size: 72px;
	letter-spacing: 5px;
	text-transform: uppercase;
}
h1,
h2,
h3,
h4 {
	margin: 0;
	text-align: center;
}
.buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	align-items: center;
}
button {
	padding: 1rem 2rem;
	color: white;
	border: none;
	outline: none;
	height: auto;
	border-radius: 5px;
	background-color: rgb(0, 0, 0);
	border: 2px solid white;
	cursor: pointer;
	transition: background-color 0.3s ease-in-out;
}
button:hover {
	background-color: rgba(20, 20, 50, 1);
}
#endScreen,
#infoScreen {
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
	color: white;
}
#gameCanvas {
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}
@media screen and (max-width: 600px) {
	body,
	html {
		font-size: 12px;
	}
	h1 {
		font-size: 32px;
		letter-spacing: 5px;
		text-transform: uppercase;
	}
}
