[loading-page]::before, [loading-page]::after {
  display: block;
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
[loading-page]::before {
  background: radial-gradient(#FFFFFF, #EFEFEF);
}
[loading-page]::after {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border-style: solid;
  border-width: 8px;
  border-color: rgba(66, 66, 66, 0.2);
  border-color: #0168B3 transparent;
  margin: auto;
  animation: rotate infinite 1s cubic-bezier(0.08, 0.33, 0.75, 0.49);
  animation-play-state: paused;
}

[loading-page=true] {
  position: fixed;
}
[loading-page=true]::before, [loading-page=true]::after {
  opacity: 1;
  visibility: visible;
}
[loading-page=true]::after {
  animation-play-state: running;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media all and (max-width: 767px) {
  [loading-page]::after {
    width: 40px;
    height: 40px;
    border-width: 5px;
  }
}