:root { background-color: #222; color: #CCC; font-family: Arial, sans-serif; --border-radius: 6px; --header-height: 50px; --accent-color: #5f00aa; --accent-color-secondary: #4f0099; --error-color: #cc4444; } body { margin: 0; } header { position: absolute; width: 100%; height: var(--header-height); line-height: var(--header-height); background-color: #141414; align-items: center; vertical-align: middle; padding: 0px 15px; box-sizing: border-box; } #header-spacer { padding-bottom: var(--header-height); } #header-title { font-size: 1.3em; } a { color: inherit; text-decoration: inherit; } .align-right { float: right; } button, a.button { background-color: var(--accent-color); transition: background-color 0.3s; color: inherit; border: 0; border-radius: var(--border-radius); padding: 8px 10px; cursor: pointer; color: white; } button:hover, a.button:hover { background-color: var(--accent-color-secondary); } input { display: block; background-color: #141414; color: inherit; border: 0; border-radius: var(--border-radius); padding: 8px 10px; color: white; margin-bottom: 5px; } .center { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); text-align: center; } .errorText { color: var(--error-color); display: block; } .errorInput { outline: 1px solid var(--error-color); } #playerHead { vertical-align: middle; margin-top: -4px; margin-right: 12px; }