/* Adding Google Font  */
@import url("https://fonts.googleapis.com/css2?family=Edu+NSW+ACT+Foundation:wght@500&display=swap");
* {
  margin: 0;
  padding: 0;
  font-family: "Edu NSW ACT Foundation", cursive;
  box-sizing: border-box;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #bfe3f1;
}

.wrapper {
  width: 65vmin;
  height: 70vmin;
  display: flex;
  flex-direction: column;
  background: #1b2b48;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 2px 2px 10px #22cecb;
}
.game-details {
  color: #f0f8ff;
  font-size: 1.2em;
  font-weight: 600;
  padding: 15px 26px;
  display: flex;
  justify-content: space-between;
}
.play-board {
  width: 100%;
  height: 100%;
  background: #15233d;
  border-radius: 0px 0px 10px 10px;
  display: grid;
  grid-template: repeat(30, 1fr) / repeat(30, 1fr);
}
.play-board .food {
  background-color: #f5deb3;
  border-radius: 50%;
}

.play-board .head {
  background: #20b9fc;
  border-radius: 2px;
}
.controls {
  display: flex;
  justify-content: space-between;
}
.controls i {
  padding: 10px 0;
  text-align: center;
  font-size: 1.2rem;
  color: #f0f8ff;
  width: calc(100% / 4);
  cursor: pointer;
  border-right: 1px solid #171b26;
}

@media screen and (max-width: 800px) {
  .wrapper {
    width: 90vmin;
    height: 115vmin;
  }
  .game-details {
    font-size: 1rem;
    padding: 15px 27px;
  }
  .controls {
    display: flex;
  }
  .controls i {
    padding: 15px 0;
    font-size: 1.2rem;
  }
}
