@font-face {
    font-family: "highwaygothic";
    src: url("/font/HWYGOTH.woff");
}

@font-face {
    font-family: "highwaygothicnarrow";
    src: url("/font/HWYGNRRW.woff");
}


/* Accent color */
:root {
    --accent: 154, 182, 211;
}

input, button {
    font-family: inherit;
    font-size: 14px;
    line-height: 1;
    box-sizing: border-box;
}

input[type="password"] {
    background: rgba(var(--accent), 0.12); /* more transparent */
    border: 1px solid rgba(var(--accent), 0.4);
    padding: 2px 1px 1px;
    border-radius: 3px;
    outline: none;
    color: #1c2430;
    vertical-align: middle;

    transition: 0.2s ease;
}

input:focus {
    border-color: rgb(var(--accent));
    box-shadow: 0 0 0 3px rgba(var(--accent), 0.2);
}

/* BUTTON */
button {
    background: rgb(var(--accent));
    border: none;
    border-radius: 3px;
    color: #0b1220;
    font-weight: 600;
    cursor: pointer;
    vertical-align: middle;

    transition: 0.2s ease;
}

button:hover {
    background: rgba(var(--accent), 0.85);
}

button:active {
    transform: scale(0.98);
}



::-moz-selection { /* Code for Firefox */
    color: rgba(0, 43, 32, 1);
    background: rgba(159, 226, 191, 0.45);
    border-radius: 5px;
}

::selection {
    color: rgba(0, 43, 32, 1);
    background: rgba(159, 226, 191, 0.45);
    border-radius: 5px;
}


h1 {text-align: left;
    font-family: highwaygothic;
}

p {text-align: left;
    font-family: highwaygothic;
}

div {text-align: left;
    display: block;
    margin-bottom: 20pt;
    width: 380px;
    container-type: inline-size;
}

.content {width: 900px;
}

body {margin-left: 10%;
    margin-top: 3lh;
    font-family: highwaygothic;
    font-size: 16pt;
    min-width: 327px;
}

section {margin-bottom: 60pt;
}

redact {
    color: #D9D9D9;
    background-color: #3A404A;
    font-size: smaller;
    border-radius: 5px;
}

.pointing {cursor: pointer}

.s, .st, .ct, .ict, .kcm, .et, .pt, .sc {
    border-radius: 3px;
    border: 2px solid rgba(var(--c), 0.6);
    background-color: rgba(var(--c), 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); /* Safari support */
    z-index: 1;
}

.s      { --c: 0, 0, 0; }
.st     { --c: 0, 46, 109; }
.ct     { --c: 14, 140, 237; }
.ict    { --c: 0, 135, 81; }
.kcm    { --c: 210, 140, 0; }
.et     { --c: 224, 28, 35; }
.pt     { --c: 107, 179, 69; }
.sc     { --c: 219, 77, 49; }

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: url("/img/black_paper.png");
    opacity: 0.4;
    z-index: -1;
}


@media (prefers-color-scheme: dark) {
    input[type="password"] {
        color: #F2F2F2;
    }

    button {
        color: #1c2430
    }


    redact {
        color: #202020;
        background-color: #A8A39A;
        font-size: smaller;
        border-radius: 5px;
    }

    .s {border: 2px solid rgba(255, 255, 255, 0.25);
        background-color: rgba(255, 255, 255, 0.06);
    }

    .st {border: 2px solid rgba(120, 170, 255, 0.55);
        background-color: rgba(0, 46, 109, 0.35);
    }

    .ct {border: 2px solid rgba(80, 200, 255, 0.65);
        background-color: rgba(14, 140, 237, 0.25);
    }

    .ict {border: 2px solid rgba(90, 230, 180, 0.6);
        background-color: rgba(0, 135, 81, 0.25);
    }

    .kcm {border: 2px solid rgba(255, 200, 90, 0.65);
        background-color: rgba(210, 140, 0, 0.22);
    }

    .et {border: 2px solid rgba(255, 59, 63, 0.6);
        background-color: rgba(255, 59, 63, 0.2);
    }

    .pt {border: 2px solid rgba(160, 230, 120, 0.85);
        background-color: rgba(107, 179, 69, 0.25);
    }

    .sc {border: 2px solid rgba(255, 120, 95, 0.65);
        background-color: rgba(219, 77, 49, 0.22);
    }

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        background: url("/img/beige_paper.png");
        opacity: 0.4;
        z-index: -1;
    }
}

@media (max-width: 1000px) {
    form {
        text-align: center;
    }

    h1 {
        text-align: center;
        font-family: highwaygothic;
        font-size: 30pt;
    }

    h3 {
        text-align: center;
        font-family: highwaygothic;
    }

    p {
        text-align: center;
        font-family: highwaygothic;
    }

    body {
        margin: 0;
        padding: 24px;
        font-family: highwaygothic;
        font-size: 25px;
    }

    div {
        text-align: left;
        display: block;
        width: 100%;
        max-width: 500px;
        margin: 0 auto 16px auto;
    }

    .content {
        width: 100%;
        max-width: 900px;
    }

    section {
        margin-bottom: 80px;
        text-align: center;
    }
}
