:root {
  --text-color: #fff;
  --font-family: "Rubik", sans-serif;
}

/* Paste this css to your style sheet file or under head tag */
/* This only works with JavaScript, 
      if it's not present, don't show loader */
.no-js #loader {
  display: none;
}

.js #loader {
  display: block;
  position: absolute;
  left: 100px;
  top: 0;
}

.loader {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999999;
  background: center no-repeat;
}

.loader img {
  position: absolute;
  width: 50px;
  top: 40%; /* Adjust this for desired position */
  left: 50%;
  transform: translate(-50%, -50%);
  animation: loading-display 1s ease-out;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
  font-weight: lighter;
}

.loader span {
  position: absolute;
  top: calc(40% + 60px); /* Adjust based on the image size and desired spacing */
  left: 50%;
  color: #999 !important;
  transform: translate(-50%, -50%);
  font-size: 1.3rem !important;
  animation: loading-display 2s ease-out;
  animation-delay: 1.2s;
  animation-fill-mode: forwards;
  opacity: 0;
  font-weight: lighter;
}

@keyframes loading-display {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}/*# sourceMappingURL=loader.css.map */