.preloader {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  z-index: 1;
  /* background: rgb(25, 51, 176); */
  background: transparent;
  transition: 2.5s ease-out;
}

.preloader::after {
  content: "";
  display: block;
  background: radial-gradient(
    circle,
    rgb(25 51 176 / 60%) 0%,
    rgba(3, 7, 35, 1) 50%
  );
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.circle {
  width: 20vw;
  height: 20vw;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 1) 0%,
    rgb(220, 220, 220) 40%,
    rgb(170, 170, 170) 98%,
    rgb(10, 10, 10) 100%
  );
  border-radius: 50%;
  position: relative;
}
.circle:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  border-radius: 100%;
  border-bottom: 0 solid #ffffff05;

  box-shadow: 0 -10px 20px 20px #ffffff40 inset,
    0 -5px 15px 10px #ffffff50 inset, 0 -2px 5px #ffffff80 inset,
    0 -3px 2px #ffffffbb inset, 0 2px 0px #ffffff, 0 2px 3px #ffffff,
    0 5px 5px #ffffff90, 0 10px 15px #ffffff60, 0 10px 20px 20px #ffffff40;
  filter: blur(3px);
  animation: 3s rotate linear infinite;
  z-index: 3;
}

.preloader h1 {
  margin-top: 40px;
  font-weight: 100;
  font-size: medium;
  animation: text 5s ease infinite;
  opacity: 0.7;
}

/* .closing::after {
  opacity: 0;
} */
.closing {
  opacity: 0;
}


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

@keyframes text {
  0% {
    transform: translateX(-30px);
    letter-spacing: 0px;
  }

  25% {
    letter-spacing: 3px;
  }

  50% {
    transform: translateX(30px);
    letter-spacing: 0px;
  }

  75% {
    letter-spacing: 3px;
  }

  100% {
    transform: translateX(-30px);
    letter-spacing: 0px;
  }
}
