.section-with-image-cards section {
    margin: 1em 0;
}

.section-with-image-cards > section > .header {
    margin-bottom: 0.75em;
    font-size: 1.5em;
    text-align: center;
}

.section-with-image-cards .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.section-with-image-cards .card {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1em;
    display: flex;
    flex-direction: column;
    background-color: lightblue;
    text-align: center;
}

.section-with-image-cards .card .header {
    margin: 0 0 0.5em 0;
    font-size: 1.25em;
}

.section-with-image-cards .card .text {
    margin: 0 0 1em 0;
}

.section-with-image-cards .card .image {
    display: block;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    box-shadow: 10px 10px 10px gray;
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .section-with-image-cards .card {
        flex: 1 1 100%;
    }
}
