@import url('https://fonts.googleapis.com/css2?family=New+Tegomin&display=swap');
* {
  margin: 0;
  padding: 0;
}
.body 
{
  background: url('img/bg.jpg');
  min-height: 100vh;
  background-size: 100vw 100vh;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}
#board 
{
  background: linear-gradient(rgb(35, 199, 35), rgb(182, 182, 29));
  border: 3px solid black;
  width: 90vmin;
  height: 92vmin;
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  grid-template-rows: repeat(18, 1fr);
}
#scoreBox
{
  position: absolute;
  top: 20px;
  left: 20px;
  height: 200px;
  width: 310px;
  font-size: 39px;
  font-weight: bold;
  font-family: 'New Tegomin', serif;
}
#highscorebox {
  position: absolute;
  top: 80px;
  left: 20px;
  height: 200px;
  width: 310px;
  font-size: 39px;
  font-weight: bold;
  font-family: 'New Tegomin', serif;
}
.head {
  background: linear-gradient(rgb(112, 112, 228), rgb(238, 137, 137));
  border: 2px solid rgb(133, 106, 31);
  border-radius: 15px;
}
.snake {
  background: rgb(59, 23, 20);
  border: 0.25vmin solid white;
  border-radius: 100px;
}
.food {
  background: linear-gradient(red, purple);
  border: 0.25vmin solid black;
  border-radius: 10px;
}
