body {
    font-family: "SF Pro Text", "SF Pro Icons", "AOS Icons", "Helvetica Neue",
        Helvetica, Arial, sans-serif, system-ui !important;
    overflow-x: hidden !important;
}
/* Make video responsive */
.video-responsive {
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
  }

  .video-responsive iframe,
  .video-responsive object,
  .video-responsive embed {
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
  }
.animate-section {
    min-height: 100vh;
    width: 100vw;
    view-timeline-name: --section;
}

.animate-section:nth-of-type(1),
.animate-section:nth-of-type(3) {
    background: hsl(0 0% 100%);
}



.font-h2 {
    font-size: clamp(2rem, 3vw + 1rem, 8rem);
}

.section__content {
    min-height: 100vh;
    width: 100vw;
    display: grid;
    place-items: center;
    position: sticky;
    top: 0;
    overflow: hidden;
}

.animate-section:nth-of-type(1),
.animate-section:nth-of-type(3) {
    color: hsl(0 0% 0%);
}

.animate-section:nth-of-type(1) .section__content {
    overflow: hidden;
}

.animate-section:nth-of-type(2) {
    z-index: 2;
    color: hsl(0 0% 0%);
    min-height: 200vh;
    background: hsl(0 0% 0%);
}

.animate-section:nth-of-type(2) p {
    --opacity: 1;
    color: hsl(0 0% 100%);
    font-size: clamp(1.625rem, 2vw + 1rem, 8rem);
    letter-spacing: 0;
    font-weight: bold;
    line-height: 1;
    width: 30ch;
    max-width: calc(100% - 4rem);
    position: fixed;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    opacity: 0;
    animation: fade-in both linear, fade-out both linear;
    animation-timeline: --section;
    animation-range: entry 10% entry 35%, exit 0% exit 25%;
}

.animate-section:nth-of-type(1) svg {
    --opacity: 1;
    animation: blow-out both ease-in, fade-in both ease-in;
    font-weight: 600;
    animation-timeline: --section;
    animation-range: exit-crossing 10% exit 0%,
        exit-crossing 10% exit-crossing 25%;
    font-size: clamp(2rem, 10vw + 1rem, 10rem);
    transform-origin: 50% 50%;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    opacity: 0.4;
    translate: -50% -50%;
    overflow: hidden;
}

.animate-section:nth-of-type(3) {
    z-index: 4;
}

.animate-section:nth-of-type(3) svg {
    width: 30vmin;
    position: absolute;
    stroke: hsl(0 0% 0%);
    right: 10%;
    bottom: 10%;
    rotate: 10deg;
}

.animate-section:nth-of-type(1) .section__content {
    overflow: visible;
    transform-style: preserve-3d;
    perspective: 100vh;
}

svg text {
    font-size: clamp(2rem, 6vw + 1rem, 6rem);
    font-weight: 600;
}

@keyframes blow-out {
    to {
        transform: translate3d(0.05ch, 0, 99vh);
    }
}

.animate-section:nth-of-type(1) {
    height: 200vh;
}

.vvideo {
    position: fixed;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100vh;
    filter: saturate(1) brightness(1);
    opacity: 0;
    animation: fade-in both linear, fade-out both linear;
    animation-timeline: --section;
    animation-range: entry 0% entry 25%, exit 10% exit 35%;
}

@keyframes fade-in {
    to {
        opacity: var(--opacity, 0.2);
    }
}

@keyframes fade-out {
    to {
        opacity: 0;
    }
}


.nav__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 800px;
    max-width: 100vh;
    padding: 0 1rem;
    margin: 0 auto;
    height: 100%;
}



