* {
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  display: block;
}

#content {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  overflow: hidden;
  line-height: 1.8em;
  color: #333;
  cursor: pointer;
  background: linear-gradient(#feff90, #54e8aa);
  background-repeat: no-repeat;
  padding: 20px 0px;
}

.game-wrp {
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
  min-height: 700px;
  position: relative;
}

.color-wrp {
  display: grid;
  grid-template-columns: 200px 200px 200px;
  grid-gap: 10px;
}

.audio-box {
  display: flex;
  align-items: center;
  grid-template-columns: 100px 80px;
  grid-gap: 10px;
  justify-content: space-evenly;
}

.ghost-on {
  opacity: 0;
}

.ghost-off {
  opacity: 1;
}

.img-wrp {
  width: 100px;
  height: 80px;
  border: 1px solid lightgray;
  padding: 20px;
  border-radius: 8px;
}

.title {
  width: 220px;
  margin: 0 auto;
  padding-bottom: 20px;
}

#foodArea {
  display: grid;
  grid-template-columns: 180px 180px 180px 180px 180px;
  grid-gap: 18px;
  justify-items: baseline;
  justify-content: center;
  margin: 0 auto;
}

#foodArea div {
  position: relative;
  padding: 0.65em;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: #fff;
}

#successMessage {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%);
  width: 0;
  height: 0;
  z-index: 100;
  background: white;
  border: 2px solid #333;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: .3em .3em .5em rgba(0, 0, 0, .28);
  -webkit-box-shadow: .3em .3em .5em rgba(0, 0, 0, .28);
  box-shadow: .3em .3em .5em rgba(0, 0, 0, .28);
  padding: 20px;
}

.replay-btn {
  background-color: darkred;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: 900;
}

.modalArea {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, .8);
}

#audioHelpBtn {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%);
  background: none;
  border: none;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: red;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 2em;
  rotate: 45deg;
  box-shadow: 0px 0px 8px 4px rgb(0 0 0 / 28%);
}