html { height:100%; box-sizing: border-box; } * { box-sizing: inherit; } body { max-width: 1600px; margin: 0 auto; padding: 0 20px; height:100%; font-family: Arial, sans-serif; display: grid; grid-template-rows: auto 1fr auto; } .hidden { display: none; } .failure { color: #a71717; } .success { color: green; } h2 { margin-top: 0; } header h1 { text-align: center; } a { color: rgb(40,53,131); } header { background-color: rgb(40,53,131); color: white; margin-top: 20px; margin-bottom: 20px; }