.container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 20px;

    // tablet portrait
    @media screen and (min-width: 510px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}