body {
    font-family: 'Caveat', cursive;
    color: #fff;
    background-attachment: fixed;
    overflow-x: hidden;
}

#wrapper {
    min-height: 100vh;
    padding: 120px 20px 60px 20px;
    background: url(../images/background.png), radial-gradient(59.09% 186.75% at 50% 50%, rgba(189, 193, 1, 0) 0%, rgba(189, 193, 1, 0.5) 100%), #C10146;
    background-attachment: fixed;
}

.logo {
    margin-bottom: 50px;
}

.logo img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: 100%;
}

.board {
    min-width: 240px;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.board-top {
    display: flex;
    justify-content: stretch;
    height: 32px;
}
.board-top-left {
    width: 32px;
    height: 32px;
    background: url(../images/board-top-left.png) 0 0 no-repeat;
}
.board-top-center {
    position: relative;
    flex: 10;
    height: 32px;
    background: url(../images/board-top-center.png) 0 100% repeat-x;
}
.board-mesh {
    position: absolute;
    top: -26px;
    width: 42px;
    height: 28px;
}
.board-mesh-left {
    left: 20px;
    background: url(../images/board-mesh-left.png) 0 0 no-repeat;
}
.board-mesh-right {
    right: 20px;
    background: url(../images/board-mesh-right.png) 0 0 no-repeat;
}
.board-top-right {
    width: 32px;
    height: 32px;
    background: url(../images/board-top-right.png) 0 0 no-repeat;
}

.board-center-left {
    background: url(../images/board-center-left.png) 0 0 repeat-y;
}
.board-center-right {
    background: url(../images/board-center-right.png) 100% 0 repeat-y;
}
.board-content {
    margin: 0 32px;
    padding: 30px;
    background-color: #fff;
    color: #000;
}

.board-bottom {
    display: flex;
    justify-content: stretch;
    height: 32px;
}
.board-bottom-left {
    width: 32px;
    height: 32px;
    background: url(../images/board-bottom-left.png) 0 0 no-repeat;
}
.board-bottom-center {
    flex: 10;
    height: 32px;
    background: url(../images/board-bottom-center.png) 0 0 repeat-x;
}
.board-bottom-right {
    width: 32px;
    height: 32px;
    background: url(../images/board-bottom-right.png) 0 0 no-repeat;
}

.auth {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    flex: 1;
}

.auth-form {
    width: 100%;
    text-align: center;
}

.auth-form .form-field {
    margin-bottom: 30px;
}

.auth-form button {
    margin-top: 30px;
    padding: 0 20px;
    background: none;
    color: #F06733;
    border: none;
    font-size: 48px;
    line-height: 40px;
    cursor: pointer;
}
.auth-form button:hover {
    color: #8ABB1E;
}

.auth-form input {
    width: 100%;
    background: none;
    padding: 10px 0;
    border: none;
    border-bottom: dotted 1px #000;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    text-align: center;
}

.auth-form .form-field-password {
    position: relative;
}

.auth-form .form-field-username input {
    transform: rotateZ(1deg);
}

.auth-form .form-field-password input {
    transform: rotateZ(-1deg);
}


.auth-form .errorlist {
    margin-top: 20px;
    padding: 0;
    list-style: none;
    font-size: 24px;
    color: #F00;
}

.auth-form .mark {
    position: absolute;
    bottom: 0;
    left: 50%;
    font-size: 58px;
    color: #F00;
    width: 100px;
    margin: 0 auto;
    transform: translateX(40px) translateY(40px) rotateZ(15deg);
}

.auth-form .forgotten {
    margin-top: 10px;
    text-align: right;
    font-size: 18px;
}

.auth-form .password-forgotten {
    display: block;
}

.auth-form #head-forgotten {
    color: #F00;
}

.organizator {
    margin: 0 auto;
    max-width: 150px;
}

.organizator img {
    display: block;
    width: 100%;
}

@media (max-width: 1600px) {
    .logo {
        max-height: 25%;
    }
}

@media (max-width: 1368px) {
    .logo {
        max-height: 20%;
    }
}

@media (max-width: 360px) {
    .auth-form button {
        margin-top: 10px;
        font-size: 36px;
    }

    .auth-form .mark {
        position: static;
        transform: translateY(-20px) rotateZ(15deg);
    }
}
