* {
  box-sizing: border-box;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  color: #fff;
  background: #2c3e50;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.sandbox {
  text-align: center;
}

.farm-plot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border: 4px solid #3d2b22;
  border-radius: 8px;
  background: #5c4033;
  cursor: pointer;
  font-size: 40px;
  user-select: none;
  transition: background-color 0.3s;
}

.farm-plot:hover {
  background: #6e4e3f;
}

.item-drop {
  position: absolute;
  font-size: 30px;
  animation: fly-to-corner 1s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

p {
  margin: 20px 0 0;
}

@keyframes fly-to-corner {
  0% {
    opacity: 1;
    transform: scale(1) translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: scale(0) translate(200px, 200px);
  }
}
