/* ==========================================================
   TEXT SCROLL  (SO ARE YOU READY?)
   ========================================================== */

.textAbs{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-left: 0.25vw solid #ff3b1f;
  border-right: 0.25vw solid #ff3b1f;

}
.textScroll {
  position: relative;
  width: 100%;
  background-color: #f0ece2;
  height: 100vh;
  height: 100svh;

  display: flex;
  align-items: center;

  overflow: hidden;

}


.textScroll p {
  margin: 0;

  width: max-content;

  white-space: nowrap;

  font-family: 'font1medium';
  font-size: 20rem;
  line-height: 0.9;

  padding-left: 100%;

  /*
    Tighter typography.
  */
  /* letter-spacing: -0.04em; */

  flex-shrink: 0;

  will-change: transform;
}


.textScroll .word {
  display: inline-block;

  white-space: nowrap;

  letter-spacing: inherit;
}


.textScroll .char {
  display: inline-block;

  white-space: pre;

  /*
    Small additional tightening.
  */
  /* margin-right: -0.008em; */

  will-change: transform;

  backface-visibility: hidden;

  transform: translateZ(0);
}
.textAbs{
  display: flex;
  justify-content: center;
  align-items: center;
}
.textAbs img{
  width: 10vw;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

  .textScroll p {
    font-size: 12rem;
  }
}


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

@media (max-width: 700px) {

  .textScroll {
    height: 100vh;
    height: 100svh;
  }

  .textScroll p {
    font-size: 6rem;
  }

  .textAbs img {
    width: 20vw;
  }
}


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

@media (max-width: 420px) {

  .textScroll p {
    font-size: 4rem;
  }

  .textAbs img {
    width: 26vw;
  }
}
