@import url("https://fonts.googleapis.com/css2?family=Chonburi&family=DM+Serif+Text&family=Gravitas+One&family=Paytone+One&family=Poller+One&family=Rammetto+One&family=Saira+Stencil+One&display=swap");

.preloader {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #1c2324;
  width: 100%;
  position: fixed;
  top: 0;
  overflow: hidden;
}

.preloader h1 {
  font-family: Georgia, "Times New Roman", Times, serif;
  position: relative;
  font-size: 4rem;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  letter-spacing: 0.4rem;
  line-height: 0.75em;
  font-weight: bolder;
}
.preloader h1:before {
  background: -webkit-linear-gradient(rgb(247, 247, 247), rgb(47, 27, 27));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  overflow: hidden;
  border-bottom: 3px solid rgb(103, 103, 103);
  animation: animate 1s ease-out infinite;
}

.preload-finish {
  opacity: 0;
  pointer-events: none;
}
@keyframes animate {
  0% {
    height: 0;
  }
  100% {
    height: 100%;
  }
}
