body {
  margin: 0;
  font-family: sans-serif;
  background: #fff7e8;
  text-align: center;
}

.game {
  padding: 40px 20px;
display: flex;
flex-direction: column;
align-items: center;
}

h1 {
  color: #6b4a2b;
}

.rabbit {
  width: 150px;
  margin-top: 20px;
}

.coin {
  width: 150px;
  margin: 35px 20px 20px;
}

button {
  font-size: 22px;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  background: #f4b860;
  color: white;
　transition: all 0.15s ease;
　box-shadow: 0 5px 0 #d89a43;
}

button:active {
    transform: translateY(4px);
    box-shadow: 0 1px 0 #d89a43;
}

.result {
  margin-top: 30px;
  font-size: 28px;
  font-weight: bold;
  color: #6b4a2b;
}

.score {
  margin-top: 30px;
  font-size: 20px;
}

.jump {
  animation: jump 0.4s;
}

.spin {
  animation: spin 0.6s;
}

@keyframes jump {
  0% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
  100% { transform: translateY(0); }
}

@keyframes spin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(720deg); }
}
.tossing {
  animation: tossCoin 0.8s ease-in-out;
}

@keyframes tossCoin {
  0% {
    transform: translateY(0) rotateY(0deg);
  }
  40% {
    transform: translateY(-120px) rotateY(720deg);
  }
  100% {
    transform: translateY(0) rotateY(1440deg);
  }
}
.rabbitJump {
  animation: rabbitJump 0.45s ease-in-out;
}

@keyframes rabbitJump {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(-8deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}