.preloader-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 60px;
  transform: translate3d(-50%, -50%, 0);
}

.preloader-spinner > div {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.preloader-spinner > div:before {
  content: "";
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  background-color: var(--preloader-spinner-color);
  border-radius: 50%;
  animation: spinner-5 1.2s infinite ease-in-out both;
}
.preloader-spinner > div:nth-child(2) {
  transform: rotate(30deg);
}
.preloader-spinner > div:nth-child(2):before {
  animation-delay: -1.1s;
}
.preloader-spinner > div:nth-child(3) {
  transform: rotate(60deg);
}
.preloader-spinner > div:nth-child(3):before {
  animation-delay: -1s;
}
.preloader-spinner > div:nth-child(4) {
  transform: rotate(90deg);
}
.preloader-spinner > div:nth-child(4):before {
  animation-delay: -0.9s;
}
.preloader-spinner > div:nth-child(5) {
  transform: rotate(120deg);
}
.preloader-spinner > div:nth-child(5):before {
  animation-delay: -0.8s;
}
.preloader-spinner > div:nth-child(6) {
  transform: rotate(150deg);
}
.preloader-spinner > div:nth-child(6):before {
  animation-delay: -0.7s;
}
.preloader-spinner > div:nth-child(7) {
  transform: rotate(180deg);
}
.preloader-spinner > div:nth-child(7):before {
  animation-delay: -0.6s;
}
.preloader-spinner > div:nth-child(8) {
  transform: rotate(210deg);
}
.preloader-spinner > div:nth-child(8):before {
  animation-delay: -0.5s;
}
.preloader-spinner > div:nth-child(9) {
  transform: rotate(240deg);
}
.preloader-spinner > div:nth-child(9):before {
  animation-delay: -0.4s;
}
.preloader-spinner > div:nth-child(10) {
  transform: rotate(270deg);
}
.preloader-spinner > div:nth-child(10):before {
  animation-delay: -0.3s;
}
.preloader-spinner > div:nth-child(11) {
  transform: rotate(300deg);
}
.preloader-spinner > div:nth-child(11):before {
  animation-delay: -0.2s;
}
.preloader-spinner > div:nth-child(12) {
  transform: rotate(330deg);
}
.preloader-spinner > div:nth-child(12):before {
  animation-delay: -0.1s;
}

@keyframes spinner-5 {
  0%, 39%, 100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}
