.spinner {
  border: 0.5rem solid #f3f3f1;
  border-top: 0.5rem solid var(--core-dark);
  border-radius: 50%;
  width: 3.125rem;
  height: 3.125rem;
  animation: spin 2s linear infinite;
  position: absolute;
  position: absolute;
  top: 43%; /* centered without transform: translate(-50%, -50%) */
  left: 47.5%;
  z-index: 10;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.p1-demo__loading--dots .loading-dot {
  background-color: rgb(68, 98, 237);
  width: 0.625rem;
  height: 0.625rem;
  margin: 0.125rem;
  border-radius: 100%;
  display: inline-block;
}

.dot-1 {
  animation: 0.75s cubic-bezier(0.2, 0.68, 0.18, 1.08) 0.12s infinite normal
    both running pulse;
}

.dot-2 {
  animation: 0.75s cubic-bezier(0.2, 0.68, 0.18, 1.08) 0.24s infinite normal
    both running pulse;
}

.dot-3 {
  animation: 0.75s cubic-bezier(0.2, 0.68, 0.18, 1.08) 0.36s infinite normal
    both running pulse;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  45% {
    transform: scale(0.1);
    opacity: 0.7;
  }

  80% {
    transform: scale(1);
    opacity: 1;
  }
}
