*,
::before,
::after {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}
html {
	font-size: 0.625em;
	font-family: 'Black Ops One', cursive;
}

body {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100vw;
  height: 100vh;
	overscroll-behavior: none;
}

#snake {
	position: relative;
	display: inline-block;
	width: 700px;
	height: 700px;
}

.menu {
	position: absolute;
	top: 0;
	left: 0;
	display: none;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 0, 0, 0.51);
}

.start-menu__text {
	font-size: 10rem;
	line-height: 10rem;
	color: #bd0000;
	margin-bottom: 4rem;
	text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}

#game-over {
	background-color: #ff000082;
}

.game-over__text {
	font-size: 8rem;
	line-height: 8rem;
	color: #bd0000;
	text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}

.game-over__score {
	font-size: 4rem;
	line-height: 4rem;
	color: #f00;
	margin-bottom: 4rem;
	text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}

.new-game {
	font-family: 'Black Ops One', cursive;
	font-size: 5rem;
	color: #f00;
	padding: 0.1rem 1rem;
	border: 0.2rem solid #000;
	background-color: transparent;
	text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
	outline: none;
}

.new-game:focus {
	color: #bd0000;
}

.new-game:hover {
	color: #bd0000;
}

.toggle-fullscreen {
  position: absolute;
  top: 6rem;
  right: 6rem;
  width: 3rem;
  height: 3rem;
  color: #f00;
  background-color: transparent;
  background-image: url(../img/fullscreen.svg);
  background-repeat: no-repeat;
  background-size: 60% 60%;
  background-position: center;
  border: 0.2rem solid #000;
  border-radius: 30%;
}

.toggle-fullscreen:hover,
.toggle-fullscreen:focus {
  background-color: rgba(189, 0, 0, 0.7);
  outline: none;
}