html{
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: 'Fira Sans Condensed', sans-serif;
    color: #2b305e;
    background: #F9F8FD;
}

body, div, span, header, footer, form, input, nav, img, p, h1, h2, h3, a, svg, li, ul{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: block;

    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */
    user-select: none;          /* Likely future */
}

.log_err_msg{
    color: #ff0d5b;
    margin: 16px 0;
    background: rgba(255,255,255,0.7);
    padding: 8px;
    border-radius: 16px;
    border: 1.5px solid #aeb3dd;
}

input{
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}
a{
    text-decoration: none;
    color: inherit;
}
.hidden{
    display: none !important;
}
.space{height: 60px;}

.head_wrapper{
    width: 100%;
    /* background: #ffffff; */
}
.head_nav_wrapper{
    width: 100%;
    height: 60px;
    padding: 16px 0;
}
.head_logo_wrapper{
    width: 100px;
    display: inline-block;
    margin-left: 24px;
}
.social_links_wrapper{
    float: right;
    margin-right: 24px;
}
.social_links{
    display: inline-block;
    vertical-align: middle;
    text-align: right;
}
.social_links li{
    display: inline-block;
}
.social_img{
    width: 34px;
}
.log_btn{
    display: inline-block;
    vertical-align: middle;
    width: auto;
    height: 42px;
    padding: 0 24px;
    background: #ccd0f1;
    border-radius: 18px;
    line-height: 42px;
    cursor: pointer;
    margin-left: 16px;
}
.log_btn:hover{
    background: #bfc4f1;
}
.head_content_wrapper{
    width: 96%;
    max-width: 1280px;
    background: #dbd6f1;/*#F9F8FD*/;
    background-image: url('../../img/bg_main.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 48px auto;
    border-radius: 36px;
    padding: 86px 48px;
    /* background: linear-gradient(32deg, #c1c9f7, #dbd6f1); */
}
.head_text_wrapper, .login_wrapper{
    /* display: inline-block; */
    width: 50%;
    vertical-align: top;
}
.head_subtitle{
    margin: 24px 0;
}
.head_cta{
    display: inline-block;
    background: #848ccf;
    /* background: linear-gradient(-20deg, #848ccf, #5db9e6); */
    max-height: 42px;
    border: 0;
    outline: 0;
    padding: 0 36px;
    line-height: 42px;
    border-radius: 18px;
    color: white;
    font-weight: 600;
    box-shadow: 0 10px 16px rgba(68, 83, 212,0.4);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.head_cta:hover{
    background: #717ce2;
    box-shadow: 0 10px 18px rgba(68, 83, 212,0.6);
    /* background: linear-gradient(-20deg, #717ce2, #34a7e0) */
}
.login_wrapper{
    width: 100%;
    max-width: 400px;
    margin: 24px 0;
}
.login_inp, .login_sbm{
    width: 100%;
    border: 1.5px solid #aeb3dd;
    border-radius: 16px;
    margin: 18px 0;
    padding: 8px;
    min-height: 44px;
    outline: 0;
}
.login_sbm{
    background: #c3aed6;
}

footer{
    background: #2b305e;
    height: 50px;
    margin-top: -50px;
}
.footer_content{
    color: #848ccf;
    padding: 18px 0;
}
.footer_logo{
    display: inline-block;
    vertical-align: middle;
    width: 300px;
}
.allrights{
    display: inline-block;
    vertical-align: middle;
    width: 300px;
    font-size: 12px;
    float: right;
    text-align: right;
}



@media (max-width: 1240px){
    .head_content_wrapper{
        width: 96%;
    }
    .content_wrapper, .footer_content{
        width: 96%;
    }
}

@media (max-width: 1024px){
    .head_content_wrapper{
        width: 96%;
    }
    .content_wrapper, .footer_content{
        width: 96%;
    }
}

@media (max-width: 768px){
    .content_wrapper{
        text-align: center;
        padding: 28px 0;
    }
    .head_text_wrapper{
        width: 100%;
    }
    .login_wrapper{
        margin: 16px 0;
        padding: 0;
    }
}


@media (max-width: 600px){
    .head_content_wrapper{
        background-image: url(../../img/bg_main_mob.jpg);
    }
    .head_logo_wrapper{
        width: 80px;
    }
}

@media (max-width: 425px){
    .head_content_wrapper{
        margin-top: 70px;
    }
    .preview_container{
        width: 274px;
    }
    .in_btn{
        margin-right: -7px;
        border-radius: 18px 0 0 18px;
    }
    .sign_btn{
        margin-left: 0px;
        border-radius: 0 18px 18px 0;
    }
    .sign_btn::before{
        content: "";
        display: block;
        width: 1px;
        height: 20px;
        margin-bottom: -31px;
        margin-top: 11px;
        margin-left: -22px;
        background: black;
    }
    
    .head_logo_wrapper{
        margin-left: 12px;
    }
    .social_links_wrapper{
        margin-right: 12px;
    }
    .social_links{
        display: block;
        margin-bottom: 9px;
    }
    .head_logo_wrapper{
        margin-top: 42px;
    }
}


@media (max-width: 375px){
}

@media (max-width: 320px){
    body{
        width: 320px;
    }
}