/* ==========================================================================
   TextPressure Section - Reveal from behind footer
   ========================================================================== */

/* Fixed at bottom of viewport — footer scrolls over it and reveals it */
.text-pressure-section {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  overflow: hidden;
}

.text-pressure-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.text-pressure-title {
  color: #ffffff;
}

.text-pressure-flex {
  display: flex;
  justify-content: space-between;
}

/* Everything above must cover the fixed section */
main#main-content {
  position: relative;
  z-index: 1;
  background-color: var(--bg-primary);
}

.footer {
  position: relative;
  z-index: 2;
}

/* Add space at the very bottom so user can scroll past footer to reveal */
body::after {
  content: "";
  display: block;
  height: 230px;
}

/* ====================================== Responsive ==========================*/
@media (max-width: 767px) {
  .text-pressure-section {
    height: 200px;
  }

  body::after {
    height: 180px;
  }
}