

.text {
    color: #39040a !important;
}

.backgr {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.center-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.baner {
    margin-left: -5px;
    margin-top: -4px;
}

.section-first {
    margin-top: -4px;
    height: 700px;
    background-image: url('/image/banerfirst.png');
    align-items: center;
}

.first-block {
    flex: 0 0 37%;
    text-align: center;
    color: #83514a !important;
    display: flex;
    height: 335px;
    justify-content: space-between;
    flex-direction: column;
    margin-top: -4%;
}

.title-first {
    margin-top: -10px;
}

.block-title {
    font-size: 38px;
    letter-spacing: 1px;
    line-height: 1;
    /* box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35) inset; */
    color: transparent;
    text-shadow: 0px 2px 3px rgba(131, 81, 74, 0.35)
}

.block-title--1 {
    font-size: 38px;
    letter-spacing: 1px;
    line-height: 1;
}

.text-first {
    transform-origin: 0 0;
    transform: scale(1.04, 1) skew(-10deg);
    margin: 0 40px;
    padding-top: 35px;
}

.block-text {
    font-size: 23px;
    line-height: 1.05;
    letter-spacing: inherit;
    /* box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35) inset; */
    color: transparent;
    text-shadow: 0px 2px 3px rgba(131, 81, 74, 0.35)
}

.block-text--1 {
    font-size: 23px;
    line-height: 1.05;
    letter-spacing: inherit;
}

.block-button {
    font-size: 30px;
    line-height: 1;
    transform: rotate(-5deg);
    margin-top: 25px;
    text-transform: uppercase;
    margin-left: -10px;
}

.img-poshiv {
    width: 300px;
    margin: 25px auto;
    transform: rotate(4deg);
}

.section-second {
    background-color: #e8e1d1;
    justify-content: center;
}

.second-container {
    max-width: 880px;
    text-align: center;
}

.second-article {
    padding: 4% 0 0;
    font-size: 17px;
    letter-spacing: 0.4px;
}

.second-title {
    font-size: 40px;
    padding: 2.2% 0;
}

.second-text {
    font-size: 30px;
    line-height: 1;
    padding-bottom: 2%;
}

.second-card {
    justify-content: center;
    padding-bottom: 2%;
}

.card-block {
    max-width: 630px;
}

.cards {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-1,
.card-2,
.card-3 {
    height: 120px;
    width: 195px;
    background-image: url('/image/card-back-home.png');
    font-size: 30px;
    line-height: 1;
}


.section-why {
    height: 700px;
    flex-wrap: wrap;
    padding: 36px 0;
    background-image: url('/image/baner-2.png');
}

.why-text {
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.5px;
}

.why_image,
.me-first_i,
.me-second_i,
.me-third_i {
    flex: 0 0 35%;
}

.why_image img {
    max-width: max-content;
    max-height: max-content;
    box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35);
}

.why_block-r {
    flex: 0 0 62%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why_block-r-title {
    font-size: 36px;
}

.why_block-r-text {
    padding-top: 1%;
}

.why_block-d {
    flex: 0 0 100%;
}

.section-achievements {
    height: auto;
    justify-content: center;
    background-color: #e8e1d1;
}

.achievements-container {
    max-width: 1150px;
    width: 100%;
    padding: 20px 0;
}

.achievements-bloks {
    flex: 0 0 30%;
}

.achievements-list {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}

.achievements-item {
    max-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('/image/achievements.png');
    height: 100%;
    margin: 0 15px;
    text-align: center;
    font-size: 24px;
    line-height: 1;
}

.achievements-description {
    flex: 0 0 35%;
    text-align: center;
    margin: auto;
    margin-bottom: 0;
}

.achievements-description img {
    margin: auto;
    box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35);
    max-width: -moz-available;
}

.achievements-description .text {
    padding: 5% 0;
    font-size: 16px;
    line-height: 1.875;
}

.section-closes {
    background-color: #e8e1d1;
    display: flex;
    justify-content: center;
}

.closes-container {
    justify-content: center;
    display: flex;
    flex-direction: column;
    max-width: 1150px;
}

.closes-title {
    position: relative;
    height: 75px;
    display: flex;
    justify-content: center;
}

.line-horizont {
    width: 100%;
    height: 3px;
    background: #39040a;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.closes-list {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
}

.closes-item {
    flex: 0 0 25%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 3%;
    align-items: center;
}

.closes-title .title {
    max-width: 73%;
    width: 100%;
    text-align: center;
    background-color: #e8e1d1;
    position: absolute;
    font-size: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.item-img {
    margin-bottom: 10%;
}

.item-button {
    border-radius: 2px;
    background-color: rgba(232, 199, 196, 0.5);
    box-shadow: inset 0px 3px 7px 0px rgba(0, 0, 0, 0.35);
    border-radius: .25rem;
    height: 55px;
    width: 73%;
    display: flex;
}

.item-button:hover {
    opacity: 1;
}

.item-button button {
    height: 85%;
    width: 90%;
    margin: auto;
    border-radius: 2px;
    background-color: rgb(207, 206, 204);
    box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35);
    line-height: 1;
    font-weight: 700;
}

.btn-check:focus+.btn,
.btn:focus {
    outline: 0;
    box-shadow: none;
}

.section-form {
    position: relative;
    height: 500px;
}

.form-form {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 100%;
}

.back-form {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.form-input {
    color: rgb(128, 127, 123);
    border: none;
    background-image: -moz-linear-gradient(90deg, rgb(205, 204, 202) 0%, rgb(240, 223, 219) 80%, rgb(250, 249, 246) 96%);
    background-image: -webkit-linear-gradient(90deg, rgb(205, 204, 202) 0%, rgb(240, 223, 219) 80%, rgb(250, 249, 246) 96%);
    background-image: -ms-linear-gradient(90deg, rgb(205, 204, 202) 0%, rgb(240, 223, 219) 80%, rgb(250, 249, 246) 96%);
}

.form-control::placeholder {
    color: rgb(128, 127, 123);
    opacity: 1;
    font-size: 18px;
    line-height: 1.333;
    text-align: center;
}

.form-control:focus {
    color: rgb(128, 127, 123);
    border: none;
    outline: 0;
    box-shadow: none;
}

.form-title {
    font-size: 30px;
    color: rgb(35, 8, 1);
    line-height: 0.8;
}

.form-text {
    max-width: 700px;
    font-size: 25px;
    color: rgb(35, 8, 1);
    line-height: 0.96;
    text-align: center;
    text-shadow: 0px 3px 7px rgba(0, 0, 0, 0.35);
}

.button-control {
    border-width: 1px;
    border-style: solid;
    background-image: -moz-linear-gradient(90deg, rgb(210, 184, 171) 1%, rgb(183, 131, 118) 50%, rgb(131, 81, 74) 100%);
    background-image: -webkit-linear-gradient(90deg, rgb(210, 184, 171) 1%, rgb(183, 131, 118) 50%, rgb(131, 81, 74) 100%);
    background-image: -ms-linear-gradient(90deg, rgb(210, 184, 171) 1%, rgb(183, 131, 118) 50%, rgb(131, 81, 74) 100%);
    height: 40px;
    width: 100%;
}

.button-control:hover {
    background-image: -moz-linear-gradient(90deg, rgb(131, 81, 74) 1%, rgb(183, 131, 118) 50%, rgb(210, 184, 171) 100%);
    background-image: -webkit-linear-gradient(90deg, rgb(131, 81, 74) 1%, rgb(183, 131, 118) 50%, rgb(210, 184, 171) 100%);
    background-image: -ms-linear-gradient(90deg, rgb(131, 81, 74) 1%, rgb(183, 131, 118) 50%, rgb(210, 184, 171) 100%);
}

.me-title-block {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.me-first,
.me-second,
.me-third {
    background-size: auto;
    padding: 0;
    margin: 80px 0;
    display: flex;
    flex-wrap: wrap;
}

.me-first {
    margin-top: 0;
}

.me-second {
    background-image: url('/image/baner-2-rotate.png');
}

.me-first,
.me-third {
    background-image: url('/image/baner-2.png');
}


.me-padding {
    padding: 20px;
    flex: auto;
}

.me-title {
    font-size: 36px;
    color: rgb(35, 8, 1);
    line-height: 1;
    text-align: center;
}

.me-text {
    color: rgb(35, 8, 1);
    line-height: 1;
    font-size: 24px;
}

.me-first_title {
    text-align: center;
}

.me-first_t,
.me-second_t,
.me-third_t {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    flex: auto;
}

.review-title-block {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.review-list {
    display: flex;
    flex-wrap: wrap;
}

.review-list li:nth-child(1),
.review-list li:nth-child(2),
.review-list li:nth-child(3) {
    margin-top: 0;
}

.review-item {
    position: relative;
    flex: 1 0 33%;
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 475px;
    padding: 20px;
    margin: 30px 0;
}

.review-img {
    position: absolute;
    top: 0;
    z-index: -1;
}

.review-people-logo,
.review-people-name,
.review-people-text,
.review-link {
    max-width: 353px;
    padding: 10px 50px;
}

.review-people-name {
    font-size: 24px;
    color: rgb(35, 8, 1);
    line-height: 0.75;
}

.review-people-text {
    font-size: 16;
    color: rgb(35, 8, 1);
    line-height: 1;
    -moz-transform: matrix(1.20468452349514, 0, 0, 1.08677872724072, 0, 0);
    -webkit-transform: matrix(1.20468452349514, 0, 0, 1.08677872724072, 0, 0);
    -ms-transform: matrix(1.20468452349514, 0, 0, 1.08677872724072, 0, 0);
}

.review-link {
    margin-top: auto;
    font-size: 16px;
    color: rgb(35, 8, 1);
    line-height: 1;
    font-style: italic;
}

.section-contact {
    padding: 20px 0;
}

.contact-list {
    display: flex;
    flex-direction: column;
}

.contact-title {
    font-size: 40px;
    color: rgb(35, 8, 1);
    line-height: 0.75;
}

.contact-item {
    position: relative;
    height: 75px;
    display: flex;
    justify-content: center;
}

.contact-img {
    position: absolute;
    top: 0;
    z-index: -1;
    height: 100%;
}

.contact-text-light,
.contact-text {
    display: flex;
    align-items: center;
    text-align: center;
}

.contact-text {
    font-size: 30px;
    color: rgb(35, 8, 1);
    line-height: 1;
}

.contact-text-light {
    font-size: 30px;
    line-height: 1;
    color: #fff;
}

.social-list {
    display: flex;
    justify-content: center;
}

.social-item {
    display: flex;
    justify-content: center;
    align-items: center;
    border-width: 1px;
    border-style: solid;
    border-radius: 50%;
    height: 75px;
    width: 75px;
    margin: 15px;
    background-image: -moz-linear-gradient(90deg, rgb(210, 184, 171) 1%, rgb(183, 131, 118) 50%, rgb(131, 81, 74) 100%);
    background-image: -webkit-linear-gradient(90deg, rgb(210, 184, 171) 1%, rgb(183, 131, 118) 50%, rgb(131, 81, 74) 100%);
    background-image: -ms-linear-gradient(90deg, rgb(210, 184, 171) 1%, rgb(183, 131, 118) 50%, rgb(131, 81, 74) 100%);
}

.social-item:hover {
    background-color: #fff;
    background-image: none;
}

.me-first_t,
.me-second_t,
.me-third_t {
    flex: 0 0 65%;
}

@media screen and (max-width: 1380px) {

    .section-achievements {
        height: auto;
    }

    .second_img {
        padding-left: 10px;
    }

    .navbar-collapse {
        font-size: 12px;
        line-height: 1;
        padding-left: 0;
    }

    .section-first,
    .section-why,
    .me-first,
    .me-second,
    .me-third {
        background-size: cover;
        background-position: left;
    }

    .block-title,
    .block-title--1 {
        font-size: 28px;
    }

    .block-text,
    .block-text--1 {
        font-size: 18px;
        width: 100%;
    }

    .card-1,
    .card-2,
    .card-3 {
        font-size: 26px;
    }

    .second-text {
        font-size: 24px;
    }

    .second-title {
        font-size: 32px;
    }

    .why_block-r {
        justify-content: center;
    }

    .why_block-r-title {
        font-size: 30px;
    }

    .why-text {
        font-size: 24px;
    }

    .achievements-item {
        font-size: 18px;
    }

    .closes-title .title {
        font-size: 32px;
    }

    .closes-list {
        justify-content: center;
    }

    .closes-list li:last-child {
        margin-bottom: 0;
    }

    .closes-item {
        flex: 0 0 33%;
    }

    .me-title {
        font-size: 30px;
    }

    .me-text {
        font-size: 20px;
    }
}

@media screen and (max-width: 1200px) {
    .first-block {
        flex: 0 0 40%;
    }
}

@media screen and (max-width: 1124px) {
    .navbar-collapse {
        font-size: 9px;
    }

    .review-list {
        justify-content: center;
    }

    .review-item {
        flex: 0 0 50%;
    }
}

@media screen and (max-width: 1003px) {

    .achievements-container {
        flex-wrap: wrap;
    }

    .achievements-bloks {
        flex: 0 0 100%;
    }

    .achievements-item {
        height: 500px;
        margin: 20px;
    }

    .first-block {
        flex: 0 0 49%;
    }

    .section-why {
        justify-content: center;
        height: auto;
    }

    .why_block-r {
        margin: 20px 0;
        flex: 0 0 80%;
    }

    .me-first,
    .me-second,
    .me-third {
        padding: 20px 0;
    }

    .me-first_i,
    .me-first_t,
    .me-second_i,
    .me-second_t,
    .me-third_i,
    .me-third_t {
        flex: 0 0 100%;
        text-align: center;
    }

    .me-text {
        padding: 10px;
    }
}

@media screen and (max-width: 780px) {
    .closes-item {
        flex: 0 0 50%;
    }
    
    .contact-text-light{
        padding: 0 20px;
    }
    
    .achievements-description{
        flex: 0 0 100%;
    }
    
    .achievements-description img{
        margin: 0;
        max-width: 100%;
        width: 100%;
    }

    .section-first {
        justify-content: center;
    }

    .first-block {
        flex: 0 0 80%;
        max-width: 100vw;
    }

    .text-first {
        transform: scale(1.04, 1) skew(0deg);
        margin: 0;
    }

    .card-block {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .second-title,
    .why_block-r-title,
    .title,
    .me-title,
    .contact-title {
        font-size: 22px;
    }

    .contact-item {
        height: 60px;
    }

    .social-list,
    .section-footer {
        flex-wrap: wrap;
    }

    small {
        text-align: center;
    }

    form {
        padding: 0 20px;
    }

    .footer-list {
        flex: 100%;
    }

    .second_img {
        display: none;
    }

    .second-text,
    .card-1,
    .card-2,
    .card-3,
    .why-text,
    .me-text,
    .contact-text-light,
    .contact-text {
        font-size: 18px;
    }

    .closes-item,
    .review-item {
        flex: 0 0 100%;
    }

    .me-first_i img,
    .me-second_i img,
    .me-third_i img {
        max-width: 100vw;
    }

    .me-first,
    .me-second,
    .me-third {
        justify-content: center;
    }

    .me-first_t,
    .me-second_t,
    .me-third_t {
        flex: 0 0 100%;
    }

    .item-button {
        max-width: 270px;
    }

    .btn-default {
        max-width: 260px;
    }
}
