* {
  margin: 0;
  padding: 0;
}

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

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

.game-wrp {
  display: grid;
  grid-template-areas:
    "title title"
    "foodArea colorsSlot";
  grid-gap: 20px;
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 20px;
}

.title {
  grid-area: title;
  width: 400px;
}

#audioSlots {
  position: relative;
  display: grid;
  grid-template-columns: 200px 200px 200px;
  grid-gap: 20px;
  justify-content: center;
}

.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;
  justify-content: space-evenly;
}

.ghost-on {
  opacity: 0;
}

.ghost-off {
  opacity: 1;
}

.img-wrp {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  background-color: white;
}

.audio-wrp {
  width: 50px;
}

.audio-wrp:hover {
  cursor: pointer;
}

#foodArea {
  display: grid;
  grid-template-columns: 100px 100px 100px;
  grid-gap: 20px;
  justify-items: center;
}

#foodArea div {
  position: relative;
  width: 100%;
  height: 90px;
  transition: transform .1s ease-in-out;
  transform: scale(1);
}

#foodArea div:hover {
  cursor: grab;
}

#foodArea div img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: auto;
}

#foodArea div.ui-draggable-dragging {
  transform: scale(1.2);
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, .5));
}

#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;
}