body.home {
    overflow-x: hidden;
    background-color: var(--noninteractive-background-primary-inverse);
}

.home .front-page {
    scroll-snap-align: start;
}

.home .main-wrapper {
    scroll-snap-type: y mandatory;
    width: 100vw;
    height: 100dvh;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    position: relative;
}

.home-title {
    position: sticky;
    padding-left: 40px;
    top: 35vh;
    max-width: 933px;
    color: var(--neutral-50);
    text-wrap: balance;
    width: 100%;

    font-family: var(--font-family-body);
    font-size: 90px;
    font-style: normal;
    font-weight: 450;
    line-height: 90px;
    letter-spacing: -0.5px;
}

@supports (-webkit-touch-callout: none) {
    .home-title {
        text-wrap: auto;
    }
}

@supports (font: -apple-system-body) {

    .home-title {
        text-wrap: auto;
    }

}

.line {
    padding-bottom: 4px;
    margin-bottom: -4px;
}

.home .move-down-text {
    position: sticky;
    top: calc(100dvh - 79px);
    padding-left: 40px;
    color: var(--noninteractive-text-secondary);
    pointer-events: all;

    display: flex;
    flex-direction: column;
    width: fit-content;
    align-content: start;
    justify-content: start;
}

.home .move-down-text button {
    width: fit-content;
}

/* .home .main-wrapper {
    overflow-x: hidden;
} */

.fakey-container {
    position: relative;
    height: 100dvh;
    width: 100vw;
    scroll-snap-align: start;
    pointer-events: none;
}

.canvas-container {
    height: 100dvh;
    width: 100%;
    /* position: absolute; */
    position: sticky;
    top: 0;
    z-index: unset;
    /* scroll-snap-align: start; */
    pointer-events: none;
    overflow: hidden;
}

.home canvas {
    position: fixed;
    top: 0;
    /* left: 40px; */
    left: 0px;
    height: calc(100dvh - 87px);
    border-radius: 6px;
    overflow: hidden;
    z-index: -1;
    max-width: 100vw;
}

.front-page {
    position: relative;
    /* margin-top: 100dvh; */
    height: 100dvh;
    background-color: #171717;
    z-index: 10000;
    overflow-x: hidden;
}

.front-page .image-container {
    position: absolute;
    height: 100dvh;
    width: 101vw;
    top: 0;
    left: 0;
    overflow: hidden;
}

.front-page .image-container .image,
.front-page .image-container video {
    height: 100%;
    width: 100%;
    max-height: unset;
    position: absolute;

}

.front-page .image-container video {
    object-fit: cover;
}

.image-container #forward-button,
.image-container #back-button {
    position: absolute;
    width: 50%;
    height: 100%;
    z-index: 5;
    -webkit-tap-highlight-color: transparent;
    outline: none !important;

    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.image-container #forward-button {
    right: 0;
}

.image-container #back-button {
    left: 0;
}

.image-container::after {
    content: '';
    z-index: 10;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    /* background: linear-gradient(0deg,
            rgba(0, 0, 0, 0.9) 0px,
            rgba(0, 0, 0, 0) 200px,
            rgba(0, 0, 0, 0) calc(100% - 200px),
            rgba(0, 0, 0, 0.4) 100%); */
    pointer-events: none;
}

.gallery-text {
    position: absolute;
    top: 0;
    pointer-events: none;
    height: 100dvh;
}

.gallery-text .info {
    pointer-events: all;
    position: absolute;
    bottom: 0;
    z-index: 100;
}

.info .content {
    padding: var(--spacing-4xl) 0;
}

.info h2 {
    margin-bottom: var(--spacing-xs);
}

.info h3 {
    margin-bottom: var(--spacing-xl);
}

.steps {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-xs);
}

.animation-span {
    position: relative;
    /* pointer-events: none; */
    overflow-x: visible;
    /* overflow-y: clip; */
}

.content.parent .head-span a span {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 11%;
    text-decoration-thickness: 6%;
    width: min-content;
    pointer-events: all;
    transition: text-decoration-color 0.3s ease;
}

.content.parent:hover a span {
    text-decoration-color: inherit;
}

.head-span,
.sub-span,
.carousel-image {
    pointer-events: none;
}

.head-span.active,
.sub-span.active,
.carousel-image.active {
    pointer-events: auto;
    z-index: 3;
}

h2.animation-span {
    height: 56px;
}

h3.animation-span {
    height: 40px;
}

.animation-span span {
    position: absolute;
    text-wrap: nowrap;
}

.home footer {
    display: none;
}

.home-footer-container {
    background-color: var(--noninteractive-background-primary-inverse);
    scroll-snap-align: start;
    z-index: 10000;
    position: relative;
}

.home-footer.container {
    /* padding-top: 100dvh; */
    background-color: var(--noninteractive-background-primary-inverse);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    max-width: unset;
}

.home-footer svg {
    padding-top: 71px;

}

.home-footer .info {
    display: flex;
    gap: var(--spacing-6xl);
    padding-bottom: var(--spacing-2xl);
    min-width: 620px;
}

.home-footer .info a {
    text-decoration: none;
}

.home-footer h4 {
    color: var(--neutral-50);
    margin-bottom: var(--spacing-3xs);
}

.home-footer p {
    color: var(--noninteractive-text-tertiary-inverse);
    text-wrap: nowrap;
}

.front-page .mobile-content {
    display: none;
    padding-top: 30px;
    padding-bottom: 30px;
    row-gap: 40px;
}

@media (max-width: 1265px) {
    .home-footer.container {
        flex-direction: column;
        justify-content: space-between;
        align-items: start;
    }

    .home-footer .info {
        padding: 32px 0 24px;
    }
}

@media (max-width: 1024px) {
    .info .content {
        padding: var(--spacing-2xl) 0;
    }

    .home-title {
        font-size: 60px;
        font-style: normal;
        font-weight: 450;
        line-height: 60px;
        letter-spacing: -0.5px;

        padding: 0 32px;
    }

    /* .home canvas {
        left: 32px;
    } */
}

@media (max-width: 767px) {
    .home .main-wrapper {
        scroll-snap-type: none;
        overflow-x: hidden;
    }

    .fakey-container {
        display: none;
    }

    .info .content {
        padding: var(--spacing-xl) 0;
    }

    .front-page {
        height: fit-content;
        overflow: hidden;
    }

    .home-title {
        position: sticky;
        padding: 0 16px;
    }

    .home .move-down-text {
        /* padding-left: 16px; */
        display: none;

        pointer-events: all;
    }

    .home canvas {
        position: fixed;
        top: 0;
        /* left: 16px; */
        height: calc(100dvh - 87px);
        border-radius: 6px;
        overflow: hidden;
    }

    .image-container,
    .gallery-text {
        display: none;
    }

    .home-footer {
        padding-top: 120px;
        flex-direction: column;
        align-items: start;
    }

    .home-footer svg {
        padding-top: 0;
        height: 52px;
        width: 100%;
    }

    .front-page .mobile-content {
        display: grid;
    }

    .home-footer .info {
        flex-direction: column;
        gap: var(--spacing-2xl);
    }

    .home-footer.container {
        padding-top: 120px;

    }

}

/* body * {
    color: red !important;
} */