/* Center the loader */
#loader {
  height: 100vh;
  width: 100vw;
  position: absolute;
  z-index: 10003;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  top: 0;
  background: #000;
}

.loader360 {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.loader360 div {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  animation: loader360 1.2s linear infinite;
}
.loader360 div:nth-child(1) {
  top: 8px;
  left: 8px;
  animation-delay: 0s;
}
.loader360 div:nth-child(2) {
  top: 8px;
  left: 32px;
  animation-delay: -0.4s;
}
.loader360 div:nth-child(3) {
  top: 8px;
  left: 56px;
  animation-delay: -0.8s;
}
.loader360 div:nth-child(4) {
  top: 32px;
  left: 8px;
  animation-delay: -0.4s;
}
.loader360 div:nth-child(5) {
  top: 32px;
  left: 32px;
  animation-delay: -0.8s;
}
.loader360 div:nth-child(6) {
  top: 32px;
  left: 56px;
  animation-delay: -1.2s;
}
.loader360 div:nth-child(7) {
  top: 56px;
  left: 8px;
  animation-delay: -0.8s;
}
.loader360 div:nth-child(8) {
  top: 56px;
  left: 32px;
  animation-delay: -1.2s;
}
.loader360 div:nth-child(9) {
  top: 56px;
  left: 56px;
  animation-delay: -1.6s;
}
@keyframes loader360 {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.rotate {
  animation: rotation 3s infinite linear;
}

@keyframes rotation {
  from {
    transform: rotate(359deg);
    /*transform: rotate(0deg);*/
  }
  to {
    transform: rotate(0deg);
    /*transform: rotate(359deg);*/
  }
}
