body.dark {
    color: #FFF;
}

main {
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    padding: 0 14px;
}

form {
    border-radius: .8em;
    box-shadow: 0 0 64px #BBB;
    display: flex;
    flex-direction: column;
    margin: 1em;
    max-width: 320px;
    padding: 2em;
    width: 100%;
}

body.dark form {
    box-shadow: 0 0 64px #000;
}

form > * {
    font-family: sans-serif;
    margin-bottom: .6em;
}

form a {
    margin-bottom: 0;
    text-align: center;
}

form h2 {
    margin-top: 0;
}

form div {
    display: flex;
}

div input:first-child {
    margin-right: .6em;
}

form div.names input {
    width: 50%;
}

form input {
    border: 1px solid #555;
    border-radius: .3em;
    font-size: 1em;
    padding: .3em .4em;
}

form input:invalid {
    border: 1px solid #F00;
}

form input[type="submit"] {
    background-color: var(--brand-color);
}

form input[type="submit"]:hover {
    background-color: var(--brand-color-highlight);
}

#turnstile {
    justify-content: center;
}

#turnstile > div {
    width: 100%;
}

.fa-eye {
    align-self: center;
}

.fa-eye:hover {
    color: green;
}

.err_msg {
    border: 1px solid red;
    border-radius: .3em;
    font-family: sans-serif;
    font-size: 16px;
    padding: 1em;
    text-align: center;
}