/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@media (max-width: 1920px) {
    .container {
        max-width: 1440px;
        padding: 0 20px;
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
    }
}


@media (max-width: 1440px) {

    .about-section.about-section__about {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }


    .third-section {
        margin-bottom: -270px;
    }
}

@media (max-width: 960px) {

    .first-section__tags {
        display: none;
    }

    .first-section__wrap {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }

    .first-section__info {
        width: 106%;
        position: relative;
        right: 0;
        bottom: 0;
        padding: 0 0 40px 16px;
    }
}


@media (max-width: 1150px) {
    .price-section {
        padding-bottom: 40px;
    }

    .price-section__wrap-img {
        width: 100%;
    }

    .price-section__info {
        width: 100%;
    }

    .price-section__time-wrap {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        gap: 20px;
    }

    .price-section__info-block {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: 100%;
    }

    .price-section__info-block:nth-child(2n) {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }


    .about-section {
        padding: 40px 0 40px;
    }


    .footer-section__name {
        width: 100%;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        gap: 30%;

    }

    .footer nav {
        display: none;
    }

    .footer-section__nav {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 0;
    }


    .background-section {
        top: 25px;
    }

    .third-section {
        margin-bottom: -200px;
    }

    .third-section__wrap-info-block {
        font-size: 14px;
    }

    .third-section h3 {
        font-size: 1.4rem;
    }


}


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

    /*.background-section {
        top: 0px;
    }*/
    
    .first-section__img {
        position: absolute;
        margin: 0 -10px 0 0;
        right: 0;
        width: 77%;
        height: 100%;
        bottom: 0;
    }


    .nav__wrapper.desktop {
        background-color: transparent;
    }

    .section-title {
        margin-top: 100px;
    }


    .first-section__wrap {
        padding-top: 20%;
    }

    .first-section__info {
        width: 90%;
    }


    .second-section::before {
        display: none;
    }

    .first-section__wrap .first-section__info {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 5%;
    }

    .navbar {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }

    .bar {
        display: block;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        -webkit-transform: rotate(45deg) translateY(11.5px);
        -ms-transform: rotate(45deg) translateY(11.5px);
        transform: rotate(45deg) translateY(11.5px);
    }

    .hamburger.active .bar:nth-child(3) {
        -webkit-transform: rotate(-45deg) translateY(-11.5px);
        -ms-transform: rotate(-45deg) translateY(-11.5px);
        transform: rotate(-45deg) translateY(-11.5px);
    }

    .nav__wrapper-list {
        position: fixed;
        right: -100%;
        top: 0;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: black;
        -webkit-transition: 0.3s;
        -o-transition: 0.3s;
        transition: 0.3s;
    }

    .nav__wrapper-list li {
        padding: 1.5rem 0;
    }

    .nav__wrapper-list.active {
        right: 0;
        background: url(../image/noise/noise1.png), -webkit-gradient(linear, left top, left bottom, from(#DEDACF), to(#D2CECB));
        background: url(../image/noise/noise1.png), -o-linear-gradient(top, #DEDACF 0%, #D2CECB 100%);
        background: url(../image/noise/noise1.png), linear-gradient(180deg, #DEDACF 0%, #D2CECB 100%);
        background-blend-mode: overlay;
    }


    .nav__wrapper-list {
        height: 100vh;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .nav__footer-list {
        display: none;
    }


    .second-section {
        padding-bottom: 40px;
    }

    .second-section__wrap {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .second-section__wrap-work {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        max-width: 100%;
    }


    .about-section__about {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding-bottom: 40px;
    }

    .about-section__text {
        max-width: 100%;
    }


    .slick-list {
        padding: 0;
    }

    .third-section {
        /*margin-bottom: -50px;*/
    }

    .third-section__wrap-info-block {
        padding: 20px 10px;
    }

    .third-section h3 {
        font-size: 1.2rem;
    }


}

@media screen and (max-width: 768px) {
    /*.third-section {
        margin-bottom: 0;
    }*/

    .third-section__wrap-info-block {
        font-size: 16px;
    }

    .third-section h3 {
        font-size: 1.4rem;
    }
    
    .background-section.background-img.img {
	    max-width: 100%;
	    overflow: hidden;
	    background-color: #f6f6f6;
	    padding-top: 40px;
    }
    .background-section.background-img.img img {
	    width: 150%;
	    height: auto;
	    margin-left: -25%;
	    margin-right: -25%;
	    max-width: none;
    }

    #callback .wm-messenger-block {
        gap: 20px;
        justify-content: space-between
    }
}

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

    .first-section__img {
        display: none;
    }


    .first-section__info .flex-wrap {
        padding: 60px 0;
    }


    .about-section__lineBlock, .about-section__line {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 15px;
    }

    .about-section h3.w-max {
        padding-bottom: 0;
    }

    .about-section__line-info {
        /* padding-left: 30px; */
        padding-left: 0px;
        max-width: 100%;
    }
}

@media (max-width: 600px) {

    .price-section__time {
		flex-direction: column;
    }
    .price-section__time-info {
	    bottom: -35px;
    }
    .price-section__time-title {
	    margin-top: 9px;
	    white-space: nowrap;
    }
}
@media screen and (max-width: 550px) {

    .header .flex-wrap {
        padding-top: 25px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
        gap: 30px;
    }


    .about-section__about-text {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    about-section__about-text h2 {
        font-size: 2rem;
    }


    .about-section .about-section__about-text h2 {
        font-size: 1.5rem;
    }


    h3 {
        font-size: 1.5rem;
    }


    .price-section__time {
        /*padding-left: 0;*/
        gap: 0;
    }


    .education-block {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .about-section__education {
        padding: 20px;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .education-block__info-wrap {
        width: 100%;

    }


    margin-bottom: 0;

    .third-section__wrap-info-block {
        font-size: 16px;
    }

    .third-section h3 {
        font-size: 1.2rem;
    }


}

@media (min-width: 1921px) {
    .first-section__img {
        width: 48%;
    }

    .first-section__tags {
        bottom: 0;
        width: 40%;
        z-index: 2;
        position: absolute;
        left: 120px;
    }
}

@media (min-width: 1420px) {
    .slick-list {
        margin: 0 !important;
    }
}