.animated {
  .take_away_money_in {
    #weapon {
      animation-name: weapon_animation;
      animation-duration: 1s;
      animation-timing-function: linear;
      animation-iteration-count: infinite;
    }

    #fire {
      display: block;
      transform-origin: 3700px 5330px;
      transform: scale(0);
      animation-name: weapon_fire_animation;
      animation-duration: 1s;
      animation-timing-function: linear;
      animation-iteration-count: infinite;
    }
  }
}

@keyframes weapon_animation {
  0% {
    transform: translateX(0px);
  }
  5% {
    transform: translateX(-50px);
  }
  10% {
    transform: translateX(0px);
  }
  15% {
    transform: translateX(0px);
  }
  20% {
    transform: translateX(-50px);
  }
  25% {
    transform: translateX(0px);
  }
  30% {
    transform: translateX(0px);
  }
  35% {
    transform: translateX(-50px);
  }
  40% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(0px);
  }
}

@keyframes weapon_fire_animation {
  0% {
    transform: scale(0);
  }
  5% {
    transform: scale(1);
  }
  10% {
    transform: scale(0);
  }
  15% {
    transform: scale(0);
  }
  20% {
    transform: scale(1);
  }
  25% {
    transform: scale(0);
  }
  30% {
    transform: scale(0);
  }
  35% {
    transform: scale(1);
  }
  40% {
    transform: scale(0);
  }
  100% {
    transform: scale(0);
  }
}
