/* Site chrome for the host pages. The game styles itself (css/hognoon.css, injected by js/hognoon.js, every selector under .hn). */

html, body {
    margin: 0;
    min-height: 100%;
    background: #1a0f08;
    color: #f3e2bf;
    font-family: Georgia, 'Times New Roman', serif;
}

a { color: #f6d68f; }

h1:focus { outline: none; }

/* the Not Found and Error pages */
.hn-page {
    min-height: 100vh;
    display: grid;
    place-content: center;
    text-align: center;
    padding: 24px;
    box-sizing: border-box;
    background: radial-gradient(ellipse at 50% 35%, #6b4524 0%, #2a170b 62%, #140a05 100%);
}

.hn-page h1 {
    margin: 0 0 .4em;
    font-size: clamp(1.8rem, 6vw, 3.4rem);
    color: #f6d68f;
    text-shadow: 0 3px 0 #5a3214, 0 6px 18px rgba(0, 0, 0, .65);
}

.hn-page p { font-size: 1.15rem; line-height: 1.5; }

#blazor-error-ui {
    color-scheme: light only;
    background: #f3e2bf;
    color: #2a170b;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

.blazor-error-boundary::after { content: "Well, that went sideways."; }
