/* AbildskovUndervisning - abildskovundervisning.dk */
/* Picture cards for Vendespil - dyr */

.memory-card.picture .memory-card-front {
    font-size: clamp(1.4rem, 7vh, 3rem);
    line-height: 1;
}

/* Long words (for example German) must wrap instead of overflowing small cards. */
.memory-grid:has(.memory-card.picture) .memory-card.answer .memory-card-front {
    font-size: clamp(0.6rem, 2.4vh, 1.2rem);
    line-height: 1.05;
    text-align: center;
    overflow-wrap: anywhere;
}
