.animated {
  .pearls_was_bought {
    #heart_1,
    #heart_2,
    #heart_3 {
      scale: 0;
      animation-name: heart_animation;
      animation-duration: 10s;
      animation-timing-function: linear;
      animation-iteration-count: infinite;
      animation-timing-function: cubic-bezier(0.84, 1.84, 0.59, 0.72);
    }

    #heart_1 {
      animation-delay: 0;
      transform-origin: 1494px 4119px;
    }
    #heart_2 {
      animation-delay: 6s;
      transform-origin: 2243px 3056px;
    }
    #heart_3 {
      animation-delay: 3s;
      transform-origin: 3048px 2242px;
    }

    .boom {
      scale: 8;
      line {
        opacity: 0;
        stroke: black;
        animation-duration: 10s;
        animation-iteration-count: infinite;
        animation-delay: var(--animation-delay);
        animation-name: pearls_was_bought_boom_lines_animation;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
      }
    }

    .boom_1 {
      translate: 897px 3217px;
    }
    .boom_2 {
      translate: 1649px 2217px;
    }
    .boom_3 {
      translate: 2450px 1360px;
    }
  }
}

@keyframes heart_animation {
  0% {
    scale: 0;
    opacity: 1;
    translate: 300px 600px;
  }
  2% {
    scale: 1.3;
    opacity: 1;
    translate: 300px 600px;
  }
  4% {
    scale: 1;
    opacity: 1;
    translate: 300px 600px;
  }
  65% {
    scale: 1;
    opacity: 1;
    translate: -300px -500px;
  }
  67% {
    scale: 1;
    scale: 1.2;
    translate: -300px -500px;
  }
  68% {
    scale: 1;
    scale: 1.2;
    translate: -300px -500px;
    opacity: 0;
  }
  100% {
    scale: 1;
    scale: 1.2;
    translate: -300px -500px;
    opacity: 0;
  }
}

@keyframes pearls_was_bought_boom_lines_animation {
  0% {
    opacity: 0;
    stroke-dashoffset: -12;
    stroke-dasharray: 1px 48px;
  }
  65% {
    opacity: 0;
    stroke-dashoffset: -12;
    stroke-dasharray: 1px 48px;
  }
  66% {
    opacity: 1;
    stroke-dashoffset: -12;
    stroke-dasharray: 1px 48px;
  }
  70% {
    opacity: 1;
    stroke-dashoffset: -27;
    stroke-dasharray: 7px 48px;
  }
  74% {
    opacity: 1;
    stroke-dashoffset: -38;
    stroke-dasharray: 0px 48px;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: -38;
    stroke-dasharray: 0px 48px;
  }
}
