.animated {
  .investment_objective {
    #logo {
      animation-name: heartbeat_animation;
      animation-duration: 1s;
      animation-timing-function: linear;
      animation-iteration-count: infinite;
      transform-origin: center center;
    }

    #background {
      animation-name: background_animation;
      animation-duration: 10s;
      animation-timing-function: linear;
      animation-iteration-count: infinite;
      animation-direction: alternate;
      transform-origin: center center;
    }
  }
}

@keyframes heartbeat_animation {
  0% {
    transform: scale(0.95);
  }
  20% {
    transform: scale(1);
  }
  40% {
    transform: scale(0.95);
  }
  60% {
    transform: scale(1);
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(0.95);
  }
}

@keyframes background_animation {
  0% {
    rotate: 0deg;
    scale: 1;
  }
  50% {
    rotate: -10deg;
  }
  100% {
    rotate: 0deg;
    scale: 1.2;
  }
}
