﻿.text-and-resource {
    padding: 32px;
}

.text-and-resource .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.text-and-resource .content .title {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 321px;
}

.text-and-resource .content .cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.text-and-resource .content .cards .card {
    width: 321px;
    height: 142px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px;
    background-color: var(--white);
    border-radius: 10px;
    border: 2px solid #E2E2E2;
}

.text-and-resource .content .cards .card h3 {
    color: var(--black);
}

.text-and-resource .content .cards .card a {
    color: var(--white);
    align-items: center;
}

.text-and-resource .content .cards .card a img {
    
}

@media (min-width: 800px) {

    .text-and-resource {
        padding-inline: 0;
    }

    .text-and-resource .content {
        align-items: flex-start;
    }

    .text-and-resource .content .title {
        max-width: 100%;
    }

    .text-and-resource .content .cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

}