html, body {
    font-family: 'Saira Extra Condensed', sans-serif;
    margin: 0;
    height: 100%;
}

body {
    background-color: rgb(37, 38, 42);
    display: flex;
    flex-direction: column;
    align-items: center;
    vertical-align: center;
    justify-content: center;
}

h1 {
    color: white;
    margin-top: 0;
    font-size: 18pt;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

h1 div {
    font-size: 16px;
    font-family: "Courier New", monospace;
}

p {
    color: rgb(180, 180, 180);
}

a {
    color: rgb(166, 34,88);
}

img.logo {
    height: 48px;
    width: 48px;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

div.content {
    color: white;
    text-align: center;
    font-size: 18pt;
    display: flex;
    flex-direction: column;
    align-items: center;
    vertical-align: center;
    justify-content: center;
    width: 100%;
}

div.container {
    position: relative;
    display: block;
    margin: 16px;
    padding: 16px;
    background-color: rgb(30, 30, 30);
    border: 1px solid rgb(50, 50, 50);
    border-radius: 8px;
    box-shadow: inset 0 0 3px 4px rgba(0, 0 ,0, 0.2);
}

div.container div.title {
    color: rgb(180, 180, 180);
    font-size: 14pt;
    position: absolute;
    z-index: 100;
    top: -20px;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 0 12px;
    background-color: rgb(30, 30, 30);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

div.container div.title:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    content: "";
    height: 65%;
    border-left: 1px solid rgb(50, 50, 50);
    border-right: 1px solid rgb(50, 50, 50);
    border-top: 1px solid rgb(50, 50, 50);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: inset 0 3px 3px 1px rgba(0, 0 ,0, 0.2);
}

label {
    color: rgb(180, 180, 180);
    font-size: 14pt;
    margin-left: 40px;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

input[type="text"], input[type="password"] {
    color: white;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgb(127, 127, 127);
    font-size: 14pt;
    text-align: center;
}

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

input[type="text"].topic {
    width: 500px;
    margin-bottom: 24px;
}

input[type="password"] {
    width: 250px;
}

button {
    font-size: 14px;
    font-weight: bold;
    margin: 8px;
    padding: 6px;
    color: white;
    border: none;
    border-radius: 4px;
    background-color: rgb(166, 34,88);
    line-height: 12px;
}

button span#shortcut-text {
    font-size: 8px;
    font-weight: normal;
    font-style: italic;
    padding: 0;
    margin: 0;
}

textarea, textarea:active {
    display: block;
    width: 90vw;
    color: white;
    background-color: transparent;
    font-family: Courier, monospace;
    font-size: 16px;
    border: 1px solid rgba(127, 127, 127, 0.25);
    border-radius: 8px;
    padding: 8px;
}

div#message {
    width: 90vw;
    height: 40vh;
    background: transparent;
    border: none;
}

footer {
    font-size: 20px;
    font-weight: normal;
}

@media (prefers-color-scheme: light) {
    body {
        background-color: #eee;
    }
    h1 { color: #4d4d4d; }
    p, footer { color: #888; }
}