#domshtor .header {
    background: url('/web/uploads/projects/domshtor/main-bg.png') no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

#domshtor .task-wrapper {
    display: flex;
    justify-content: space-between;
    width: 860px;
    margin: 0 auto;
    padding: 30px 0;
    align-items: center;
}

#domshtor .task-wrapper_one {
    width: 450px;
}

#domshtor .task-wrapper_two {
    width: 350px;
    position: relative;
    transform: translateX(11em);
}

#domshtor .task-wrapper_one p {
    font-weight: 700;
    font-size: 17px;
}

#domshtor .header-wrapper_top-img {
    display: flex;
    justify-content: center;
    transform: translateX(-37em) translatey(8em);
}

#domshtor .header-wrapper_center-logo {
    display: flex;
    justify-content: center;
    transform: translateX(-15em) translatey(8em);
}

#domshtor .task-wrapper_two h2 {
    font-size: 48px;
    font-weight: 700;
    color: #000;
}

#domshtor .task-wrapper_two p {
    font-size: 28px;
    font-weight: 400;
    color: #000;
    margin-top: 50px;
}

#domshtor .task-wrapper_one-bg {
    position: absolute;
    left: -20em;
}

#domshtor .main-img-box {
    display: flex;
    justify-content: center;
    margin-top: 150px;
    position: relative;
    z-index: 2;
}

#domshtor .main-img-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    color: #000;
    height: 100%;
}

#domshtor .main-img_top-text {
    position: absolute;
    font-size: 19px;
    font-weight: 400;
    top: 110em;
    left: 10em;
    z-index: 999;
    width: 20em;
    height: 37em;
    background: #fff7ef;
    padding: 46px;
}

/*footer*/

#domshtor .footer .task-wrapper {
    position: relative;
}

#domshtor .footer .task-wrapper::after {
    content: '';
    position: absolute;
    bottom: 50%;
    right: -14em;
    background: #fff7ef;
    height: 125%;
    width: 475px;
    z-index: 1;
}

#domshtor .footer .task-wrapper::before {
    content: '';
    position: absolute;
    bottom: -51%;
    left: 22%;
    background: #fff7ef;
    height: 125%;
    width: 30%;
    z-index: 1;
}

#domshtor .footer .task-wrapper_one-bg {
    position: absolute;
    left: -18em;
    z-index: 2;
}

#domshtor .footer .task-wrapper_two {
    width: 350px;
    position: relative;
    transform: translateX(45em);
    z-index: 2;
}

#domshtor .footer .task-wrapper_two p {
    font-size: 20px;
    font-weight: 100;
    margin-top: 50px;
    color: #333;
}

#domshtor .footer .task-wrapper_two h3 {
    font-size: 26px;
    font-weight: 100;
    margin-top: 50px;
}

#domshtor .footer .task-wrapper_one-bg::before {
    content: 'Мобильная версия';
    position: absolute;
    top: 15%;
    left: -6%;
    width: 475px;
    font-size: 8em;
    transform: rotate(-90deg);
    font-weight: 700;
    color: #dadada;
    line-height: 1;
}


@media (min-width: 360px) and (max-width: 1400px){
    #domshtor .footer .task-wrapper::after {
        right: -20%;
    }
}



@media (min-width: 320px) and (max-width: 700px){
    #domshtor .header {
        background-position: center 50px;
        background-size: 180%;
    }
    #domshtor .header-wrapper_center-logo {
        transform: none;
    }
    #domshtor .header-wrapper_center-logo img {
        max-width: 70%;
    }

    #domshtor .header-wrapper_top-img {
        transform: translateX(4em) translatey(1em);
    }
    #domshtor .task-wrapper {
        width: 100%;
        flex-direction: column;
    }
    #domshtor .task-wrapper_one {
        width: 90%;
        margin: 0 auto;
    }
    #domshtor .task-wrapper_two {
        width: 100%;
        transform: translateX(1em);
    }
    #domshtor .task-wrapper_one-bg {
        top: -10px;
        position: relative;
        left: -3em;
    }
    #domshtor .main-img_top-text {
        top: 125em;
        left: 0em;
        height: auto;
        width: 15em;
    }
    #domshtor .footer .task-wrapper::after {
         display: none;
    }
    #domshtor .footer .task-wrapper::before {
        display: none;
    }
    #domshtor .footer .task-wrapper_two {
        width: 350px;
        position: relative;
        /* transform: translateX(45em); */
        z-index: 2;
    }
    #domshtor .footer .task-wrapper_two {
        width: 100%;
    }
    #domshtor .footer .task-wrapper_one-bg {
        position: relative;
        right: 0px;
        left: auto;
    }
    #domshtor .footer .task-wrapper_one-bg::before {
        top: 335px;
        left: -110px;
    }
    #domshtor .footer .task-wrapper_two {
        transform: none;
        margin-top: 310px;
        width: 90%;
        margin: 0 auto;
    }
}
