.animated {
  .labor_cost_index_down_19 {
    #leg {
      animation-name: legAnimation;
      animation-duration: 5s;
      animation-timing-function: linear;
      animation-iteration-count: infinite;
      transform-origin: 7160px 4233px;
    }

    #person {
      animation-name: personAnimation;
      animation-duration: 5s;
      animation-timing-function: linear;
      animation-iteration-count: infinite;
      transform-origin: 2705px 4547px;
    }

    #person_shadow {
      animation-name: personShadowAnimation;
      animation-duration: 5s;
      animation-timing-function: linear;
      animation-iteration-count: infinite;
      transform-origin: 2890px 6672px;
    }

    #right_arm {
      animation-name: personArmAnimation;
      transform-origin: 2430px 4551px;
    }
    #left_arm {
      animation-name: personArmAnimation;
      animation-delay: -1s;
      transform-origin: 2785px 4329px;
    }
    #right_leg {
      animation-name: personLegAnimation;
      animation-delay: -0.5s;
      transform-origin: 2721px 4841px;
    }
    #left_leg {
      animation-name: personLegAnimation;
      animation-delay: -1.5s;
      transform-origin: 3028px 4739px;
    }

    #right_arm,
    #left_arm,
    #right_leg,
    #left_leg {
      animation-duration: 1s;
      animation-timing-function: ease-in-out;
      animation-iteration-count: infinite;
      animation-direction: alternate;
    }

    #fire {
      animation-name: fireAnimation;
      animation-duration: 5s;
      animation-timing-function: linear;
      animation-iteration-count: infinite;
      transform-origin: 5464px 4616px;
    }
  }
}

@keyframes legAnimation {
  0% {
    rotate: -60deg;
    translate: 6000px 0px;
  }
  10% {
    rotate: -20deg;
    translate: 2000px 0px;
  }
  20% {
    rotate: -10deg;
    translate: 500px 0px;
  }
  50% {
    rotate: 3deg;
    translate: 0px 0px;
  }
  60% {
    translate: 5000px 3000px;
  }
  100% {
    translate: 5000px 3000px;
  }
}

@keyframes personAnimation {
  0% {
    rotate: 0deg;
    translate: 5000px 2000px;
  }
  10% {
    rotate: -50deg;
    translate: 0px 0px;
  }
  100% {
    rotate: -360deg;
    translate: -5000px 0px;
  }
}

@keyframes fireAnimation {
  0% {
    scale: 0;
  }
  10% {
    scale: 0;
  }
  20% {
    scale: 1;
  }
  60% {
    scale: 1;
    translate: -1000px 0px;
  }
  65% {
    translate: -10000px 500px;
  }
  100% {
    translate: -10000px 500px;
  }
}

@keyframes personShadowAnimation {
  0% {
    scale: 1.2;
    translate: 5000px 0px;
  }
  10% {
    scale: 1;
    translate: 0px 0px;
  }
  100% {
    scale: 1;
    translate: -5000px 0px;
  }
}

@keyframes personLegAnimation {
  0% {
    rotate: -10deg;
  }
  100% {
    rotate: 15deg;
  }
}

@keyframes personArmAnimation {
  100% {
    rotate: 40deg;
  }
}
