.animated {
  .boom {
    scale: 60;

    line {
      stroke: var(--stroke-color, white);
      opacity: 0;
      animation-name: linesAnimation;
      animation-duration: 1s;
      animation-delay: var(--boom-animation-delay);
      animation-timing-function: linear;
      animation-iteration-count: 1;

      &:nth-child(1) {
        display: var(--display-1, block);
      }
      &:nth-child(2) {
        display: var(--display-2, block);
      }
      &:nth-child(3) {
        display: var(--display-3, block);
      }
      &:nth-child(4) {
        display: var(--display-4, block);
      }
      &:nth-child(5) {
        display: var(--display-5, block);
      }
      &:nth-child(6) {
        display: var(--display-6, block);
      }
      &:nth-child(7) {
        display: var(--display-7, block);
      }
      &:nth-child(8) {
        display: var(--display-8, block);
      }
    }
  }
}

@keyframes linesAnimation {
  0% {
    opacity: 1;
    stroke-dashoffset: -12;
    stroke-dasharray: 1px 48px;
  }
  40% {
    opacity: 1;
    stroke-dashoffset: -27;
    stroke-dasharray: 7px 48px;
  }
  99% {
    opacity: 1;
    stroke-dashoffset: -38;
    stroke-dasharray: 0px 48px;
  }
  100% {
    opacity: 0;
  }
}
