.animated {
  #surrender {
    #hand_with_flag {
      animation-name: hand_with_flag_animation;
      animation-duration: 2s;
      animation-timing-function: ease-in-out;
      animation-iteration-count: infinite;
      animation-direction: alternate;
      transform-origin: center 10000px;
    }
  }
}

@keyframes hand_with_flag_animation {
  0% {
    rotate: -15deg;
  }

  100% {
    rotate: -5deg;
  }
}