/* *{
  box-sizing: border-box;
} */
body{
  width: 100%;
  height: 100%;
  background: #667;
  font-family: Arial, Helvetica, sans-serif;
}
#container{
  position: relative;
  margin: 30px auto;
  width: 560px;
  height: 600px;
  box-shadow: 20px 20px 40px whitesmoke;
  border-radius: 15px;
  background: black;

}
#splash{
  display: block;
  position: absolute;
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 15px;
}
#splash h1{
  font-size: 50px;
  color: gold;
  text-shadow: 2px 2px 2px purple;
  text-align: center;
  line-height: 100px;
  cursor: pointer;
}
#splash p{
  font-size: 20px;
  color: white;
  text-align: justify;
  margin: 15px;
  line-height: 30px;
  cursor: pointer;
}
#splash h2{
  font-size: 30px;
  color: gold;
  text-shadow: 2px 2px 2px purple;
  text-align: center;
  cursor: pointer;
}
#pacman-grid{
  display: none;
  flex-wrap: wrap;
  width: 560px;
  height: 600px;
  border: solid black;
  background: black;
  border-radius: 15px;
}
#pacman-grid div{
  width: 20px;
  height: 20px;
  text-align: center;
}
#lost{
  display: none;
  width: 500px;
  height: 590px;
  position: absolute;
  background-image: url('../images/pacmanGhosts.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto;
  top: 0px;
  left: 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 45px;
  line-height: 90px;
  text-align: center;
  color: gold;
  text-shadow: 2px 2px 2px purple;
  border-radius: 15px;
  cursor: pointer;
}
#won{
  display: none;
  width: 500px;
  height: 590px;
  position: absolute;
  background-image: url('../images/pacmanpic.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto;
  top: 0;
  left: 25px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 55px;
  line-height: 90px;
  text-align: center;
  color: gold;
  text-shadow: 4px 4px 3px purple;
  border-radius: 15px;
  cursor: pointer;
}
#restart{
  display: none;
  position: absolute;
  top: 300px;
  left: 80px;
  font-size: 30px;
  color: gold;
  text-shadow: 2px 2px 2px purple;
  border-radius: 15px;
  cursor: pointer;
}
.pacdot{
  font-size: 20px;
  color: yellow;
}
.wall{
  font-size: 20px;
  color: blue;
}
.powerup{
  font-size: 20px;
  color: pink;
}
.pacman{
  border-radius: 50%;
  background: yellow;
  opacity: 1;

}
.blinky{
  border-radius: 50% 50% 0 0;
  background: red;
  opacity: 1;
  outline: 5px 1px solid white;
}
.pinky{
  border-radius: 50% 50% 0 0;
  background: pink;
  opacity: 1;
}
.inky{
  border-radius: 50% 50% 0 0;
  background: purple;
  opacity: 1;
}
.clyde{
  border-radius: 50% 50% 0 0;
  background: orange;
  opacity: 1;
}
.ghostscared{
  border-radius: 50% 50% 0 0;
  opacity: 0.5;
  background: lightblue;
}
.ghostlair{
 color: lightblue;
}
.level, .score, .lives, .title{
  font-size: 20px;
 color: white;
}
.ready{
  font-size: 20px;
 color: yellow;
}