html, body { padding: 0; margin: 0; font-family: -apple-system, BlinkMacSystemFont, Lato, Raleway, Arial, sans-serif; background: url('/images/background.webp'); scroll-behavior: smooth; } a { color: inherit; text-decoration: none; } * { box-sizing: border-box; } header { color: #f0f0f0; text-align: center; width: 100%; z-index: 5; position: fixed; background-color: #1a1a1a; top: 0; display: flex; flex-direction: row; } header a { flex-grow: 1; text-align: right; } header h1 { line-height: 0; font-size: 2.2em; font-weight: normal; display: inline-block; padding: 0 40px 0 40px; } nav { flex-grow: 1; text-align: left; padding-top: 5px; } nav a { font-size: 2.2em; padding: 0 10px 0 10px; } footer { width: 100%; z-index: 4; position: fixed; bottom: 0; left: 0; min-height: 40px; text-align: right; line-height: 2.2em; } footer a { padding-right: 2%; color: red; } form { text-align: left; margin: 0 auto; max-width: 35%; } input { padding: 5px; } textarea { min-height: 100px; } @media only screen and (max-width: 768px) { header { flex-direction: column; } header a { text-align: center; } header h1 { font-size: 1.8em; } nav { text-align: center; } nav a { font-size: 1.8em; padding: 0 7px 0 7px; } form { max-width: 95%; } }