html,
body {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: relative;
    font-family: 'Raleway', sans-serif;
    color: white;
    background-color: #70819F;
    background-image: url('../../images/background.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    min-width: 1200px;
    z-index: 0;
    cursor: default;
}

label {
    display: block;
    width: 130px;
    float: left;
}

legend {
    padding-left: 0;
    padding-right: 0;
    position: relative;
}

legend img {
    height: 40px;
    position: absolute;
    top: -34px;
}

#wrapper {
    z-index: 1;
}

#login_wrap {
    background: rgba(111, 78, 55, 0.80);
    border-radius: 10px;
    border: 2px black solid;
    padding-top: 30px;
    width: 320px;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
}

#text {
    width: 213px;
}

#errors {
    color: #cc4141;
    font-weight: bold;
    padding-bottom: 5px;
    text-align: center;
}

#success {
    color: #7acc41;
    font-weight: bold;
    padding-bottom: 5px;
    text-align: center;
}

.input_row {
    margin-bottom: 10px;
    font-weight: bold;
}

.input_row>input {
    width: calc(100% - 140px);
}

#buttons {
    padding-top: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#buttons.single {
    justify-content: flex-end;
}

#buttons.register {
    justify-content: space-between;
}

video {
    position: fixed;
    opacity: 0.3;
    filter: Alpha(opacity=30);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transition: 1s opacity;
}

#construction_notice {
    font-weight: bold;
    font-size: 5vh;
    text-align: center;
    line-height: 6.5vh;
}

#language_selector {
    position: fixed;
    top: 10px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    font-size: 2vh;
}

.language_option {
    cursor: pointer;
    padding-left: 5px;
    padding-right: 5px;
}

.language_option.active {
    text-decoration: underline;
    color: #99745A;
    font-weight: bold;
}

.language_option:hover {
    color: #C09C83;
}

#show_login {
    cursor: pointer;
    position: fixed;
    top: -30px;
    left: 0;
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 30px solid #656565;
}

#login_title {
    text-align: center;
    padding-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: underline;
}

button,
input[type="submit"] {
    cursor: pointer;
    background-color: #C09C83;
    padding: 5px;
    border-radius: 5px;
    margin-top: 3px;
    color: black;
    border: 1px solid black;
    margin-bottom: 3px;
}

button:hover,
input[type="submit"]:hover {
    box-shadow: 4px 4px 12px 0px rgba(0, 0, 0, 0.6);
}

#obivan {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 0;
    margin: 0;
    z-index: -1;
}

html.nobg,
body.nobg {
    background-image: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: #99745A;
}

#error_code {
    text-align: center;
    color: #99745A;
    font-weight: bold;
    font-style: italic;
    font-size: 90px;
}