html {
    font-size: 100%;
    font-family: "Atkinson Hyperlegible";
}

a:focus {
    outline: dotted thin;
}

a:active,
a:hover {
    outline: 0;
}

body {
    color: #666;
    font-weight: 300;
    margin: 0;
    background: url(/body-background.png) #eae6d1;
}

h1 {
    color: #333;
    margin: 0 0 10px;
    line-height: 1.1;
    font-size: 35px;
}

a {
    color: #39c;
    font-weight: 400;
    text-decoration: none;
}

#page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
}

.wrapper {
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    max-width: 700px;
}

#bottom-bar {
    background: black;
    color: #cdcdcd;
    padding: 0.5rem 0 0.5rem 0;
}

#bottom-bar .p {
    font-size: 12px;
}

#disclaimer {
    padding: 0 1.5rem 0 1.5rem;
    text-align: center;
}

svg {
    user-select: none;
    width: 12px;
    height: 12px;
    display: inline-block;
    flex-shrink: 0;
    fill: currentcolor;
    font-size: 1.5rem;
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    padding: 30px 30px 40px;
    margin: auto;
    background: #fbfbfb;
    border-radius: 3px;
    border: 1px solid #cbcbcb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .09), inset 0 0 2px 2px rgba(255, 255, 255, .5), inset 0 0 5px 5px rgba(255, 255, 255, .4);
}

@media (prefers-color-scheme: dark) {
    body {
        color: #666;
        background: url(/body-background.png) #eae6d1;
    }

    h1 {
        color: #333;
    }

    a {
        color: #39c;
    }

    section {
        background: #fbfbfb;
        border: 1px solid #cbcbcb;
        box-shadow: 0 1px 2px rgba(0, 0, 0, .09), inset 0 0 2px 2px rgba(255, 255, 255, .5), inset 0 0 5px 5px rgba(255, 255, 255, .4);
    }
}

p {
    margin: 0 0 0.5rem 0;
    font-size: 18px;
}

input[type=button] {
    background-color: #2dabf9;
    border: 1px solid #057fd0;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 18px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0px -1px 0px #5b6178;
    margin-bottom: 1px;
}

input[type=button]:hover {
    background-color: #0688fa;
}

input[type=button]:active {
    margin-top: 1px;
    margin-bottom: 0px;
}

input[type=text] {
    width: 100%;
}

#modal {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.3);
    height: 100%;
    width: 100%;
    display: none;
    justify-content: center;
    transform: translateZ(0);
}

#modal-dialog {
    z-index: 50;
    align-self: center;
    border-radius: 12px;
    width: 24rem;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

#modal-text {
    width: 85%;
}
