.preloader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  aspect-ratio: 1;
  display: grid;
  border: 4px solid #FFFFFF;
  border-right-color: transparent;
  border-radius: 50%;
  animation: l15 1s infinite linear;
}

.loader::before,
.loader::after {
  content: "";
  grid-area: 1/1;
  margin: 2px;
  border: 4px solid #E53935;
  border-right-color: transparent;
  border-radius: 50%;
  animation: l15 2s infinite;
}

.loader::after {
  margin: 8px;
  border: 4px solid #FFFFFF;
  border-right-color: transparent;
  animation-duration: 3s;
}

@keyframes l15 {
  100% {
    transform: rotate(1turn);
  }
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background-color: #E53935;
  box-shadow: 0 0 10px rgba(229, 57, 53, 0.7), 0 0 5px rgba(229, 57, 53, 0.5);
  z-index: 100000;
  transition: width 0.1s ease-out;
  pointer-events: none;
}

body {
  background-color: #0b0b0b;
  background-image: url('images/Backgrounds/bg-texture.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}