@import './mixins/nth-child-variable';
@import './mixins/letter-scale-animation';

.animated {
  .desert_island {
    .st13 {
      animation-name: blinking_arrow;
      animation-duration: 2s;
      animation-timing-function: linear;
      animation-iteration-count: infinite;
    }

    #title {
      polygon,
      path {
        animation-name: letterScaleAnimation;
        animation-duration: 5s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        transform-origin: center center;
        animation-delay: calc(var(--nth-child) * 0.1s);

        @include nth_child_variable(35);
      }
    }
  }
}

@keyframes blinking_arrow {
  0% {
    fill: #ff005c;
  }
  50% {
    fill: #ffe200;
  }
  100% {
    fill: #ff005c;
  }
}

@include letterScaleAnimation;
