* {
    box-sizing: border-box;
}

.card-container {
    width: 100%;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.card {
    margin-bottom: 25px;
    width: 35%;
    min-width: 350px;

    border: 2px solid var(--secondary-color);
    border-radius: var(--border-rounding);

    overflow: hidden;
}

.slideshow-container {
    height: 325px;
    display: flex;
    justify-content: center;
    align-items: center;

    overflow-y: hidden;
}
.slideshow-container .numbertext {
    z-index: 10;
}

.card .text-container {
    margin: 15px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;

    text-align: justify;
}

.card .text-container .contact{
    font-size: small;
}

.card .text-container h2{
    margin-top: 0;
    margin-bottom: 0;
}

.card .text-container p{
    font-size: small;
}

.card .text-container p:first-child {
    margin-top: 0;
}

@media only screen and (max-width: 750px) {
    .card {
        width: 100%;
        min-width: 0px;
        max-width: 100%;
    }
}