@media screen and (max-width: 1200px) {
    .container {
        width: 100%;
    }
}

@media screen and (max-width: 1200px) {
    #slider .slider-for .txt{
        padding: 20px;
    }
}

@media screen and (max-width: 1000px) {
    h1, .h1 {
    	font-size: 46px;
    }
    h2, .h2 {
    	font-size: 34px;
    }
    h3, .h3 {
    	font-size: 26px;
    }
    header .logo {
    	margin: 0 20px 0 0;
    	width: 70px;
    	display: inline-flex;
    }
    header .menu li {
    	margin: 0 0 0 20px;
    }
    .product .price {
    	font-size: 20px;
    }
    .products, .news {
    	grid-template-columns: repeat(2, 1fr);
    }
    .shift .short .text {
    	padding-left: 30px;
    }
    .news .item {
    	padding: 20px 25px 60px;
    }
    #slider .slider-for .txt {
    	width: auto;
    }
}

@media screen and (max-width: 780px) {
    h1, .h1 {
    	font-size: 40px;
    }
    h2, .h2 {
    	font-size: 30px;
    }
    h3, .h3 {
    	font-size: 22px;
    }
    header ul.menu{
        display: none;
    }
    footer .container {
    	flex-direction: column;
    	grid-gap: 10px;
    	text-align: center;
    }
    footer .logo img{
        width: 70px;
    }
    #service .service .text{
    	padding: 20px;
    }
    #slider .slider-nav span {
    	font-size: 30px;
    }
    #slider .slider-nav .item {
    	align-items: flex-start;
    }
    #slider .slider-for .txt {
    	padding-top: 0;
    }
}

@media screen and (max-width: 680px) {
    .shift {
    	flex-direction: column;
    }
    .shift > * {
    	width: 100%;
    }
    .shift .img{
        margin: 0 0 20px;
    }
    .shift > .short{
        order: 1;
    }
    .shift .short .text {
    	padding: 20px;
    	margin: 0;
    }
}

@media screen and (max-width: 640px) {
    #service .service > * {
    	width: 100%;
    }
    #service .service .text {
    	order: 1;
    }
    #service .service + .service {
    	margin: 30px 0 0;
    }
    .products, .news {
    	grid-template-columns: repeat(1, 1fr);
    }
    .news .item {
    	padding: 20px 20px 50px;
    }
    .news .item .published {
    	bottom: 20px;
    }
    #clients .text {
    	padding-left: 20px;
    	font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    h1, .h1 {
    	font-size: 30px;
    }
    h2, .h2 {
    	font-size: 24px;
    }
    h3, .h3 {
    	font-size: 20px;
    }
    .container > .content-text.bg-white {
    	padding: 20px;
    }
    .popup {
    	padding: 30px;
    }
    form .agreement {
    	width: 100%;
    	margin: 0 0 20px;
    }
}