/* ==========================================================
   PRELOADER  (basic structure – restyle freely)
   Animated by js/preloader.js
   ========================================================== */

/* lock scrolling while the loader is on screen
   (class is added in <head>, removed by preloader.js) */
html.is-loading,
html.is-loading body {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;          /* above everything except the film grain */

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ff3b1f;
  color: #f0ece2;
}

.preloaderInner {


  display: flex;

  gap: 1.5rem;
    width: 100%;
  height: 100vh;
}

.preloaderLogo {
  font-family: 'font1bold';
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  position: absolute;
}
.preloaderLogo img{
  width: 10rem;
}

.preloaderBar {
  width: 100%;
  height: 2px;
  background: rgba(240, 236, 226, 0.2);
  overflow: hidden;
}

.preloaderBarFill {
  display: block;
  width: 100%;
  height: 100%;
  background: #f0ece2;
  transform-origin: left center;
  transform: scaleX(0);
}

.preloaderCount {
  align-self: flex-end;

  font-family: 'font1regular';
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}


.preloaderAbs{
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
  height: 100vh;
  position: absolute;
  padding: 2vw;

}

.preloaderInfo{
  display: flex;
  flex-direction: column;
  gap: 1vh;
  width: 20%;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

  .preloaderInfo {
    width: 55%;
  }

  .preloaderAbs {
    padding: 6vw;
  }

  .preloaderLogo img {
    width: 7rem;
  }
}