.animate() {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animate-infinite() {
  .animate();
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}