@import '../scss/init.scss';

.spinner {
  animation: rotate 0.5s linear infinite;
  width: 60px;
  height: 60px;
  transform-origin: center center;
}

.path {
  stroke: $c_primary;
  stroke-dasharray: 30, 30;
  stroke-dashoffset: 0;
  stroke-width: 2;
  stroke-linecap: round;
  // animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}