:root {
    color-scheme: light dark;
    --text: #1d1d1f;
    --muted: #6e6e73;
    --background: #f5f5f7;
    --surface: #ffffff;
    --grayed: #7b7b7b;
    --error: #c62828;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text: #f5f5f7;
        --muted: #a1a1a6;
        --background: #111113;
        --surface: #1c1c1f;
        --grayed: #a9a5a5;
        --error: #ff6b6b;
    }
}

body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1rem;
    box-sizing: border-box;
    /* The theme color shows while the image loads, or if it cannot be loaded. The host is allowed in the pages'
       Content-Security-Policy (StrictContentSecurityPolicyAttribute). */
    background-color: var(--background);
    background-image: url("https://static.excenio.com/excenio/bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
}

.card {
    max-width: 32rem;
    width: 100%;
    padding: 2rem;
    box-sizing: border-box;
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%);
}

h1 {
    margin-top: 0;
    font-size: 1.5rem;
}

.website {
    display: inline-block;
    padding: 2rem 0 0 0;
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--grayed)
}

.error {
    color: var(--error);
}

.code {
    color: var(--muted);
    font-size: 0.8rem;
}
