.about { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; } .about h2 { margin-bottom: 5rem; } .about div { display: flex; flex-direction: column; align-items: center; margin-bottom: 2rem; text-align: center; max-width: 80%; } .about h3 { margin-bottom: 2rem; text-decoration: 0.2rem solid var(--item-color-1) underline; }