@import "../../../style/colors";
svg {
  shape-rendering: geometricPrecision;
  fill: $color-sun;
}

g, path, circle, rect {
  transform-origin: 50% 50%;
  transform-box: fill-box;
  animation-timing-function: linear;
  animation-direction: normal;
  animation-iteration-count: infinite;
  animation-duration: 12s;
}

.la-clear-sky-component-wrap-sun {
  animation-name: clear-sky-rotate;
}

.la-clear-sky-sun-spoke {
  animation-name: clear-sky-scale;
  animation-direction: alternate;
  animation-duration: 3s;
}

.la-clear-sky-sun-spoke:nth-child(even) {
  animation-delay: 3s;
}

@keyframes clear-sky-rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes clear-sky-scale {
  0% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(.5, .5);
  }
}

