#hero { margin: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; } #links { width: 400px; text-align: left; font-size: x-large; color: white; display: flex; flex-direction: column; } #links a { color: white; text-decoration: none; margin-top: 20px; margin: 10px 0px; border: white 1px solid; border-radius: 5px; padding: 10px; } #links a:hover { background-color: #1f1f1f; cursor: pointer; } #header { max-width: 1200px; }