.error-404{ text-align: center; margin: 40px; h1{ font-size: 16pt; font-weight: normal; } img{ margin: 20px; width: 40%; max-width: 800px; } }