h1,
h3 {
  text-align: center;
}

.grid {
  width: 420px;
  height: 420px;
  border: solid black;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.grid div {
  width: 15px;
  height: 15px;
  background-color: #4361ee;
}

/* Drawing the enviorment of the game */

.grid .pac-dot {
  background-color: #09bc8a;
  border: 5px solid white;
  box-sizing: border-box;
}

.grid .wall {
  background-color: #4361ee;
}

.grid .power-pellet {
  background-color: #00a75f;
  border-radius: 7.5px;
  box-sizing: border-box;
}

.grid .empty {
  background-color: white;
}
.grid .ghost-lair {
  background-color: white;
}

.grid .pacman {
  background-color: rgb(255, 196, 0);
  border-radius: 7.5px;
  border: none;
}

/* Ghost */
.grid .blinky {
  background-color: red;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  border: none;
}

.grid .pinky {
  background-color: pink;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  border: none;
}

.grid .inky {
  background-color: aqua;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  border: none;
}

.grid .clyde {
  background-color: orange;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  border: none;
}

.grid .scared-ghost {
  background-color: #9cdffd;
}
