#intro {
    margin-top: 40px;
}
.overview {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
.fragment-1 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}
.fragment-2 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.overview-2 {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
}
.fragment-3 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

#animation-preview {
    margin-top: -30px;
}
#animation-preview img {
    aspect-ratio: 1 / 1;
}
#sketches img,
#cards-design img {
    max-width: 100%;
    min-width: 100px; 
}
#poster-landscape {
    width: calc(100% + 50px);
    height: 110vh;
    padding: 0 25px;
    background-image: url(i/oscar-directors_poster-light-02-landscape.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
#legend {
    display: flex;
    gap: 30px;
    justify-content: center;
}
#legend img {
    width: 100%;
    min-width: 50px;
    max-width: 200px;
    aspect-ratio: 1 / 1;
}
#desktop-screens {
    margin-top: 60px;
}
.step {
    margin-top: 45px;
}
.emphasized-box {
    max-width: 800px;
    border-top: 1px solid var(--eggshell-dark-muddy);
    border-bottom: 1px solid var(--eggshell-dark-muddy);
    margin: 25px 0;
    padding: 15px 0 18px;
    font-size: 24px;
    font-style: italic;
    /* font-weight: bold; */
    color: var(--eggshell-text);
}

@media (max-width: 1060px) {
    figure.width-full figcaption.width-medium {
        margin: 8px 25px 0;
    }
}

@media (max-width: 900px) {
    #poster-light-preview {
        margin: -60px 0;
    }
    #animation-preview {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
        gap: 15px;
    }
    .row .row-primary {
        max-width: unset;
    }
    #intro { margin-top: 0; }
    #data-processing,
    #timeline-row {
        flex-direction: column-reverse;
    }
    #summary .row-secondary,
    #data-processing .row-secondary,
    #poster-design .row-secondary,
    #timeline-row .row-secondary {
        max-width: unset;
    }
    #mobile-preview {
        margin: 0 auto -30px;
    }
    #cards-design {
        flex-direction: column;
    }
    .gridbox {
        grid-template-columns: repeat(2, 1fr);
    }
    .overview {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
    .fragment-1 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
    .fragment-2 {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }
    #dark-version-poster.gridbox {
        grid-template-columns: repeat(1, 3fr);
    }
    .overview-2 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    .fragment-3 {
        grid-column: 1 / 2;
        grid-row: 2 / 4;
    }
}

@media (max-width: 620px) {
    .emphasized-box {
        font-size: 18px;
        padding-right: 25px;
    }
}
@media (max-width: 460px) {
    #legend {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    #legend img {
        max-width: 150px;
    }
}