@font-face {
    font-family: "Inter Display";
    src: url("InterDisplay-Bold.woff2") format("woff2");
    font-weight: 700;
}
@font-face {
    font-family: "Inter Display";
    src: url("InterDisplay-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
}
*, *::before, *::after {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    width: 100%;
    height: auto;
    background-color: black;
    font-family: "Inter Display", sans-serif;
    color: white;
    font-size: 1.1rem;
}
a {
    color: white;
}
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.75rem 0.5rem;
}
footer p {
    align-items: center;
    display: flex;
    column-gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
}
footer img {
    height: 2rem;
    user-select: none;
    pointer-events: none;
}
footer a.logo {
    text-decoration: none;
    display: flex;
}
main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    font-style: italic;
    row-gap: 1rem;
    column-gap: 2rem;
}
main .subtitle {
    max-width: 20rem;
}
main div {
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    padding-top: 5rem;
    padding-bottom: 7.5rem;
    left: 150%;
    transition: 1s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    width: 100%;
    align-content: center;
    text-align: center;
}
main img {
    max-width: 100%;
    max-height: 100%;
    user-select: none;
    pointer-events: none;
}
main img.active, main div.active {
    left: 50%;
}
main img.deactivated, main div.deactivated {
    left: -50%;
}
#line-container {
    position: fixed;
    top: 1rem;
    left: 50%;
    width: calc(100svw - 2rem);
    max-width: 40rem;
    transform: translateX(-50%);
    display: flex;
}
.line {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0.5rem;
    border-radius: 1rem;
}
#line {
    background: #FFFFFF;
}
#line-background {
    background-color: #FFFFFF60;
    width: 100%;
}
#instructions {
    font-size: 1rem;
}
div[data-index="4"] {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
@media screen and (max-width: 100vh) {
    footer p {
        margin: 0.25rem 0;
    }
    main div {
        padding-bottom: 8.25rem;
        padding-top: 2.5rem;
    }
    div[data-index="4"] {
        gap: 2rem;
    }
}