.pre-loader {
  margin: 0;
  padding: 0;
  position: fixed;
  top: 0;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: white;
  z-index: 999;
}

.loader {
    background: white;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(rgb(247, 231, 7), rgb(247, 231, 7), rgb(247, 231, 7));
  animation: animate 1s linear infinite;
}

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

.loader span {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(#101820ff, #101820ff, rgb(247, 231, 7));
}

.loader span:nth-child(1) {
  filter: blur(3px);
}

.loader span:nth-child(2) {
  filter: blur(5px);
}

.loader::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: white;
  border-radius: 50%;
}