.loading-spinner {
  width: 48px;
  height: 48px;
  border: 8px solid #FFF;
  border-bottom-color: #B57EFB;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
} 
.spinner-container {
  display: grid;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 2000;
  position: fixed;
}