@font-face {
    font-family: 'SpaceMono';
    src: url('/static/SpaceMono-Regular.ttf');
}

:root, body {
    text-align: center;
    font-family: 'SpaceMono', monospace;
    background: #222;
    color: #fff;
    margin: 0;
}

nav {
    text-align: left;
    margin: 8px;
}

nav > a {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 16px;
    gap: 8px;
    text-decoration: none;
    color: #fff;
}

nav > a > img {
    height: 32px;
}

.bigmargin {
    margin-top: 30vh;
}

.header {
    margin-top: 10vw;
    margin-bottom: 5vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.header > img {
    max-width: 256px;
}

form {
    margin-top: 20vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

form > h1 {
    margin: 0;
}

form > img {
    margin: 16px;
    height: 128px;
}

form > label > input {
    margin: 8px;
    padding: 8px;
    background: #00000022;
    border-radius: 4px;
    border: #00000044 1px solid;
    color: #fff;
}

form > input[type="submit"] {
    padding: 8px;
    color: #fff;
    background-color: #e1510a;
    text-decoration: none;
    border-radius: 4px;
    border: #00000044 1px solid;
    cursor: pointer;
    transition: 0.2s;
}

form > input[type="submit"]:disabled {
    background-color: #00000022;
    color: #888;
}

.header > h1 {
    margin: 0;
}

.left-align {
    text-align: left;
}

.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-info {
    max-width: 500px;
}

.about-info > p {
    margin: 2px;
}

.about > h5 {
    text-emphasis: none;
}

.gray {
    color: #666;
}

.red {
    color: #f00;
}

.button {
    padding: 8px;
    color: #fff;
    background-color: #e1510a;
    text-decoration: none;
    border-radius: 4px;
}

code {
    border-radius: 2px;
    padding: 6px 4px 2px;
    background: #00000022;
}

@media (max-width: 1000px) {
    .header > img {
        max-width: 80%;
    }

    h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 46px;
    }

    p, a, label, input {
        font-size: 40px;
    }

    .button {
        padding: 12px 24px;
        color: #fff;
        background-color: #e1510a;
        text-decoration: none;
        border-radius: 4px;
    }

    nav {
        text-align: center;
        margin: 48px;
    }

    nav > a {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        gap: 8px;
        text-decoration: none;
        color: #fff;
    }

    nav > a > img {
        height: 48px;
    }

    form > img {
        height: 256px;
    }
}
