.x-loading {
  --loading-width: 72px;
  --loading-border-width: 9px;
  position: fixed;
  z-index: 999999999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.x-loading > .loader {
  border: var(--loading-border-width) solid rgba(255, 255, 255, .5);
  border-left-color: transparent;
  width: var(--loading-width);
  height: var(--loading-width);
  border-radius: 50%;
  animation: xloading 1s linear infinite;
}

@keyframes xloading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}