body {
  background-color: rgb(155, 186, 90);
  color: #000000bf;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px;
  box-sizing: border-box;
}

.btn {
  font-family: "Silkscreen", sans-serif;
  font-size: 25px;
  border: none;
  border-radius: 2px;
  color: #000000bf;
  background-color: rgb(155, 186, 90);
  text-align: center;
  cursor: pointer;
}

.btn:hover {
  background-color: #000000bf;
  color: rgb(155, 186, 90);
}

.space, .center {
  font-family: "Silkscreen", sans-serif;
  font-size: 20px;
  border: none;
  border-radius: 2px;
  background-color: rgb(155, 186, 90);
  cursor: pointer;
  height: 60px;
}

.space:hover {
  background-color: #000000bf;
  color: rgb(155, 186, 90);
}

.ctrl {
  font-family: "Silkscreen", sans-serif;
  font-size: 20px;
  border: none;
  border-radius: 2px;
  color: #000000bf;
  background-color: rgb(155, 186, 90);
  text-align: center;
  cursor: pointer;
}

.ctrl:hover {
  background-color: #000000bf;
  color: rgb(155, 186, 90);
}

img {
  height: 40px;
}

#speedPrompt {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#gameSpeed {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

#gameContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#previousScoresContainer,
#highScoresContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#gameBoard {
  display: flex;
  flex-wrap: wrap;
  width: 80vw;
  max-width: 500px;
  height: 80vw;
  max-height: 500px;
  border: 5px solid #000000bf;
}

.cell {
  width: 5%;
  height: 5%;
  box-sizing: border-box;
  background-color: rgb(155, 186, 90);
}

.snake {
  background-color: #000000bf;
}

.food {
  background-color: #152012bf;
}

#playerName {
  font-family: "Silkscreen", sans-serif;
  border: none;
  border-radius: 2px;
  color: #000000bf;
  text-align: center;
  width: 80vw;
  max-width: 350px;
  background-color: rgb(155, 186, 90);
  font-size: 25px;
}

#playerName:hover {
  background-color: #000000bf;
  color: rgb(155, 186, 90);
}

#playerName::placeholder {
  color: #000000bf;
}

#playerName:hover::placeholder {
  color: rgb(155, 186, 90);
}

#head1 {
  font-weight: bold;
  font-size: 45px;
}

#startGameBtn {
  width: 80vw;
  max-width: 280px;
}

#head2 {
  font-weight: bold;
}

li {
  font-family: "Silkscreen", sans-serif;
  color: #000000bf;
  font-size: 20px;
  list-style-type: decimal;
}

#mobileControls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

#mobileControls > div {
  display: flex;
  gap: 5px;
}
