#preloader {
  background-color: var(--background-color);
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 100000000;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
}

#preloader::before {
  content: "";
  width: 13rem;
  height: 13rem;

  border: 3px solid var(--clr-primary-tint-4);
  border-left-color: var(--primary-color);
  border-radius: 50%;

  animation: loading 1s linear infinite;
}

@keyframes loading {
  0% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0);
  }
}
