div { display: grid; grid-template-columns: 2fr 1fr; } #weeknotes-section { grid-column: 2 / 3; display: flex; flex-direction: column; row-gap: 1rem; } #written { grid-row: 1; grid-column: 1 / 2; } #what-weeknotes { align-self: end; margin-top: -0.75rem; font-weight: normal; } .wk-miss, .wk-notes { padding: 0; margin: 0; display: flex; flex-direction: row; flex-wrap: wrap; column-gap: 1rem; list-style: none; display: flex; } .wk-miss { display: none; } .wk-notes { flex-direction: column; row-gap: 1rem; } h2 { margin: 0 0 1rem 0; } #weeknotes { margin: 0; } @media (max-width: 30rem) { div { display: flex; flex-direction: column; } }