:root {
    --bg: #edeefa;
}
@font-face {
    font-family: 'bianzhidai-pearl';
    src: url('/fonts/bianzhidai_noBG-Pearl.woff') format('woff');
    /* font-weight: normal; */
    /* font-style: normal; */
}
@font-face {
    font-family: 'sligoil-micro';
    /* src: url('/fonts/sligoil/Sligoil-Micro.otf'); */
    src:  url('/fonts/Sligoil-Micro.woff2') format('woff2'),
    url('/fonts/Sligoil-Micro.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
header {
    display: grid;
    grid-template-columns: min-content min-content;
    justify-content: space-between;
    align-items: end;
}

footer {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
}

.warning {
    background: #ffff7e !important;
}
.hidden {
    display: none;
}
h1 a {
    color: unset;
    text-decoration: none;
    cursor: pointer;
}
body {
    display: flex;
    flex-direction: column;
    max-width: 40rem;
    margin: auto;
    padding: 2rem 1rem 5rem 1rem;
    row-gap: 1rem;
    background: url("/stars.svg");
}
p, label, input, a, select, textarea, button {
    font-family: sligoil-micro;
}

p, label {
    background: var(--bg);
    padding: 1rem;
    border-radius: 0.5rem;
}
#qrcode { 
    justify-content: center;
}

div {
    display: flex;
    grid-column-gap: 1rem;
}

div > label {
    min-width: 10ch;
    text-align: center;
}

div > input, div > select {
    width: 100%;
}

label {
    font-style: italic;
}
input, select {
    font-size: 10pt;
    padding: 1rem;
}

input[type="text"], input[type="text"]:disabled {
    background: white !important;
    opacity: 1 !important;
    box-shadow: none;
    border: blue solid 1px;
    border-radius: 0.5rem;
}

input:disabled {
    color: blue;
}

input[type="submit"] {
    background: #3b3bef;
    color: white;
    padding: 1rem;
}

form {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 1rem;
}
select, input[type="submit"] {
    cursor: pointer;
}
textarea {
    padding: 1rem;
}
h1, h2, h1 a {
    font-family: bianzhidai-pearl;
}
pre, p, h1, h2 {
    margin: 0;
}

@media only screen
and (min-device-width : 320px)
and (max-device-width : 667px) {
    body {
        padding-top: 1rem;
    }
}
