* { margin: 0; padding: 0; font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif } h1 { position: absolute; top: 10%; left: 5%; font-size: 10vh; } p { position: absolute; top: 50%; left: 50%; transform: translate3D(-50%, -50%, 0); font-size: 5vh; } .button { background-color: grey; border: none; color: white; padding: 15px 32px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; cursor: pointer; } .button:hover { background-color: lightgray; color: white; }