:root
{
    --font-family-normal: "Comic Sans", "Comic Sans MS", "Comic Sans Neue", "Verdana", "Arial", "Helvetica", sans-serif;
    --font-family-header: "Wizard Fancy";
    --font-size-scale: 95%;
}

@media only screen and (max-width: 600px)
{
    :root
    {
        --font-size-scale: 80%;
    }
}

:target
{
    border: 1px solid var(--color-primary);
    background-color: hsla(from var(--color-primary) h s l / 0.15);
}

#app
{
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1em;
    box-sizing: border-box;
    overflow: auto;
}

section:has(h3:target)
{
    background: rgba(255, 255, 0, 0.20);
}

label
{
    display: flex;
    margin: 0 5px 0 0;
    white-space: nowrap;
}

/*section
{
    padding: 0px 5px;
}

    section + section
    {
        margin-top: 25px;
    }*/

.section-content
{
    padding: 10px;
    border: 2px solid var(--color-primary);
}

    .section-content p
    {
        display: block;
        white-space: pre-line;
        margin: 0;
    }

        .section-content p::first-line
        {
            font-size: 0;
        }

header a
{
    text-decoration: none;
}

input
{
    font-family: var(--font-family-normal);
    font-size: 0.9em;
    /*background-color: #282828;
    border: 1px solid var(--color-primary);
    color: var(--color-text-normal);*/
}

    input:disabled
    {
        background-color: white;
        border: inset 2px rgb(118, 118, 118);
        opacity: 0.5;
    }

[disabled]
{
    cursor: url("/images/cursor/CursorTargetNo.cur") 0 0, auto;
}

[data-not]
{
    position: relative;
}

    [data-not]:before
    {
        content: "";
        background: url("/_content/Wizard101.Blazor.Assets/Data/_Shared-WorldData/GUI/Icons/Type_Card_Banned.png");
        background-size: 100%;
        object-fit: contain;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2;
        height: 100%;
        width: 100%;
    }

model-viewer
{
    height: inherit;
    width: inherit;
}

h1:focus
{
    outline: none;
}

input[type=checkbox], .checkbox
{
    width: 20px;
    height: 20px;
}