html {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

body {
    min-height: 80vh;
    min-height: calc(var(--vh, 1vh) * 80);
}


#studio {
    scroll-margin-top: 3rem
}

.canvas-placeholder {
    height: 20px;
}

.home__hero {
    height: calc(var(--vh, 1vh) * 100);
}

.home__hero__container {
    position: sticky;
    top: 0;
    display: flex;
    height: calc(var(--vh, 1vh) * 100);
    flex-direction: column;
}

.home__hero__canvas {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    left: 0;
    right: 0;
    z-index: 10000;
}

.home__hero__video {
    width: 100vw;
    height: calc(var(--vh, 1vh) * 100 - 2rem);
    margin-bottom: 2rem;
    object-fit: cover;
    z-index: 10000;
    object-position: 50% 100%;
}

.home__hero__video.desktop {
    display: none;
}



@media only screen and (min-width: 52rem) {
    .home__hero__video.mobile {
        display: none;
    }
    .home__hero__video.desktop {
        display: block;
    }

    #studio {
        scroll-margin-top: 2.5rem
    }
}

.home__hero__logo{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -75%);
    width: 50vw;
    z-index: 1000;
    transition: 300ms;
}

.home__hero__footer {
    display: flex;
    position: absolute;
    bottom: 0;
    padding: 0 0 0.25rem;
    max-width: 100vw;
    background-color: white;
    z-index: 1000;
    overflow: hidden;
}

.home__hero__footer p {
    white-space: nowrap;
    padding-right: 0.75em;
    animation: move-left 5s linear infinite;
}

@keyframes move-left {
    from {
        transform: translate(0);
    }
    to {
        transform: translate(-100%);
    }
}

/* 
    Home Studio.
*/

.home__column {
    margin-bottom: 0.5rem;
}

.home__column__text  {
    font-size: 1.75rem;
    line-height: 1.1em;
    margin: 0 0.75rem 3rem;
}


.home__row:not(:first-of-type) .home__column__text.indented {
    margin: 2rem 0.75rem 3rem;
}



.home__column__text.indented p:first-child {
    text-indent: 25vw;
}

.home__column__image {
    width: 100%;
    padding: 0 0.75rem ;
}


.home__column__image figcaption {
    position: absolute;
    top: 10px;
    left: 10px;
    opacity: 0;
    color: white;
    transition: 200ms ease;
}

.home__column__image:hover figcaption {
    opacity: 1;
}

@media only screen and (min-width: 52rem) {
    .home__hero__video {
        margin: auto;
        margin-bottom: 1.25rem;
        height: calc(var(--vh, 1vh) * 100 - 1.25rem);
        width: 100%;
        max-width: 1600px;
        padding: 0 0.75rem;
    }

    .home__hero__canvas {
        bottom: 0.5rem;
    }

    .home__hero__logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -75%);
        width: 30vw;
        z-index: 1000;
        transition: 300ms;
    }

    .home__row {
        display: flex;
        padding: 0 0.5rem;
    }

    .home__column {
        flex-grow: 1;
        width: 100%;
        margin-bottom: 0;
    }
    
    .home__column__text {
        font-size: 3rem;
        margin: 0 0.25rem 4rem;
    }
    
    .home__row:not(:first-of-type) .home__column__text.indented {
        margin: 2rem 0.25rem 3rem;
    }

    .home__column__image {
        padding: 0 0.5rem 0.5rem;
    }

    .home__column__video.medium,
    .home__column__image.medium {
        width: 75%;
    }

    .home__column__video.small,
    .home__column__image.small {
        width: 50%;
    }

    .home__column__video.center,
    .home__column__image.center {
        margin: auto;
    }

    .home__column__video.right,
    .home__column__image.right {
        margin-left: auto;
    }

    .home__section__image figcaption {
        opacity: 0;
    }

    .home__section__image:hover figcaption {
        opacity: 1;
    }
}

@media only screen and (min-width: 120rem) {
    .home__column__text {
        font-size: 4rem;
    }
}

.home__back {
    padding: 0.75rem;
    margin-top: 15vh;
}

.home__back a {
    /* padding-left: 25vw; */
}