.hero-video-card {
  position: relative;

  video {
    aspect-ratio: 1920 / 2400;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;

    @media screen and (min-width: 440px) {
      aspect-ratio: 1920 / 2320;
    }

    @media screen and (min-width: 626px) {
      aspect-ratio: 1920 / 2200;
    }

    @media screen and (min-width: 680px) {
      aspect-ratio: 1920 / 2000;
    }

    @media screen and (min-width: 800px) {
      aspect-ratio: 1920 / 1800;
    }

    @media screen and (min-width: 900px) {
      aspect-ratio: 1920 / 1600;
    }

    @media screen and (min-width: 1024px) {
      aspect-ratio: 1920 / 1400;
    }

    @media screen and (min-width: 1100px) {
      aspect-ratio: 1920 / 1300;
    }

    @media screen and (min-width: 1280px) {
      aspect-ratio: 1920 / 1200;
    }

    @media screen and (min-width: 1350px) {
      aspect-ratio: 1920 / 1100;
    }

    @media screen and (min-width: 1440px) {
      aspect-ratio: 1920 / 1000;
    }

    @media screen and (min-width: 1640px) {
      aspect-ratio: 1920 / 900;
    }

    @media screen and (min-width: 1750px) {
      aspect-ratio: 1920 / 800;
    }

    @media screen and (min-width: 1920px) {
      aspect-ratio: 1920 / 771;
    }
  }
}

.hero-video-card__content {
  position: absolute;
  display: flex;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;

  h1,
  h2,
  h3,
  h4,
  h5 {
    color: var(--Alias-Neutral-White);
    text-align: center;
    font-size: var(--heading-md-font-size);
    line-height: var(--heading-md-line-height);
    letter-spacing: var(--heading-md-letter-spacing);
    text-shadow: 0 0 2.375rem rgba(106, 122, 147, 0.42);

    @media screen and (min-width: 492px) {
      font-size: var(--heading-lg-font-size);
      line-height: var(--heading-lg-line-height);
      letter-spacing: var(--heading-lg-letter-spacing);
    }

    @media screen and (min-width: 720px) {
      font-size: var(--heading-xl-font-size);
      line-height: var(--heading-xl-line-height);
      letter-spacing: var(--heading-xl-letter-spacing);
    }
  }

  p {
    color: var(--Alias-Neutral-White);
    text-align: center;
    text-shadow: 0 0 2.375rem rgba(106, 122, 147, 0.42);
    font-size: 0.6875rem;

    @media screen and (min-width: 400px) {
      font-size: 0.75rem;
    }

    @media screen and (min-width: 440px) {
      font-size: 0.8125rem;
    }

    @media screen and (min-width: 492px) {
      font-size: 0.9375rem;
    }

    @media screen and (min-width: 560px) {
      font-size: 1rem;
    }

    @media screen and (min-width: 682px) {
      font-size: 1.125rem;
    }

    @media screen and (min-width: 720px) {
      font-size: 1.375rem;
    }

    @media screen and (min-width: 760px) {
      font-size: 1.5rem;
    }
  }
}

.field--name-field-hero-content {
  >p:first-child {
    font-size: 1.75rem;

    @media screen and (min-width: 492px) {
      font-size: 2rem;
    }

    @media screen and (min-width: 560px) {
      font-size: 2.25rem;
    }

    @media screen and (min-width: 682px) {
      font-size: 2.625rem;
    }

    @media screen and (min-width: 720px) {
      font-size: 4rem;
    }
  }

  >p:last-child {
    text-transform: uppercase;
  }
}

.hero-video-card__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(wave3.png) repeat-x;
  top: 0;
  background-position-x: center;
  background-position-y: calc(100% + 20px);

  @media screen and (min-width: 1024px) {
    background-position-y: 101%;
  }
}