body { background-color: #1e1c31; text-align: center; font-family: sans-serif; font-weight: 600; } h1, h2{ color: white; } body .links { max-width: 500px; margin: auto; text-align: center; } body .links p a { display: block; background-color: #296ae2; color: Thistle; text-decoration: none; padding: 15px; margin-bottom: 10px; transition: 0.5s; border-radius: 5px; } body .links p a:hover, a:active { background-color: #719dee; color: White; transition: 0.5s; }