.grid {
    display: flex;
    flex-wrap: wrap;
    height: 85vmin;
    width: 85vmin;
    /* 30 px block */
    flex-basis: auto;
    flex-grow: 2;
    border: solid gray;
    background-color: black;
    margin-bottom: -1rem;

}

.grid div {
    width: 5vmin;
    height: 5vmin;
}

.pac-dot {
    background-color: green;
    border: 10px solid black;
    box-sizing: border-box;

}

.walls {
    background-color: midnightblue;


}

.power-pellets {
    background-color: green;
    border: 3px solid black;
    border-radius: 50%;
    box-sizing: border-box;
}

.pacman {
    background-color: yellow;
    border: 3px solid black;
    border-radius: 50%;
    box-sizing: border-box;

}

/* .ghost-lair {
    background-color: aliceblue;
} */

.inky {
    background-color: crimson;
    border: 6px solid black;
    box-sizing: border-box;
}

.pinky {
    background-color: pink;
    border: 6px solid black;
    box-sizing: border-box;
}

.bluy {
    background-color: darkblue;
    border: 6px solid black;
    box-sizing: border-box;
}

.purr {
    background-color: darkmagenta;
    border: 6px solid black;
    box-sizing: border-box;
}

.scared-ghost {
    background-color: aqua;
}
body{
    color: white;
    background-color: #181818;
  font-family: 'Amatic SC', cursive;
  font-size: 1.5em;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;

background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='58' viewBox='0 0 42 58'%3E%3Cg fill='%23000000' fill-opacity='0.45'%3E%3Cpath fill-rule='evenodd' d='M12 18h12v18h6v4H18V22h-6v-4zm-6-2v-4H0V0h36v6h6v36h-6v4h6v12H6v-6H0V16h6zM34 2H2v8h24v24h8V2zM6 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm8 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm8 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm8 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zM2 50h32v-8H10V18H2v32zm28-6a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0-8a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0-8a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0-8a2 2 0 1 0 0 4 2 2 0 0 0 0-4z'/%3E%3C/g%3E%3C/svg%3E");
}
h1{
    color: white;
    text-align: center;
   font-size: 5rem;
   margin-top: 0px;
   margin-bottom: 0px;


}
.box{
  
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* align-items: center;
    justify-content: center; */
    flex-direction: column;
    /* align-content: space-between; */
    /* height: 75vmin; */
    width: 60vmax;
    /* padding-top: 2rem; */
  

    /* margin: 100px; */
    /* align-items: center; */
}

  .centered{
    display: flex;
    justify-content: center;
    align-items: center;
   
  }
  h2{
      text-align: center;
     

  }

  
nav {
    background: black;
    top: 0;
    width: 100%;
    transition: all 0.5s;
    font-family: 'Inconsolata', monospace;
    margin-top: 0px;
    position: relative;
    font-size: 20px;
    z-index: 1;
  }
  
  
  
  .fixed-nav nav {
    position: fixed;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.1);
    opacity: 0.8;
  
  }
  
  nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
  }
  
  nav li {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  li.logo {
    max-width: 0;
    overflow: hidden;
    background: white;
    transition: all .5s;
    font-weight: 600;
    font-size: 1.5rem;
  }
  
  .fixed-nav li.logo {
    max-width: 500px;
  }
  
  li.logo a {
    color: black;
  }
  
  nav a {
    text-decoration: none;
    padding: 20px;
    display: inline-block;
    color: white;
    transition: all 0.2s;
    text-transform: uppercase;
  }