.main-projects {
    margin-top: 125px;
}

.main-projects-block {
    display: flex;
}

.main-projects__items {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.main-projects__items_item {
    width: 25.5%;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}

.main-projects__items_item_inner {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 538px;
    padding-top: 55px;
    padding-bottom: 35px;
    padding-left: 30px;
    padding-right: 30px;
    background-color: #fff;
    border: 1px solid #9f9d9b;
    text-decoration: none;
}

.main-projects__items_item_photo {
    position: relative;
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background-size: cover;
    background-position: center;
}

.main-projects__items_item_photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.main-projects__items_item_title {
    position: relative;
    font-size: 24px;
    color: #3f3b37;
    line-height: 1.2;
    z-index: 2;
}

.main-projects__items_item_title span {
    background-image: linear-gradient(to bottom, rgba(63, 59, 55, 0.7), rgba(63, 59, 55, 0.7));
    background-position: 0 1.1em;
    background-repeat: repeat-x;
    background-size: 1px 1px;
}

.main-projects__items_item_year {
    position: relative;
    margin-top: auto;
    font-size: 16px;
    color: #3f3b37;
    line-height: 2.5;
    z-index: 1;
}

.main-projects__items_item.white .main-projects__items_item_title {
    color: #fff;
}

.main-projects__items_item.white .main-projects__items_item_title span {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7));
}

.main-projects__items_item.white .main-projects__items_item_year {
    color: #fff;
}

.main-projects__items_item.blue .main-projects__items_item_photo {
    background-color: #4e4e51;
}

.main-projects__items_item:hover .main-projects__items_item_title span {
    background-image: none;
}

.main-projects__items_info {
    width: 23.5%;
    padding-left: 10px;
    padding-right: 10px;
}

.main-projects__items_info_inner {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    padding-left: 25px;
}

.main-projects__items_info_title {
    margin-bottom: 95px;
    font-size: 50px;
    color: #3f3b37;
    line-height: 1.1;
    text-transform: uppercase;
}

.main-projects__items_info_title a {
    text-decoration: none;
    color: #3f3b37;
}

.main-projects__items_info_text {
    font-size: 18px;
    font-family: "regular";
    color: black;
    line-height: 1.778;
}

/* .develop-main {
    max-width: 1640px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
} */

@media (max-width: 1900px) {
    .main-projects__items_info_text br {
        display: none;
    }
}

@media (max-width: 1599px) {
    .main-projects__items_item_title {
        font-size: 27px;
    }

    .main-projects__items_item_title {
        font-size: 27px;
    }
}

@media (max-width: 1535px) {
    .main-projects__items_item_inner {
        min-height: 480px;
    }

    .main-projects__items_item_title {
        font-size: 24px;
    }

    .main-projects__items_info_title {
        font-size: 44px;
        margin-bottom: 45px;
    }
}

@media (max-width: 1439px) {
    .main-projects__items_item_title {
        font-size: 24px;
    }

    .main-projects__items_info_text {
        font-size: 16px;
    }

    .main-projects__items_info_title {
        margin-bottom: 30px;
        font-size: 37px;
    }

    .main-projects__items_item_inner {
        min-height: 450px;
    }

    .main-projects__items_item_title {
        font-size: 24px;
    }
}

@media (max-width: 1365px) {
    .main-projects__items_item_title {
        font-size: 21px;
    }

    .main-projects__items_info_title {
        margin-bottom: 30px;
        font-size: 34px;
    }

    .main-projects__items_item_inner {
        min-height: 400px;
    }
}

@media (max-width: 1279px) {
    .main-projects__items_item_inner {
        min-height: 340px;
        padding-top: 40px;
        padding-bottom: 35px;
        padding-left: 20px;
    }

    .main-projects__items_item_title {
        font-size: 18px;
    }

    .main-projects__items_info_title {
        font-size: 30px;
    }

    .main-projects__items_info_text {
        font-size: 14px;
    }

    .main-projects__items_info_inner {
        padding-left: 0;
        padding-top: 10px;
    }
}

@media (max-width: 1023px) {
    .main-projects {
        margin-top: 70px;
    }

    .main-projects__items {
        flex-direction: column;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .main-projects__items_item {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
        order: 2;
    }

    .main-projects__items_item_inner {
        min-height: 300px;
    }

    .main-projects__items_item_title {
        font-size: 21px;
    }

    .main-projects__items_item_photo {
        background-size: 100%;
        background-repeat: no-repeat;
    }

    .main-projects__items_info {
        width: 100%;
        order: 1;
        padding: 0;
        margin-bottom: 40px;
    }

    .main-projects__items_info_inner {
        padding-top: 0;
    }

    .main-projects__items_info_title {
        font-size: 32px;
    }

    .main-projects__items_info_title br {
        display: none;
    }
}

@media (max-width: 767px) {
    .main-projects {
        margin-top: 50px;
    }

    .main-projects__items_item_inner {
        min-height: 250px;
        padding-top: 40px;
        padding-bottom: 30px;
    }

    .main-projects__items_item_title {
        font-size: 21px;
    }

    .main-projects__items_info_title a {
        font-size: 24px;
    }
}

.develop-main__text-top {
    margin-bottom: 50px;
}

.develop-main__text-bottom {
    margin-top: 50px;
}

.develop-main-items {
    display: flex;
    flex-direction: column;
}

.develop-main-items .main-projects__items_item {
    width: 25%;
}

.develop-main-button {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.develop-main-button a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 260px;
    height: 50px;
    background: #3e3a36;
    font-size: 16px;
    color: #fff;
    letter-spacing: 1.5px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.develop-main-button a:hover {
    background: #211f1e;
}

.develop-main__category {
    display: flex;
    flex-direction: column;
    /* max-width: 1600px;
    margin-left: auto;
    margin-right: auto; */
    margin-bottom: 50px;
    padding-left: 0px;
    padding-right: 0px;
}

.develop-main__category_title {
    font-size: 20px;
    color: rgb(0, 0, 0);
    line-height: 1.6;
}

.develop-main__category_items {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #9f9d9b;
}

.develop-main__category_items_item {
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0px 0px 0px 1px #9f9d9b;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #000;
}

.develop-main__category_items_item a {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 7px 38px;
    text-decoration: none;
    color: #000;
}

.develop-main__category_items_item a:hover {
    box-shadow: inset 0px 0px 0px 2px #4e4e51;
}

.develop-main__category_items_item.active a {
    box-shadow: inset 0px 0px 0px 2px #4e4e51;
}

.develop-main__category_link {
    margin-left: auto;
    margin-top: 10px;
}

.develop-main__category_link a {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: rgb(64, 149, 193);
    line-height: 2;
    text-decoration: none;
}

@media(max-width: 1023px) {
    .develop-main-items .main-projects__items_item {
        width: 100%;
    }

    .develop-main__category_items_item {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
        font-size: 14px;
    }
}

@media(max-width: 767px) {
    .develop-main-button a {
        width: 200px;
        height: 45px;
        font-size: 14px;
    }
}

/* develop-item */

.develop-item {
    /* max-width: 1640px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
    /* padding-left: 20px; */
    /* padding-right: 20px; */
}

.develop-item-header {
    position: relative;
    display: flex;
    z-index: 1;
}

.develop-item-header__text {
    max-width: 1245px;
    padding: 60px 100px 60px 50px;
    background: #4e4e51;
    font-size: 25px;
    color: #fff;
    line-height: 1.6;
}

.develop-item-header__descr {
    flex: none;
    display: flex;
    flex-direction: column;
    max-width: 355px;
    width: 100%;
    padding-top: 30px;
    padding-left: 60px;
    padding-bottom: 20px;
    font-size: 22px;
    color: #000;
}

.develop-item-header__descr_item {
    margin-bottom: 15px;
}

.develop-item-photo {
    margin-top: -55px;
}

.develop-item-photo img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

.develop-item-content {
    display: flex;
    /* margin-top: 100px; */
}

.develop-item-content__left {
    max-width: 800px;
    width: 100%;
    margin-right: 50px;
}

.develop-item-content__left_text {
    line-height: 1.6;
}

.develop-item-content__left_text p {
    margin: 0;
    margin-bottom: 25px;
}

.develop-item-content__right {
    display: flex;
    flex-direction: column;
    max-width: 560px;
    margin-left: auto;
}

.develop-item-content__right_title {
    margin-bottom: 30px;
    font-size: 35px;
    color: #494542;
    text-transform: uppercase;
    line-height: 0.8;
}

.develop-item-content__right_text {
    line-height: 1.556;
}

.develop-item-content__right_text p {
    margin: 0;
    margin-bottom: 25px;
}

.develop-item-other {
    display: flex;
    flex-direction: column;
    margin-top: 155px;
}

.develop-item-other__title {
    margin-bottom: 50px;
    font-size: 24px;
    color: #3f3b37;
    text-transform: uppercase;
    line-height: 1.08;
}

.develop-item-other__title a {
    color: #3f3b37;
    text-decoration: none;
}

.develop-item-other__title a:hover {
    text-decoration: none;
    color: rgba(63, 59, 55, 0.85);
}

.develop-item-other__items .main-projects__items_item {
    width: 25%;
}

.develop-item-gallery {
    display: flex;
    flex-wrap: wrap;
    margin-top: 70px;
    margin-left: -5px;
    margin-right: -5px;
}

.develop-item-gallery__item {
    width: 33.3333%;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
}

.develop-item-gallery__item_photo {
    position: relative;
    display: block;
    text-decoration: none !important;
    padding-top: 63%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.develop-item-other .main-projects__items_item_inner {
    min-height: 420px;
}

@media(max-width: 1900px) {
    .develop-item-other .main-projects__items_item_inner {
        min-height: 420px;
    }

    .develop-item-other .main-projects__items_item_title {
        font-size: 21px;
    }
}

@media(max-width: 1535px) {
    .develop-item-other .main-projects__items_item_inner {
        min-height: 300px;
        padding-top: 35px;
        padding-bottom: 35px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .develop-item-other .main-projects__items_item_title {
        font-size: 15px;
    }
}

@media(max-width: 1365px) {
    .develop-item-other__title {
        font-size: 32px;
    }

    .cmsl_columns_col1 {
        margin-right: 40px;
    }

    .cmsl_columns_col2 {
        max-width: 325px;
    }
}

@media(max-width: 1279px) {
    .develop-item-content {
        flex-direction: column;
    }

    .develop-item-content__left {
        width: 100%;
        max-width: 100%;
        margin-bottom: 50px;
    }

    .develop-item-content__right {
        width: 100%;
        max-width: 100%;
    }

    .develop-item-other .main-projects__items_item_inner {
        min-height: 250px;
        padding-top: 35px;
        padding-bottom: 35px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .develop-item-other .main-projects__items_item_title {
        font-size: 12px;
    }
}

@media(max-width: 1023px) {
    .develop-item-header {
        flex-direction: column;
    }

    .develop-item-header__text {
        order: 2;
        padding: 40px 30px;
        font-size: 18px;
    }

    .develop-item-header__descr {
        order: 1;
        padding: 0;
        margin-bottom: 30px;
        font-size: 18px;
    }

    .develop-item-header__descr_item {
        margin-bottom: 10px;
    }

    .develop-item-photo {
        margin-top: -30px;
    }

    .develop-item-content {
        margin-top: 50px;
    }

    .develop-item-content__right_title {
        font-size: 24px;
    }

    .develop-item-other {
        margin-top: 70px;
    }

    .develop-item-other__title {
        font-size: 24px;
    }

    .develop-item-other__items .main-projects__items_item {
        width: 100%;
    }

}

@media(max-width: 767px) {

    .develop-item-header__text {
        font-size: 16px;
    }

    .develop-item-content__right_title {
        font-size: 21px;
    }

    .develop-item-other__title {
        font-size: 21px;
    }

    .develop-item-gallery__item {
        width: 50%;
    }
}

@media(max-width: 479px) {

    .develop-item-photo {
        margin-top: 50px;
    }

    .develop-item-header__text {
        padding: 25px 25px;
        font-size: 15px;
    }

    .develop-item-header__descr {
        font-size: 16px;
    }

    .develop-item-other__title {
        margin-bottom: 30px;
    }
}

/* develop-item */