* { box-sizing: border-box; } body { height: 100vh; } h1{ text-align: center; margin-top: 20px; } .main{ display: flex; max-width:1100px; margin:auto } .main div{ width: 15%; }