:root {
    --box-width: 300px;
    --box-height: 450px;
}

@font-face {
  font-family: "Lato";
  src: url(/static/fonts/lato/Lato-Regular.ttf);
}

body {
    margin: 0;
    display: flex;

    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body > img {
    position: absolute;
    left: 0;
    top: 0;

    object-position: 100% 0;
    height: 100%;
    width: 100%;
    object-fit: cover;

}

body > div {
    background: rgba(255,255,255,1);
    border-radius: 10px;
    border: 1px solid #ddd;

    position: absolute;
    left: calc(50% - calc(var(--box-width) / 2));
    width: var(--box-width);
    top: min(25%, calc(50% - calc(var(--box-height) / 2)));
    /*height: var(--box-height);*/

    display: flex;
    justify-content: center;
    /*align-content: flex-start;*/
    flex-wrap: wrap;
}


.logo {
    height: 80px;
    margin: 25px 0 25px 0;
}


body > div > form > span {
    margin-top: 15px;
    color: #9c1921;
}

form {
    /*display: flex;*/
    /*justify-content: center;*/
    text-align: center;
}

.form-field {
    width: 100%;
}

.form-field label {
    display: block;
    /*font-weight: bold;*/
    text-transform: uppercase;
    width: 100%;
    margin: 15px 0 5px 0;
}

.form-field input {
    border: 1px solid #888;
    width: calc(var(--box-width) - 3rem);
    height: 30px;
    font-size: 1.5rem;
    padding: 0.25rem 0.75rem;
}

.form-field input:focus {
    border: 1px solid #9c1921;
    outline: none;
}

form button {
    width: calc(calc(var(--box-width) + 2px) - 1.5rem);
    height: 42px;
    background: #9c1921;
    border: 0;
    padding: 0;
    margin: 25px 0 15px 0;

    text-transform: uppercase;
    font-size: 1rem;
    color: #fff;

}

form button:focus {
    outline: dashed 2px #9c1921;
}

form a {
    display: block;
    color: #9c1921;
    margin-bottom: 20px;
}

form a:visited {
    color: #9c1921;
}

form a:focus {
    outline: dotted 2px #9c1921;
}