* {
  padding: 0;
  margin: 0;
  border: border-box;
}

.loader {
  width: fit-content;
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.7rem;
  background: linear-gradient(
    to right,
    rgb(255, 0, 0),
    rgb(232, 14, 199),
    rgb(3, 248, 248)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.2s ease-in-out;
  /* animation: fadeIn 1s infinite alternate; */
}

#s {
  background: linear-gradient(to right, rgb(246, 40, 174), rgb(69, 47, 237));
  /* -webkit-background-clip: text; */
  transition: all 2s ease-in-out;
  -webkit-text-fill-color: transparent;
  /* animation: fadeIn 2s infinite alternate; */
  opacity: 1;
}

#h {
  position: relative;
  background: linear-gradient(to right, rgb(156, 60, 240), rgb(57, 109, 243));
  /* -webkit-background-clip: text; */
  -webkit-text-fill-color: transparent;

  transform: translateY(400px);
  transition: transform 2s ease-in-out;
  /* animation: fadeIn 2s infinite alternate; */
  opacity: 1;
}

#u {
  background: linear-gradient(to right, rgb(63, 80, 236), rgb(56, 176, 240));
  /* -webkit-background-clip: text; */
  -webkit-text-fill-color: transparent;
  transition: all 2s ease-in-out;
  /* animation: fadeIn 2s infinite alternate; */
  opacity: 1;
}

@keyframes fadeIn {
  0% {
    /* opacity: 0.3; */
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateY("70px");
    transform: translateX("100px");
    opacity: 1;
  }
}

/* From Uiverse.io by Smit-Prajapati */
.loader {
  display: none;
  height: 2px;
  width: 100%;
  background: rgb(44, 44, 44);
  position: fixed;
  /* overflow: hidden; */
  top: 0;
  z-index: 10;
}
.loader .black_overlay {
  background: linear-gradient(
    87deg,
    /* rgb(0, 0, 0) 0%,
    rgba(0, 0, 0, 0.14) 30%,
    rgba(0, 0, 0, 0.14) 70%,
    rgb(0, 0, 0) 100% */
  );
  position: absolute;
  inset: 0px;
}
.loader .light {
  width: 150px;
  height: 100%;
  position: absolute;
  left: -20%;
  top: 0px;
  background: linear-gradient(
    87deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 204, 255) 40%,
    rgb(0, 204, 255) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  animation: light 1.5s infinite ease-in-out;

  box-shadow: 0 0 30px rgb(0, 204, 255);
}

@keyframes light {
  from {
    left: -30%;
  }
  to {
    left: 100%;
  }
}
