.bloglist-container { max-width: 1200px; margin: 0 auto; } .row { display: grid; grid-row-gap: 3rem; } .title { font-size: 38px; line-height: 25px; font-weight: 600; padding-inline: 1.5rem; color: var(--title-color); } .description { color: var(--font-color-300); padding-inline: 1.5rem; margin-bottom: 3em; } @media screen and (min-width: 802px) { .row { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); justify-items: center; } } @media screen and (min-width: 1440px) { .row { grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr)); justify-items: center; } .bloglist-container { padding: 0 100px; } }