*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 100px;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  margin: 0 auto;
  min-width: 700px;
  justify-content: space-evenly;
  align-items: baseline;
}
.container__hammer {
  width: 80px;
  height: 80px;
}
.container__hammer img {
  width: 100%;
  height: 100%;
  animation: hammerStrike 0.8s cubic-bezier(1, -0.01, 1, 1) infinite alternate;
}
.container__gear {
  width: 80px;
  height: 80px;
}
.container__gear img {
  width: 100%;
  height: 100%;
  animation: rotateGear 2s linear infinite;
}

@keyframes rotateGear {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}
@keyframes hammerStrike {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(-45deg);
  }
}
@media screen and (max-width: 700px) {
  *,
*::before,
*::after {
    font-size: 80px;
  }

  .container {
    min-width: 600px;
  }
  .container__gear, .container__hammer {
    width: 60px;
    height: 60px;
  }
}
@media screen and (max-width: 500px) {
  *,
*::before,
*::after {
    font-size: 60px;
  }

  .container {
    min-width: 400px;
  }
  .container__gear, .container__hammer {
    width: 40px;
    height: 40px;
  }
}

/*# sourceMappingURL=style.css.map */
