@charset "UTF-8";
/* Mobile styles for index.php */

@media (max-width: 700px) {
    .intro-row {
        display: flow-root;
    }

    /* Small portrait with the intro text wrapping around it, so the cards stay near the top of a phone screen. */
    #hasek {
        float: right;
        width: 80px;
        height: auto;
        margin: 1em 0 0.5em 1em;
    }

    p.intro {
        font-size: 1em;
    }

    .index-cards {
        display: flex;
        flex-direction: column;
        gap: 0.8em;
    }

    .index-card {
        width: auto;
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.3em;
        white-space: normal;
        overflow-x: visible;
    }
}
