.container-index {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: .25s;
}
.container-index .title {
    display: none;
    position: absolute;
    top: calc(60 * var(--vh, 1vh));
    margin: 0;
    transform: translateY(-100%);
    z-index: 1;
    color: white;
    text-shadow: 0 0 4px black;
}
.container-index .title.mobile {
    display: block;
    top: unset;
    bottom: 0;
    transform: none;
    padding: 1rem;
}
.container-index .title sub {
    font-size: var(--body-md);
    font-weight: 400;
    opacity: .5;
}
.container-index .title h2 {
    font-size: var(--title-reg);
    margin: var(--spacing-sm) 0 var(--spacing-sm) 0;
}
.container-index .copy hr {
    margin: 0 auto var(--spacing-sm) auto;
}
.container-index .copy p {
    margin-bottom: var(--spacing-lg);
}
@media (max-width: 992px) {
    .container-index .copy p {
        margin-bottom: var(--spacing-sm);
    }
}
.container-index .content {
    width: 100vw;
    height: 50vh;
    padding: 2rem;
    box-shadow: 2px 0 8px #00000020;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 12pt;
    order: 2;
}
.container-index:nth-child(2) .btn-cta {
    margin-bottom: var(--spacing-sm);
}
.container-index:nth-child(2) .content {
    padding-bottom: 7.5rem;
}
.container-index .logo svg {
    height: 3rem;
    width: fit-content;
}
.container-index .logo {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}
.container-index .btn-cta {
    display: block;
    text-align: center;
    width: auto;
}
.container-index hr {
    display: none;
}
.container-index .image {
    order: 1;
    position: relative;
    margin: 0;
    width: 100vw;
    height: 50vh;
    z-index: 1;
}
.container-index:first-child .image {
    height: 50vh;
}
.container-index .image::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: transparent;
    background: linear-gradient(0deg,#000000 0%, #00000000 100%);
}
.container-index .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale();
}

body[data-page='index'] header#header {
    position: absolute;
    top: 0;
    right: 0;
}

.scroll-hint {
    position: absolute;
    bottom: var(--footer-height);
    left: 0;
    width: 100%;
    text-align: center;
    padding-bottom: calc(var(--spacing-sm) * 2);
    cursor: pointer;
}
.scroll-hint::after {
    content: "";
    display: block;
    position: absolute;
    height: 20px;
    width: 20px;
    left: 50%;
    rotate: -45deg;
    bottom: var(--spacing-md);
    transform: translateX(-50%);
    transition: .25s;

    border-top: 2px solid transparent;
    border-right: 2px solid transparent;
    border-bottom: 2px solid var(--colorMain);
    border-left: 2px solid var(--colorMain);
}
.scroll-hint:hover::after {
    bottom: var(--spacing-sm);
}

@media (min-width: 1024px) {
    body[data-page='index'] header#header {
        position: fixed;
    }
    body[data-page='index'] {
        height: calc((100 * var(--vh, 1vh)) + 400vw);
    }
    body[data-page='index'] footer#footer {
        position: fixed;
        bottom: 0;
    }
    .container-index .image {
        width: calc(100vw - var(--section-width));
        height: calc(100 * var(--vh, 1vh)) !important;
    }
    .container-index .image::after {
        display: none;
    }
    .container-index hr {
        display: block;
    }
    .container-index .btn-cta {
        display: block;
        text-align: center;
        width: fit-content;
        margin: unset;
        overflow: hidden;
    }
    .container-index .logo {
        position: relative;
        top: 0;
        left: 0;
        width: fit-content;
        padding-bottom: var(--spacing-sm);
        z-index: 1;
    }
    /* .container-index .logo::after {
        content: "";
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4rem;
        transform: translateY(100%);
        background: linear-gradient(180deg, var(--background) 0%, transparent 100%);
    } */
    .container-index .content {
        position: relative;
        width: var(--section-width);
        height: calc(100 * var(--vh, 1vh)) !important;
        padding: 0 calc(2rem + 112px) 8rem 4rem;
        box-shadow: 2px 0 8px #00000020;
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-size: 14pt;
        order: unset;
    }
    .container-index .logo svg {
        height: 5rem;
    }
    .index-slide {
        position: fixed;
        display: flex;
        flex-direction: row;
        left: calc(var(--scroll, 0) * -1);
    }
    .index-slide.logo-watermark::before {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 5;
        width: 50%;
        opacity: .04;
    }
    .container-index {
        position: relative;
        width: 100vw;
        height: calc((100 * var(--vh, 1vh)) - var(--footer-height));
        display: flex;
        flex-direction: row;
        overflow: hidden;
        transition: 0;
    }
    .container-index .title.mobile {
        display: none;
    }
    .container-index .title {
        display: block;
        position: relative;
        top: unset;
        margin: 1rem 0 1rem 0;
        transform: none;
        
        color: initial;
        text-shadow: none;
    }
}
#indexNav {
    position: fixed;
    right: 0;
    bottom: 0;
    width: fit-content;
    height: calc(40 * var(--vh, 1vh));
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    display: none;
}
@media (min-width: 1024px) {
    #indexNav {
        display: flex;
        bottom: var(--footer-height);
        width: var(--section-width);
        height: 4rem;
        padding: 92px 0;
        flex-direction: column;
        right: unset;
        left: 0;
    }
}
#indexNav .nav-item {
    height: 2rem;
    width: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: calc((var(--spacing-lg) / 2 - .75rem)) 0;
    cursor: pointer;
}
#indexNav .nav-item::after {
    content: "";
    display: block;
    height: .5rem;
    width: .5rem;
    background: var(--colorN2);
    border-radius: 1rem;
    transition: .25s;
}
#indexNav .nav-item:hover::after{
    border-color: var(--colorMain);
}
#indexNav .nav-item:not(.next, .prev):hover::after {
    background: var(--colorN5) !important;
}
.index-slide[data-active="0"] #indexNav .nav-item[data-i="0"]::after,
.index-slide[data-active="1"] #indexNav .nav-item[data-i="1"]::after,
.index-slide[data-active="2"] #indexNav .nav-item[data-i="2"]::after,
.index-slide[data-active="3"] #indexNav .nav-item[data-i="3"]::after,
.index-slide[data-active="4"] #indexNav .nav-item[data-i="4"]::after {
    background: var(--colorMain) !important;
}

.index-slide[data-active="0"] #indexNav .nav-item.prev {
    pointer-events: none;
    opacity: 0;
    height: 0;
    margin: 0
}
.index-slide[data-active="4"] #indexNav .nav-item.next {
    pointer-events: none;
    opacity: 0;
}

#indexNav .prev {
    background: none !important;
    border-radius: 0;
    height: .5rem;
    width: .5rem;
    border-top: 2px solid var(--colorGrey);
    border-right: 2px solid transparent !important;
    border-bottom: 2px solid transparent !important;
    border-left: 2px solid var(--colorGrey);
    transform: rotate(45deg);
    cursor: pointer;
}
#indexNav .next {
    background: none !important;
    border-radius: 0;
    height: .5rem;
    width: .5rem;
    border-top: 2px solid transparent !important;
    border-right: 2px solid var(--colorGrey);
    border-bottom: 2px solid var(--colorGrey);
    border-left: 2px solid transparent !important;
    transform: rotate(45deg);
    cursor: pointer;
}
@media (max-width: 1024px) {
    .index-slide[data-active="0"] #indexNav .nav-item[data-i="0"],
    .index-slide[data-active="1"] #indexNav .nav-item[data-i="1"],
    .index-slide[data-active="2"] #indexNav .nav-item[data-i="2"],
    .index-slide[data-active="3"] #indexNav .nav-item[data-i="3"],
    .index-slide[data-active="4"] #indexNav .nav-item[data-i="4"] {
        width: .5rem !important;
        height: 1rem;
        margin: 0 .5rem;
    }
    #indexNav .next,
    #indexNav .prev {
        transform: rotate(45deg);
    }
}

@media (min-width: 1024px) {
    .v-2 header#header {
        z-index: 2;
    }
    body.v-2 {
        height: fit-content !important;
    }
    .v-2 footer#footer {
        z-index: 2
    }
    .v-2 main {
        position: relative;
        display: block;
        width: 100vw;
        left: 0;
    }
    .v-2 .container-index {
        height: calc(100 * var(--vh, 1vh));
    }
    .v-2 .container-index .content {
        background: var(--background);
        z-index: 2;
    }
    .v-2 .container-index .image {
        transform: translateX(calc((var(--i) * (100vw - var(--section-width))) - (var(--scroll) * 4%)));
        position: fixed;
        top: 0;
        right: 0;
        z-index: unset;
    }
    .v-2 #indexNav {
        align-items: center;
        height: fit-content;
        z-index: 2;
        background: var(--background);
        width: calc((var(--spacing-sm) * 2) + .5rem);
        left: var(--section-width);
        transform: translate(-100%, -50%);
        padding: 0;
        top: 50%;
    }
}