* {
  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;
  text-align: center;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  overflow: hidden;
  padding: 30px;
  position: relative;
  min-height: 680px;
}

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

.title {
  grid-area: title;
}

.title-img {
  width: 400px;
}

#colorsSlots {
  position: relative;
  display: grid;
  grid-template-columns: 120px 120px 120px;
  grid-gap: 30px;
  justify-content: center;
  grid-area: colorsSlot;
}

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

.color-box {
  border-radius: 16px;
  overflow: hidden;
  transition: all .2s ease-out 100ms
}

.hovered {
  transform: scale(1.2);
}

#foodArea {
  display: grid;
  grid-template-columns: 100px 100px 100px 100px;
  grid-gap: 10px;
  justify-content: center;
  grid-area: foodArea;
}

#foodArea div {
  position: relative;
  height: 90px;
  width: 90px;
  padding: 5px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  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.4);
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, .5));
}

.drag-img {
  filter: grayscale(1);
  transition: filter .23s ease-in-out;
}

#successMessage {
  position: absolute;
  left: 50%;
  top: 50%;
  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, .8);
  -webkit-box-shadow: .3em .3em .5em rgba(0, 0, 0, .8);
  box-shadow: .3em .3em .5em rgba(0, 0, 0, .8);
  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;
}