@import "../../../style/colors";
svg {
  shape-rendering: geometricPrecision
}

g, path, circle, rect {
  transform-origin: 50% 50%;
  transform-box: fill-box;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-duration: 12s;
  animation-direction: normal;
}

.climacon_componentWrap-sun_cloud {
  animation-name: few-clouds-behindCloudMove, few-clouds-rotate;
  animation-iteration-count: 1, infinite;
  animation-timing-function: ease-out, linear;
  animation-delay: 0, 3s;
  animation-duration: 3s, 12s;
  fill: $color-sun;
}

.climacon_component-stroke_sunSpoke {
  fill-opacity: 0;
  animation-name: few-clouds-fillOpacity, few-clouds-scale;
  animation-direction: alternate;
  animation-iteration-count: 1, infinite;
  animation-delay: 3s, 0;
  animation-duration: 3s;
  animation-fill-mode: both;
}

.climacon_component-stroke_sunSpoke:nth-child(even) {
  animation-delay: 3s;
}

.climacon_componentWrap-cloud {
  fill: $color-cloud;
}

@keyframes few-clouds-rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes few-clouds-scale {
  0% {
    transform: scale(1, 1)
  }
  100% {
    transform: scale(.5, .5)
  }
}

@keyframes few-clouds-behindCloudMove {
  0% {
    transform: translateX(-1.75px) translateY(1.75px);
  }

  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes few-clouds-fillOpacity {
  0% {
    fill-opacity: 0;
    stroke-opacity: 0;
  }

  100% {
    fill-opacity: 1;
    stroke-opacity: 1;
  }
}
