* {
  margin: 0;
  padding: 0;
}

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

@font-face {
  font-family: 'GochiHand-Regular';
  src: url('./font/GochiHand-Regular.ttf') format('truetype');
}

h3 {
  font-family: 'GochiHand-Regular', sans-serif;
  font-size: 1.6em;
}

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

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

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

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

#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: 120px;
  height: auto;
}

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

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

.word-wrp {
  transition: all .2s;
  border: 3px solid #01fecb;
  border-radius: 8px;
}

.word-breaker,
.word-result {
  display: inline-flex;
  align-items: center;
  justify-content: space-evenly;
}

.word {
  width: 140px;
}

.word-img {
  width: 100px;
}

.audio-wrp {
  width: 40px;
}

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

.hovered {
  transform: scale(1.1);
  border-color: white;
}

.ghost-on {
  opacity: 0;
}

.ghost-off {
  opacity: 1;
}

#successMessage {
  position: absolute;
  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: 0em 0.3em 0.5em rgb(0 0 0 / 40%);
  -webkit-box-shadow: 0em 0.3em 0.5em rgb(0 0 0 / 40%);
  box-shadow: 0em 0.3em 0.5em rgb(0 0 0 / 40%);
  padding: 20px;
}

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