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

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

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

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

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

div.container {
    color: white;
    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);
}

a, a:visited {
    text-decoration: underline;
    color: rgb(166, 34,88);
}

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


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

button.button-link {
    cursor: pointer;
    text-decoration: underline;
    font-weight: normal;
    font-family: 'Saira Extra Condensed', sans-serif;
    font-size: 14pt;
    display: inline;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    color: rgb(166, 34,88);
}

@media (prefers-color-scheme: light) {
    body {
        background-color: #eee;
    }
    div.content { color: #4d4d4d; }
    div.container, div.container div.title { background-color: rgb(60, 60, 60); }
    input#input, div#hash { color: black; background: rgb(220, 220, 220   ); }
}