@media only screen and (min-width : 1300px) {

    .container{
        max-width: 1200px;
    }
}

@media only screen and (max-width : 1200px) {
    .container{
        max-width: 100%;
        width: auto;
        margin: 0 24px;
    }
}

@media only screen and (max-width : 800px) {

    /* header .menu-block ul.menu-items,
    header .menu-block .profile span.text,
    header .menu-block .languages{
        display: none;
    } */
    header .menu-block ul.menu-items,
    header .dropdown-languages-desktop{
        display: none;
    }
    header .menu-block .mobile-menu-button{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    header .menu{
        padding: 28px 0;
    }

    .layout.how_we_work {
        display: block;
    }

    .layout.how_we_work main>div {
        display: block;
    }

    .layout.how_we_work main {
        padding: 0;
    }

    .layout.terms nav {
        display: none;
    }

    .layout.terms main {
       padding: 0!important;
    }

    .layout.how_we_work .right-text {
        padding: 20px 0 0 0;
    }

    .layout.how_we_work .left-text {
        padding: 20px 0 0 0;
    }

    .layout.how_we_work nav {
        width: 100%;
    }

    .layout.how_we_work nav .banner-blue{
        padding: 30px;
    }

    .layout.how_we_work nav img {
        width: 100%;
    }

    main {
        flex: 1;
        overflow-x: hidden;
    }

    .title-block .sub-title {
        display: none;
    }

}
@media only screen and (max-width : 744px){
    .container{
        margin: 0 16px;
    }
    .mobile-menu-block .menu-block{
        padding: 28px 16px 24px 16px;
    }
    .mobile-menu-block .menu-body{
        padding: 64px 8px 0 8px;
    }
    footer .footer{
        padding: 45px 0;
    }
    .background-modal.register-individual .block_account-register,
    .background-modal.register-entity .block_account-register{
        width: 480px;
    }
    .background-modal.register-individual .block_account-register .groups.last,
    .background-modal.register-entity .block_account-register .groups.last{
        flex-direction: column;
    }
}
/* начин моб версия */
@media only screen and (max-width : 540px){
    .container{
        margin: 0 12px;
    }
    header .menu{
        padding: 20px 0;
    }
    .mobile-menu-block .menu-block{
        padding: 20px 16px 24px 16px;
    }
    .mobile-menu-block .menu-header{
        padding-bottom: 20px;
    }
    .mobile-menu-block .menu-body{
        padding: 40px 8px 0 8px;
    }
    .mobile-menu-block .menu-items .item{
        padding: 20px 0;
        font-size: 18px;
        line-height: 22px;
    }
}
@media only screen and (max-width : 480px){
    footer .footer{
        flex-direction: column;
        align-items: flex-start;
        gap: 48px;
        padding: 30px 0;
    }
    footer .footer .block-footer a{
        margin-bottom: 2px;
    }
    footer .footer .block-footer .item-footer{
        text-align: left;
        margin-bottom: 0;
    }
    footer .footer .block-footer{
        flex-direction: column;
        gap: 10px;
    }
    .background-modal .block_account-login,
    .background-modal.register .block_account-register,
    .background-modal.register-individual .block_account-register,
    .background-modal.register-entity .block_account-register{
        width: 100%;
        /* margin: 100px 12px auto 12px; */
        padding: 40px 24px;
    }
    .background-modal.welcome .block-modal,
    .background-modal.order-placed .block-modal{
        width: 100%;
    }
    .background-modal .block_account-register form.form-register .buttons-group .but-person{
        padding: 12px 5px;
    }
    .background-modal.register-individual .block_account-register .groups,
    .background-modal.register-entity .block_account-register .groups{
        flex-direction: column;
        gap: 10px;
    }
    .background-modal.register-individual .block_account-register .groups.two,
    .background-modal.register-entity .block_account-register .groups.two{
        flex-direction: row;
    }
    .background-modal .__block{
        margin: 1.75rem 12px;
    }
    .background-modal .block_account-login h3.title,
    .background-modal .block_account-register h3.title,
    .background-modal.restore .block_account-login form.form-login .group-item,
    .background-modal.new-password .block_account-login form.form-login .group-item,
    .background-modal.verification .block_account-login form.form-login .group-item{
        margin-bottom: 32px;
    }
    .background-modal .block_account-login form.form-login,
    .background-modal .block_account-register form{
        gap: 10px;
    }
    .background-modal.register-individual .block_account-register button.blue,
    .background-modal.register-entity .block_account-register button.blue{
        margin: 22px 0 0 auto;
    }
    .background-modal .block_account-register form.form-register .buttons-group{
        margin: 14px 0 38px 0;
    }
    .background-modal .block_account-login form.form-login .buttons-group{
        margin-top: 2px;
    }
    .background-modal .block_account-login form.form-login button.button{
        margin: 0 24px;
    }
    .background-modal .block_account-register form.form-register button.login,
    .background-modal .block_account-login form.form-login button.register{
        margin-top: -2px;
    }
    .background-modal.restore .block_account-login p.sub-title,
    .background-modal.verification .block_account-login p.sub-title,
    .background-modal.new-password .block_account-login p.sub-title,
    .background-modal.restore .block_account-login form.form-login .group-item,
    .background-modal.verification .block_account-login form.form-login .group-item
    .background-modal.new-password .block_account-login form.form-login .group-item{
        margin-bottom: 32px;
    }
    .background-modal.check-email .block_account-login p.sub-title{
        margin-bottom: 0;
    }
}
