@media(max-width: 1199px) {
    .container {
		width: 980px;
    }
    
    .logo-block {
        width: 210px;
    }

    .menu-block li {
        font-size: 17px;
    }

    .phone-block {
        width: 274px;
    }

    .phone-block-phone {
        font-size: 35px;
    }

    .first {
        padding: 60px 0;
    }

    .first-block__text p span {
        font-size: 50px;
    }

    .first-block-text__small {
        font-size: 30px;
    }

    .mail-window__head {
        font-size: 35px;
    }

    .mail-window__text {
        font-size: 21px;
    }

    .second {
        padding: 45px 0;
    }

    .second_main-text {
        font-size: 20px;
        padding: 0;
    }

    .second-info-item__img {
        width: 130px;
        height: 130px;
    }

    .second-info-item__text h3 {
        font-size: 32px;
    }

    .second-info-item__text p {
        font-size: 15px;
    }

    .third h2 {
        font-size: 48px;
        padding: 40px 0 0;
    }

    .catalog-text__head h4 {
        font-size: 37px;
    }

    .catalog-text__head span {
        font-size: 24px;
    }

    .catalog {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .production-text__head {
        margin-top: 45px;
    }

    .production-text__head h4 {
        font-size: 46px;
    }

    .fifth h2 {
        font-size: 48px;
        padding: 40px 0 0;
    }

    .seventh {
        padding-bottom: 55px;
    }

    .seventh h2 {
        font-size: 48px;
        padding: 40px 0 0;
    }

    .contact-block {
        margin: 65px auto 0;
    }
}

@media(max-width: 991px) {
    .container {
	    width: 760px;
    }
    
    .logo-block {
        width: 130px;
        height: 50px;
    }

    .menu-block {
        padding: 8px 0px;
    }

    .menu-block li {
        font-size: 16px;
        padding: 0px 15px;
    }

    .phone-block {
        width: 190px;
    }

    .phone-block-phone {
        font-size: 24px;
        padding: 0 0px 0px 33px;
    }

    .phone-block-phone:before {
        width: 16px;
        height: 16px;
    }

    .first {
        margin-top: 51px;
        padding: 30px 0;
    }

    .first-block__text p span {
        font-size: 33px;
    }

    .first-block__mail-window {
        width: 310px;
        padding: 15px;
    }

    .mail-window__head {
        font-size: 30px;
    }

    .mail-window__text {
        padding: 8px 16px;
        line-height: 23px;
        font-size: 21px;
    }

    .contact_form-number {
        font-size: 21px;    
    }

    .contact_form-number-container:before {
        width: 16px;
        height: 16px;
    }

    .form-button {
        font-size: 16px;
    }

    .first-block__mail-window i {
        margin-top: 10px;
        font-size: 12px;
    }

    .second {
        padding: 30px 0;
    }

    .second_main-text {
        font-size: 17px;
    }

    .second-info-item__img {
        width: 110px;
        height: 110px;
    } 

    .second-info-item__text h3 {
        font-size: 22px;
        margin: 0px 0 7px;
    }

    .second-info-item__text p {
        font-size: 12px;
    }

    .third h2 {
        font-size: 35px;
        padding: 25px 0 0;
    }

    .catalog {
        padding-top: 30px;
        padding-bottom: 10px;
    }

    .catalog-text__head h4 {
        font-size: 30px;
    }

    .catalog-text__head span {
        font-size: 20px;
    }

    .catalog-text__box {
        font-size: 13px;
    }

    .catalog-text__info-box {
        padding: 10px 0;
    }

    .catalog-text-info-box__text {
        font-size: 14px;
    }

    .catalog-text__btn .btn {
        padding: 10px 25px;
        font-size: 16px;
    }

    .production-text__head h4 {
        font-size: 36px;
    }

    .production-text__head {
        margin-top: 0px;
    }

    .fifth h2 {
        font-size: 35px;
        padding: 25px 0 0;
    }

    .seventh {
        padding-bottom: 35px;
    }

    .seventh h2 {
        font-size: 35px;
        padding: 25px 0 0;
    }

    .contact-block {
        margin: 40px auto 0;
        width: 310px;
    }

    .contact-block > a {
        font-size: 30px;
        padding-left: 33px;
    }

    .contact-block_phone:before,
    .contact-block_mail:before,
    .contact-block_inst:before {
        width: 16px;
        height: 16px;
    }

    .contact-block:after {
        border-bottom: 173px solid rgba(255, 255, 255, 0.64);
    }

    .contact-block:before {
        border-top: 173px solid rgba(255, 255, 255, 0.64);
    }

    .footer-text span {
        max-width: 230px;
        margin-left: auto;
    }
}

@media(max-width: 767px) {
    .container {
        width: 100%;
        padding: 0 16px;  
    }

    .mobile-header {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }

    .mobile-header-logo-block {
        width: 150px;
    }

    .mobile-header-logo-block img {
        width: 100%;
        vertical-align: bottom;
    }

    .mobile-header-phone-block {
        flex-grow: 1;
        text-align: right;
    }
    
    .header-main {
        flex-direction: column;
    }

    .logo-block {
        display: none;
    }

    .phone-block {
        display: none;
    }

    .menu-block {
        padding: 4px 0px 8px;
    }

    .menu-block li {
        font-size: 15px;
        padding: 0px 10px;
    }

    .menu-block li a {
        padding-bottom: 0;
        border: none;
    }

    .first {
        margin-top: 79px;
    }

    .first-block {
        flex-direction: column;
    }

    .first-block__text {
        text-align: center;
    }

    .first-block__text p {
        margin: 0 0 15px 0;
    }

    .first-block__text p span {
        font-size: 30px;
        padding: 4px 15px;
    }

    .first-block-text__small {
        font-size: 20px;
    } 

    .mail-window__head {
        font-size: 27px;
    }

    .mail-window__text {
        margin: 15px 0 20px;
    }

    .contact_form-number-container {
        margin-bottom: 20px;
    }

    .second {
        padding: 30px 0 0;
    }

    .second_main-text {
        font-size: 15px;
    } 

    .second_main-text p:nth-child(1) {
        margin-bottom: 15px;
    }

    .second-info {
        flex-wrap: wrap;
    }

    .second-info__item {
        max-width: 50%;
        margin-bottom: 30px;
    }

    .second-info-item__img {
        padding: 24px;
    }

    .second-info-item__text h3 {
        font-size: 20px;
    }

    .second-info-item__text p {
        font-size: 14px;
    }

    .catalog {
        flex-direction: column;
        padding-bottom: 0;
    }

    .catalog-pictures {
        padding: 0;
        margin-bottom: 15px;
    }

    .catalog-pictures-small img {
        max-height: 82px;
    }

    .catalog-text__head h4 {
        font-size: 33px;
        margin-bottom: 10px;
    }

    .catalog-text__box {
        font-size: 15px;
        line-height: 1.5;
    }

    .catalog-text__btn {
        text-align: center;
    }

    .mobile-production-header {
        display: block;
        text-align: center;
        position: relative;
        padding: 25px 0 0;
        margin: 0 0 15px 0;
        color: #ffffff;
        font-family: 'BebasNeueBold';
        font-size: 35px;
    }

    .mobile-production-header:before {
        content: '';
        position: absolute;
        width: 60px;
        height: 3px;
        left: 50%;
        bottom: -15px;
        margin-left: -30px;
        background: #ffe401;
    }

    .production-text__head {
        display: none;
    }

    .fifth .catalog-text__head h4 {
        margin-bottom: 0;
    }

    .contact-block:before,
    .contact-block:after {
        display: none;
    }

    .footer-box {
        flex-direction: column;
    }

    .footer-logo {
        height: auto;
        line-height: normal;
        margin-top: 15px;
    }

    .footer__btn {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 20px 0px;
    }

    .footer-text {
        margin-bottom: 15px;
    }

    .footer-text span {
        text-align: center;
        max-width: 100%;
        margin-left: 0;
    }

    .pop-up-container {
        width: 270px;
    }

    .pop-up-container h4 {
        font-size: 30px;
    }

    .pop-up-container span {
        margin: 10px 0px 10px;
        font-size: 13px;
    }
}

@media(max-width: 370px) {
    .mobile-header-logo-block {
        width: 120px;
    }

    .first {
        margin-top: 68px;
    }

    .phone-block-phone {
        font-size: 20px;
    }

    .menu-block li {
        font-size: 14px;
        padding: 0 7px;
    }

    .first-block__text p span {
        font-size: 25px;
    }

    .first-block__mail-window {
        width: 100%;
    }

    .second-info-item__img {
        width: 100px;
        height: 100px;
        padding: 20px;
    }

    .second-info-item__text {
        padding: 0 15px;
    }

    .catalog-text-info-box__text {
        font-size: 13px;
    }

    .contact-block {
        width: 100%;
    }

    .contact-block > a {
        font-size: 25px;
    }

    .footer-text span {
        font-size: 12px;
    }

    .pop-up-container {
        width: 252px;
    }

    .pop-up-container h4 {
        font-size: 26px;
    }
}
