.animated {
  .president_tax {
    #face {
      animation-name: president_tax_head;
      animation-duration: 0.5s;
      animation-timing-function: ease-in-out;
      animation-direction: alternate;
      animation-iteration-count: infinite;
    }

    #hands_and_paper {
      animation-name: president_tax_hands_and_paper;
      animation-duration: 3s;
      animation-timing-function: ease-in-out;
      animation-direction: alternate;
      animation-iteration-count: infinite;
    }
  }
}

@keyframes president_tax_head {
  0% {
    transform: matrix(1, 0, 0, 1, 0, -50);
  }
  100% {
    transform: matrix(1, 0, 0, 1, 0, -0);
  }
}

@keyframes president_tax_hands_and_paper {
  0% {
    transform: matrix(1, 0, 0, 1, 0, -300);
  }
  100% {
    transform: matrix(1, 0, 0, 1, 0, 200);
  }
}
