body,
html {
  overflow: auto;
}

.fullscreen-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9998;
  pointer-events: none;
  visibility: visible;
}

.loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  z-index: 9999;
  pointer-events: none;
  visibility: visible;
}

.circle {
  position: absolute;
  border-radius: 50%;
  border: 10px solid transparent;
  top: 0;
  left: 0;
}

.circle:nth-child(1) {
  width: 100%;
  height: 100%;
  border-top-color: red;
  animation: spin 1s linear infinite;
}

.circle:nth-child(2) {
  width: 100%;
  height: 100%;
  border-top-color: blue;
  animation: spin 1s linear infinite reverse;
}

.circle:nth-child(3) {
  width: 80%;
  height: 80%;
  border: 8px solid transparent;
  border-top-color: green;
  top: 10%;
  left: 10%;
  animation: spin 1.2s linear infinite;
}

.circle:nth-child(4) {
  width: 60%;
  height: 60%;
  border: 6px solid transparent;
  border-top-color: yellow;
  top: 20%;
  left: 20%;
  animation: spin 1.5s linear infinite reverse;
}

.circle:nth-child(5) {
  width: 40%;
  height: 40%;
  border: 4px solid transparent;
  border-top-color: purple;
  top: 30%;
  left: 30%;
  animation: spin 1.8s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
