
* {
    font-family: 'Arial', sans-serif;
    --win-bg: rgba(64, 64, 64, 0.25);
}

noscript {
    display: block;
    text-align: center;
    margin: 20vh auto 1em auto;
    max-width: 650px;
    padding: 2em !important;
}

body {
    margin: 0;
    min-height: 100vh;
    background-image: url("/res/images/background.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

main {
    max-width: 800px;
    height: calc(100% - 2em);
    padding: 1em;
    box-sizing: border-box;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    color: #202020;
    font-weight: normal;
}

div#windows {
    position: fixed;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 1em;
    top: 0;
    left: 0;
}

div#windows > * {
    backdrop-filter: blur(32px);
    border: 1px solid var(--win-bg);
    background: var(--win-bg);
    border-radius: 4px;
    padding: 0.5em 1em;
    box-sizing: border-box;
}

div#login-win,
div#welcome-win {
    max-width: 650px;
    margin: 20vh auto 1em auto;
}

div#login-win h1,
div#welcome-win h1 {
    text-align: center;
}

div#welcome-win a {
    text-decoration: none;
    background-color: var(--win-bg);
    border: 1px solid var(--win-bg);
    padding: 0.5em 1em;
    margin: 1em auto;
    border-radius: 4px;
    display: block;
    width: 50px;
    text-align: center;
    color: #202020;
}

div#welcome-win a:hover {

}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid var(--win-bg);
    background: var(--win-bg);
    height: 2em;
    backdrop-filter: blur(32px);
    margin-top: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

@media screen and (max-width: 600px) {
    footer {
        flex-direction: column;
        height: 4em;
    }
}

footer div {
    font-size: 0.75em;
    display: inline;
    color: #202020;
    margin: 0.5em 1em;
    text-align: center;
}

form {
    max-width: 400px;
    margin: 2em auto;
}

form input {
    background-color: var(--win-bg);
    border: 1px solid var(--win-bg);
    border-radius: 4px;
    outline: none;
    padding: 0.5em 1em;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 1em 0;
    font-size: 1em;
    color: #202020;
}

form input::placeholder {
    color: #404040;
    opacity: 1;
}
