body {
  font-family: "Comic Sans MS", sans-serif;
  background-color: #f8ffb4;
  text-align: center;
  margin: 0;
  padding: 20px;
  color: #2d2d2d;
}

h1 {
  margin-top: 0;
  padding-bottom: 10px;
  color: #ffffff;
  background-color: #008000;
}

.container {
  width: 500px;
  margin: auto;
  margin-top: calc(100vh / 4);
  border: 5px solid #008000;
  border-radius: 5px;
  background-color: #a4ffa5;
  overflow: hidden;
}
@media (max-width: 768px) {
  .container {
    width: 80%;
  }
}
.input-container {
  display: flex;
  justify-content: center;
}
.hand {
  margin: auto 0;
  font-size: 1.5em;
  animation-name: wave-animation;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  transform-origin: bottom center;
}

@keyframes wave-animation {
  0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(20deg);
  }
  20% {
    transform: rotate(-20deg);
  }
  30% {
    transform: rotate(14deg);
  }
  40% {
    transform: rotate(-14deg);
  }
  50% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
input {
  width: 100px;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
}

button {
  padding: 10px 20px;
  font-size: 18px;
  color: white;
  border: 2px solid white;
  border-radius: 5px;
  cursor: pointer;
  transition: all ease 0.5s;
}

.guess-button {
  background-color: #008000;
}
.guess-button:hover {
  background-color: #4caf50;
}
.repeat-button {
  background-color: #3498db;
}
.repeat-button:hover {
  background-color: #256e9e;
}

#result {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
}
