.listContainer { display: flex; justify-content: space-evenly; border-bottom: 1px solid #b9b9b9; margin: auto; width: 95%; @media screen and (max-width: 1024px) { flex-direction: column; } } .contentItem { display: flex; padding: 62px 52px; @media screen and (max-width: 1024px) { flex-direction: column; } }