.spin {
  &__load-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    width: 100%;
  }

  &__load {
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
  }

  &__load hr {
    border: 0;
    margin: 0;
    width: 40%;
    height: 40%;
    position: absolute;
    border-radius: 50%;
    animation: spin 2s ease infinite;
  }

  &__load :first-child {
    background: #19a68c;
    animation-delay: -1.5s;
  }

  &__load :nth-child(2) {
    background: #f63d3a;
    animation-delay: -1s;
  }

  &__load :nth-child(3) {
    background: #fda543;
    animation-delay: -0.5s;
  }

  &__load :last-child {
    background: #193b48;
  }
}

@keyframes spin {
  0%,
  100% {
    transform: translate(0);
  }
  25% {
    transform: translate(160%);
  }
  50% {
    transform: translate(160%, 160%);
  }
  75% {
    transform: translate(0, 160%);
  }
}
