* {
  box-sizing: border-box;
}

body {
  height: 100vh;
  width: 100vw;
  background-image: linear-gradient(to top left, #57c0ff 0%, #131a49 100%);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.board {
  height: 100vmin;
  width: 100vmin;
  background-color: #0a1128;
  border: solid 9px rgba(240, 248, 255, 0.822);
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  grid-template-rows: repeat(11, 1fr);
}

.snake {
  background-color: #fbbf24;
  border: 0.25vmin solid black;
}

.food {
  /* background-color: yellowgreen; */
  border: 0.25vmin solid black;
}

/* Overlay UI */

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 5px;
  padding: 2%;
  width: 70%;
  z-index: 10;
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.3);
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 5;
}

.hidden {
  display: none;
}
