@keyframes wag {
  0% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(14deg);
  }
  to {
    transform: rotate(-10deg);
  }
}

body {
  align-items: center;
  background-color: white;
  display: flex;
  justify-content: center;
  margin: 0;
  min-height: 100vh;
  min-width: 440px;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: black;
  }
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

main {
  position: relative;
}

.head {
  left: 140px;
  position: absolute;
  top: 35px;
}

.hand {
  animation: wag 0.7s linear;
  animation-iteration-count: infinite;
  left: 265px;
  position: absolute;
  top: 155px;
  transform-origin: 50% 100%;
}
