.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
    width: 100%;
    justify-content: flex-start;
}

.gridCenter {
    justify-content: center;
}

.grid>* {
    flex: 1 1 22rem;
    min-width: 0;
    max-width: calc(33.333% - 1rem);
}

@media (max-width: 1024px) {
    .grid>* {
        max-width: calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .grid {
        flex-direction: column;
        align-items: center;
    }

    .grid>* {
        width: 100%;
        max-width: 18.75rem;
        flex: none;
    }
}
