/* Parallax Landing Page Styles - Essential Only */

:root {
  --md-parallax-perspective: 2.5rem;
}

/* Main parallax container */
.mdx-parallax {
  height: 100vh;
  margin-top: -2.4rem;
  overflow: hidden auto;
  overscroll-behavior-y: none;
  perspective: var(--md-parallax-perspective);
  scroll-behavior: smooth;
  width: 100vw;
}

/* Parallax group sections */
.mdx-parallax__group {
  background-color: var(--md-default-bg-color);
  color: var(--md-typeset-color);
  display: block;
  position: relative;
  transform-style: preserve-3d;
}

.mdx-parallax__group:first-child {
  background-color: initial;
  contain: strict;
  height: 140vh;
}

.safari .mdx-parallax__group:first-child {
  contain: none;
}

@media (min-width: 125vh) {
  .mdx-parallax__group:first-child {
    height: 120vw;
  }
}

@media (min-width: 137.5vh) {
  .mdx-parallax__group:first-child {
    height: 125vw;
  }
}

@media (min-width: 150vh) {
  .mdx-parallax__group:first-child {
    height: 130vw;
  }
}

@media (min-width: 162.5vh) {
  .mdx-parallax__group:first-child {
    height: 135vw;
  }
}

@media (min-width: 175vh) {
  .mdx-parallax__group:first-child {
    height: 140vw;
  }
}

@media (min-width: 187.5vh) {
  .mdx-parallax__group:first-child {
    height: 145vw;
  }
}

@media (min-width: 200vh) {
  .mdx-parallax__group:first-child {
    height: 150vw;
  }
}

.mdx-parallax__group:last-child {
  background-color: var(--md-default-bg-color);
}

/* Parallax layers (images) */
.mdx-parallax__layer {
  display: block;
  height: max(120vh, 100vw);
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: translateZ(calc(var(--md-parallax-perspective) * var(--md-parallax-depth) * -1)) 
             scale(calc(var(--md-parallax-depth) + 1));
  transform-origin: 50vw 50vh;
  width: 100vw;
  z-index: calc(10 - var(--md-parallax-depth, 0));
}

.mdx-parallax__image {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: var(--md-image-position, 50%);
  position: absolute;
  width: 100%;
  z-index: -1;
}

/* Blend gradient overlay */
.mdx-parallax__blend {
  background-image: linear-gradient(to bottom, #0000, var(--md-default-bg-color));
  bottom: 0;
  height: min(100vh, 100vw);
  top: auto;
}

/* Hero section */
.mdx-hero {
  display: block;
  height: inherit;
}

.js .mdx-hero[hidden] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: transform 0ms 0.1s, opacity 0.1s;
}

.mdx-hero__scrollwrap {
  height: 100vh;
  margin-bottom: -100vh;
  position: sticky;
  top: 0;
  z-index: 9;
}

.mdx-hero__inner {
  bottom: 3.2rem;
  display: block;
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), opacity 0.25s;
  width: 100%;
}

@media screen and (max-width: 44.984375em) {
  .mdx-hero__inner {
    bottom: 6.4rem;
  }
}

.mdx-hero__teaser {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  color: var(--md-primary-bg-color);
  margin: 0 0.8rem;
  max-width: 24rem;
}

.mdx-hero__teaser h1 {
  color: inherit;
  font-weight: 700;
  margin-bottom: 0;
}

.mdx-hero__teaser :not(.md-button) {
  text-shadow: 0 0 0.2rem #211d2dcc;
}

.mdx-hero__more {
  bottom: -2.4rem;
  display: block;
  left: 50%;
  margin-left: -0.6rem;
  pointer-events: none;
  position: absolute;
  text-align: center;
}

.mdx-hero__more svg {
  fill: #fff;
  height: 1.2rem;
  width: 1.2rem;
}

/* Button styles */
.mdx-hero__teaser .md-button {
  background-color: #dd2e57;
  border-width: 0;
  color: var(--md-primary-bg-color);
  margin-right: 0.5rem;
  margin-top: 0.5rem;
}

.mdx-hero__teaser .md-button--secondary {
  background-color: initial;
}

/* Header adjustments */
.md-header:not(.md-header--shadow) {
  background-color: initial;
  transition: background-color 125ms, transform 125ms cubic-bezier(0.1, 0.7, 0.1, 1), box-shadow 0ms;
}

.md-header--shadow {
  transition: background-color 0.25s, transform 0.25s cubic-bezier(0.1, 0.7, 0.1, 1), box-shadow 0.25s;
}

/* Content adjustments */
.md-main__inner {
  margin: 0;
}

.md-main__inner > .md-content,
.md-main__inner > .md-sidebar--secondary {
  display: none;
}

