/* DESKTOP CSS for the promo section */
/* make promo 100vh, centered, and snap into view */
.promo {
  padding-bottom: 5vh;
  text-align: center;
  background-color: white;
  scroll-snap-align: start;    /* scroll snap to section */
}

.ascii-runner {
  background-color: #000;
  padding: 6rem 0 1em 0;
  width: 100vw;
  color: #fbb63f;
  position: relative;
  overflow: hidden;     /* hide anything outside the box */
  white-space: nowrap;  /* prevent wrapping */
}

.ascii-runner pre {
  display: inline-block;  
  margin: 0;              /* reset default pre margins */
  animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
  from { transform: translateX(90%); }
  to   { transform: translateX(-95%); }
}

/* space out your heading */
.promo h1 {
  margin-bottom: 2rem;
  color: #323232;                 /* or whatever you like */
  font-size: clamp(1.5rem, 4vw, 3rem);
}

/* size the video just like before */
.promo .promo-video {
  width: 70vw;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 2em auto;
}
.promo .promo-video iframe {
  width : 100%;
  height: 100%;
  border: 0;
}

.promo::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 150px;  /* total fade distance */
  background: linear-gradient(
    to top,
    rgba(26,26,26,0.25) 0%,
    rgba(26,26,26,0) 100%
  );
  pointer-events: none;
  z-index: 2;
}