body {
  margin: 0;
}
.animation-container {
  height: 100vh;
  background-image: url("../images/background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}
.animation-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-name: rotate;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.rotate-reverse {
  animation-direction: reverse;
  width: 150px;
}
.animation-img:hover {
  animation-play-state: paused;
  cursor: pointer;
}
@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}
