/* ---------- Site styles ---------- */

/* Overrides Bootstrap's default body text size (1rem) */
:root {
    --bs-body-font-size: 0.75rem;
}

html {
    font-size: 14px;
    text-shadow: 2px 2px 4px white;
}

body {
    margin: 0;
    height: 100%;
    width: 100%;
    color: ghostwhite;
    background: black;
    font-family: 'Roboto Mono', monospace;
}

canvas {
    position: fixed;
    left: 0;
    top: 0;
    z-index: -1;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.footer {
    width: 100%;
    white-space: nowrap;
    line-height: 40px;
}

.padding-top3 {
    padding-top: 3%;
}

.padding-top7 {
    padding-top: 7%;
}

@media (max-width: 771px) {
    .textCenter {
        text-align: center;
    }

    /* Footer columns stack on small screens, so keep the lines close together */
    .footer {
        line-height: 1.8;
        padding: 8px 0;
    }

    .padding-top7 {
        padding-top: 10%;
    }

    h2 {
        margin-bottom: 5%;
    }
}

.rabbit-color {
    filter: brightness(0) invert(1);
}

a {
    color: greenyellow;
    text-decoration: none;
}

a:hover {
    color: white;
}

p {
    margin-bottom: 5px;
}

h5 a {
    color: white;
}

/* ---------- Blazor error bar (from the Blazor template) ---------- */

#blazor-error-ui {
    color-scheme: light only;
    color: black;
    background: lightyellow;
    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: 1000;
}

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