.education { // add empty space to the end of page (as big as the header) margin-bottom: 150px; } .education__details { display: flex; flex-flow: row wrap; justify-content: space-between; @media (max-width: 780px) { flex-flow: column wrap; } } .education__degree { min-width: 100%; align-self: center; font-size: 1.2rem; margin-bottom: 0; } .education__university, .education__gpa, .education__duration, .education__location { min-width: 50%; margin: 0; } .education__university { text-align: left; align-self: flex-start; } .education__gpa { order: 3; text-align: left; align-self: flex-start; @media (max-width: 780px) { order: 2; } } .education__duration { order: 2; text-align: right; align-self: flex-end; @media (max-width: 780px) { text-align: left; align-self: flex-start; } } .education__location { order: 4; text-align: right; align-self: flex-end; @media (max-width: 780px) { text-align: left; align-self: flex-start; } }