/* RESET */

.c-navbar {
  border-bottom: none;

  .v--signup {
    background-color: var(--color-black);
    border-color: var(--color-black);
  }
}

section:has(h1) {
  padding-top: 8vh;
  padding-bottom: 6vh;
}

h1 {
  font-size: max(var(--font-size-3xl), 10vmin);
}

/* ==== */

.t-sticky-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-type: y mandatory;
}

.t-sticky-scroll__child {
  --offset: 20px;
  --header-height: 90px;

  width: 100%;
  height: calc(100vh - (var(--header-height) - var(--offset)));
  position: sticky;
  top: var(--header-height);
  scroll-snap-align: start;
  margin-top: 100vh;
  padding-bottom: var(--offset);
  border-radius: var(--offset) var(--offset) 0 0;

  &:first-child {
    margin-top: 0;
  }

  @media screen and (max-width: 768px) {
    position: relative;
    top: auto;
    height: auto;
    margin-top: calc(var(--offset) * -1);

    &:first-child {
      margin-top: 0;
    }
  }

  .t-sticky-scroll__child-inner {
    padding: max(40px, 8vh) 0;

    h3 {
      font-size: max(5vmin, var(--font-size-xl));
      letter-spacing: -2px;
      line-height: 1.1071;

      @media screen and (max-width: 768px) {
        font-size: var(--font-size-5xl);
      }
    }

    video {
      max-width: min(80vmin, 736px);
    }
  }
}

.t-play-button-text {
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(-360deg) }
}
