html{
    height: 100%;
}
body{
    display: flex;
    flex-direction: column;
    height: 100%;
}



.header {
   display: flex;
   justify-content: space-between;
   align-items: flex-end;
}

.container {
    display: flex;
    overflow: hidden;

    min-width: 460px;
    padding-left: 17%;
    padding-top: 10%;
    flex: 1 0 0;
}

header{
    flex: 0 0 auto;
}
.main {
    flex: 1 0 auto;
    align-items: center;
    display: flex;
    justify-content: space-around;
}

.main-content {
  display: flex;
  justify-content: space-between;
}
.main-content div:nth-child(1) {
    flex: 1 0 0;
}

.welcome-img {
    max-width:100%;
}

.promo {
    display: flex;
    /*flex: 1 0 50%;*/
    /*min-width: 50%;*/
    overflow: hidden;
    max-width: 960px;
}

.promo .login-img {
    max-width: 100%;
    /*width: 1139px;
    height: 1036px;*/
}
footer{
    flex: 0 0 auto;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}
footer .contact {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;

    text-align: center;
    color: #A4A4A4;
}
footer .contact a {
    text-decoration-line: underline;
    color: #0689D1;
}

a.log {
    text-decoration: none;
    margin-left: 6%;
    margin-top: 28px;
}
.login-in {
    width: 100%;
    min-width: 452px;
    max-width: 452px;
    margin-right: 10px;
    margin-left: 10px;
}

.login-in h1 {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 64px;
    line-height: 78px;
    color: #131313;
}

.login-in label {
    display: block;

    font-family: 'Rubik', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;

    color: #333333;
}
label.email {
    margin-top: 70px;
}
label.pass {
    margin-top: 20px;
}
.login-in input {
    background: #FFFFFF;
    border: 1px solid #D2D2D5;
    box-sizing: border-box;
    border-radius: 4px;
    margin-top: 8px;
    padding-left: 20px;

    width: 100%;
    height: 56px;

    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    color: #333333;
}
.login-in input::placeholder {
    color: rgba(51, 51, 51, 0.5);
}

.login-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.login-footer > * {
    margin-top: 24px;
}

.login-footer a:first-child {
    font-family: 'Rubik', sans-serif;
    text-decoration: unset;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;

    color: #FF5D28;
    padding-right: 15px;
}
.login-footer a:first-child:hover {
    color: #F14A13;
}


button.submit {
    height: 56px;
    background: #FF5D28;
    border-radius: 60px;
    border: 0;
    padding-left: 52px;
    padding-right: 52px;
    white-space: nowrap;

    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    color: #FFFFFF;
}
.header button.submit {
    margin-right: 100px;
}
.login-footer button.submit:hover {
    background: #F14A13;
    color:#fff;
    border: 0;
}
button.submit.out {
    background: #ffffff;
    color:#131313;
    border: 1px solid #FF5D28;
}
button.submit.out:hover {
    background: #F14A13;
    color:#fff;
    border: 1px solid #F14A13;
}

.mobile {
    display: none;
}
.pc {
    display: initial;
}


.help-block {
    opacity: 0;
    visibility: hidden;
    transition: 0.3s linear;
    /*position: absolute;*/
    left: 0;
    top: unset;
    margin: unset;

    font-family: 'Rubik', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 17px;
    color: #E50000;
    margin-top: 8px;
}
.has-error input {
    border: 1px solid #E60000;
}
.has-error .help-block {
    opacity: 1;
    visibility: visible;
}
.has-error {
    position: relative;
}
.form-group:before {
    content: '';
    position: absolute;
    background: url(./img/error-icon.svg) no-repeat center;
    background-size: cover;
    width: 14px;
    height: 14px;
    left: 100%;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease-in-out;

    bottom: unset;
    margin-left: -26px;
    top: 50px;
}
.has-error.form-group:before {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 1100px) {
    .promo {
        margin-top: 95px;
        justify-content: center;
    }
    .mobile {
        display: initial;
    }
    .pc {
        display: none;
    }
   .main-content {
        flex-direction: column;
        justify-content: center;
   }
   .container {
       padding-left: 0;
       justify-content: center;
   }
}
@media screen and (max-width: 991px) {
    a.log {
        margin-left: 20px;
    }
    .header button.submit {
        margin-right: 20px;
    }
}
@media screen and (max-width: 600px) {
    a.log {
        margin-left: 16px;
    }
    .header button.submit {
        margin-right: 16px;
    }
    .container {
        margin-left: 16px;
        margin-right: 16px;
        justify-content: center;
        flex: 1 0 50%;
        /*margin-top: 10%;*/
        min-width: unset;
    }

    .login-in {
        min-width: unset;
    }
}

@media screen and (max-width: 340px) {
    a.log {
        margin-left: 5px;
    }
    .header button.submit {
        margin-right: 5px;
    }
    .container {
        margin-left: 5px;
        margin-right: 5px;
        justify-content: center;
        /*margin-top: 10%;*/
    }
}


