
#preloader{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 50%;
    transform: translateY(-50%);
    background-color: #141414;
    color: #fff;
    z-index: 2000;
    transition: all 0.5s ease;
    overflow: hidden;
  }

  /* From Uiverse.io by Novaxlo */ 
.loader {
  width: 100vw;
  height: 100%;
  margin: 0;
  color: white;
  font-weight: 300;
  font-style: oblique;
  font-size: clamp(24px, 5vw, 150px);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;
}

.loader p {
  font-size: 1.5em;
}

.arrows {
  width: 1.75em;
  height: 2em;
  padding-left: 1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5em;
}

.arrow1,
.arrow2,
.arrow3,
.arrow4 {
  width: 0.75em;
  height: 0.75em;
  border: solid 0.05em transparent;
}
.arrowsup {
  width: 100%;
  height: 25%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.arrowsbottom {
  width: 100%;
  height: 25%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.arrow1 {
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 0% 100%);
  animation: whitechange 2s linear infinite;
}
.arrow2 {
  clip-path: polygon(0% 0%, 0% 0%, 100% 100%, 0% 100%);
  animation: whitechange 2s linear infinite 0.5s;
}
.arrow3 {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 0%);
  animation: whitechange 2s linear infinite 1.5s;
}
.arrow4 {
  clip-path: polygon(0% 0%, 100% 0%, 0% 100%, 0% 100%);
  animation: whitechange 2s linear infinite 1s;
}

.loader p:nth-child(1) {
  animation: changefont 2s linear infinite;
}
.loader p:nth-child(2) {
  animation: changefont 2s linear infinite 0.1s;
}
.loader p:nth-child(3) {
  animation: changefont 2s linear infinite 0.2s;
}
.loader p:nth-child(4) {
  animation: changefont 2s linear infinite 0.3s;
}
.loader p:nth-child(5) {
  animation: changefont 2s linear infinite 0.4s;
}
.loader p:nth-child(6) {
  animation: changefont 2s linear infinite 0.5s;
}
.loader p:nth-child(7) {
  animation: changefont 2s linear infinite 0.6s;
}

@keyframes whitechange {
  0% {
    background-color: transparent;
    box-shadow: none;
  }
  25% {
    background-color: white;
  }
  50% {
    background-color: transparent;
    box-shadow: none;
  }
  100% {
    background-color: transparent;
    box-shadow: none;
  }
}

@keyframes changefont {
  0% {
    padding-bottom: 0em;
  }
  50% {
    padding-bottom: 0em;
  }
  75% {
    padding-bottom: 1em;
  }
  100% {
    color: #007BFF;
    padding-bottom: 0em;
  }
}