.cards{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));justify-content:space-between}.cards__card{align-items:center;align-self:flex-start;box-shadow:var(--box-shadow);display:flex;flex-wrap:wrap;height:100%;margin-bottom:1.4rem;max-width:100%}.cards__card .flex-col .underline-an{margin-right:5%;max-width:95%}.card__image{margin:0 auto;max-width:100%}img.card__image{object-fit:cover}.card__text{height:100%;padding:16px;width:100%}@media screen and (max-width:768px){.cards{flex-wrap:wrap;justify-content:center;place-items:center}}