@media (max-width: 1200px) {
	/*	header */
	.header .text-2 {
		display: none;
	}
	/* main */
	main .ch-text {
		display: block;
	}
	main {
		height: 700px;
	}
	main h1 {
		padding-top: 0;
		font-size: 32px;
	}
	/* arrows for slider */
	.btn-wrap {
		display: block;
	}
	/* disrict*/
	.call-us .input-div {
		margin-top: 85px; 
	}

	.call-us .text-hid {
		display: block;
	}
	.call-us .text {
		display: none;
	}
	.call-us .logo-spb {
		margin: auto;
	}
	.subbtn {
		display: block;
		margin: auto;
		width: 528px;
		height: 82px;
		border-radius: 7px;
		background-color: #A60302;
		text-align: center;
		border: none;
		color: white;
		font-weight: 700;
		margin-bottom: 25px;
	}
	.spb-town {
		display: none;
	}
	.h-btn {
		display: none;
	}
	.main-in {
		display: block;
	}

	/* акция */
	.promo {
		font-size: 60px;
	}

	.akciya {
		display: block;
		background-color: #3D3BFF;
		margin: auto;
	}
	.akciya:hover {
		background-color: #1d19f5;
	}
	.timer-div {
		margin: 40px auto;
	}
	.main-akciya h1 {
		font-size: 40px;
		text-align: center;
	}
	.text-akciya {
		margin-top: 40px;
	}
	.promo {
		margin: 40px auto;
	}
	
	.cockroach ul, .services ul li, p {
		font-size: 21px;
	}
	
}

@media (max-width: 991px) {
  
	main h1 {		
		font-size: 28px;
	}
	  .dez a {
	font-size: 19px;
}	
	
	.main-akciya {
		height: 700px;
	}
	.akciya {
		width: 448px;
	}
	.text-akciya {
		margin-top: 0;
		display: flex;
		justify-content: center;
	}
	
	.service {
		font-size: 19px;
		padding: 45px 5px;
		margin: 60px 5px;
	}
	.service h3 {
		font-size: 23px;
	}	
	
	.daily p {
		font-size: 19px;
	}
	.cockroach ul, .services ul li, p {
		font-size: 19px;
	}	
	
	
}

@media (max-width: 768px) {
	
	main h1 {		
		font-size: 26px;
	}
	.dez a {
		font-size: 16px;
	}
	
	.faq .accordion-button {
		font-size: 18px;
		text-align: left;
	
    padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
   
}
	
	.faq .accordion-body {
		font-size: 18px;
    padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
	}
	.service {
		font-size: 18px;
		padding: 45px 5px;
		margin: 60px 5px;
	}
	.service h3 {
		font-size: 23px;
	}	
	
	.daily p {
		font-size: 18px;
	}
	.cockroach ul, .services ul li, p {
		font-size: 18px;
	}	
	
	/*	header */
	.header .ses {
		font-size: 12px;
	}
	.header .text-3 a {
		font-size: 16px;
		position: absolute;
	}
	.header .spb {
		position: absolute;
	}
	.accordion-button::after {
    	padding: 0;
    }
    .accordion-button:not(.collapsed)::after {
		margin-right: 0;
    
    }
	
	/* main */
	main {
		background-position: -200px;
	}
	main h2 {
		width: 400px;
	}
	main .input, main .input, main .div-input, .rules .input, .rules .div-input {
		width: 400px;
	}
	.services .div-input {
		width: 100%;	
	}
	.subbtn, .apply-btn {
		width: 400px;
	}
	/* services */
	.service .fig {
		display: flex;
		justify-content: center;
		margin-bottom: 45px;
	}
	.service .hs {
		display: flex;
		justify-content: center;
		margin-top: 45px;
	}
	.call-us .text-hid {
		font-size: 16px;
	}
	.dist-cont {
		background-position: right top;
	}

	.insects img {
		width: 495px;
		height: 48px;
	}
	.article, .desins, .contacts, .ses-free {
/*		text-align: center;*/
		padding-left: 30px;
	}
	.contacts h3{
	    padding-left: 0;
	}
	.contacts li {
		padding-left: 15px;
	}
	.ses-free p {
		padding-bottom: 0;
	}
	.request {
		display: block;
		margin: auto;
	}
	.contacts span {
		display: block;
		text-align: center;
	}
	ul {
	    text-align: left;
	}
	.ul-cont {
		display: flex;
/*		justify-content: center;*/
	}
	footer {
		padding-bottom: 40px;
	}
	footer h3 {
		padding-bottom: 10px;
	}
	.article {
		padding-top: 30px;
	}
	.desins, .contacts, .ses-free {
		padding-top: 0;
	}
	.div-fig {
		display: block;
	}
	.thouse {
		display: none;
	}
	table.rounded-corners {
		table-layout: auto;
	}
	.main-akciya {
		height: 800px;
	}
	.promo {
		width: 400px;
	}
	.text-akciya {
		margin-top: 0;
		margin-left: 33px;
	}
	
	.menu.text-container {
        flex-wrap: wrap;
		font-size: 12px;
    }

    .menu a {
        flex: 0 0 33.33%;
        padding: 10px;
    }
}
@media (max-width: 576px) {

.dez br {
	display: none;
}

.dez {
  display: grid;
  align-items: center;
  justify-content: center;
}




.dez a {
    text-align: left;
    font-size: 18px;
}

.main-cont {
	margin-top: 156px;
}
	

}
@media (max-width: 560px)	{
	.mosheniki img {
		width: 100%;
	}
}


@media (max-width: 490px) {
	
	main h1 {		
		font-size: 26px;
	}	
	
	/*	header */
	.header .text-3 a {
		padding: 12px;
		right: 0;
	}
	.header .ses {
		margin-left: 13px;
		display: block;
		hyphens: auto;
		word-wrap: break-word;
	}
	.logo-spb {
		margin-left: -20px;
	}
	.burger {
		margin-top: -40px;
	}
	/* main */
	main {
		background-image: url(../img/bg-s.webp);
	    background-repeat: no-repeat;
	    background-size: cover;
	    background-position: bottom;
	    height: 620px;
	    font-size: 16px;
	}
	main h2 {
		font-size: 16px;
	    font-weight: 400;
	    width: 264px;
	}
	main .ch-text {
		font-size: 16px;
	}
	main .input, .rules .input, .rules .div-input {
		width: 321px;
	}
	.input, .z-input {
		height: 50px;
	}
	.div-input {
		height: 50px;
	}
	.subbtn, .apply-btn, .button {
		width: 321px;
		height: 50px;
		font-size: 16px;
	}
	.z-btn {
		height: 50px;
		font-size: 16px;
	}
	main .logo-ses {
		margin-bottom: 80px;
	}
	/* services */
	.service {
		font-size: 17px;
		padding: 45px 5px;
		margin: 60px 5px;
	}
	.service h3 {
		font-size: 22px;
	}
	/* disrict*/
	.input, .z-input {
		font-size: 16px;
	}
	.dist-cont {
		background-position: -800px;
	}
	.services h2 {
		padding-left: 35px;
	}
	.district h2 {
		padding-left: 35px;
	}
	.insects img {
		width: 334px;
		height: 32px;
	}
	.daily p {
		font-size: 17px;
	}
	.cockroach ul, .services ul li, p {
		font-size: 17px;
	}
	
	.spb-town {
		display: block;
	}
	footer .spb-town img {
		/*height: 361px;
		width: 100%;
		max-height: 100%;*/
		width: 100%;
		height: auto;
	}
	.spb-town {
		padding: 0;
	}
	.article, .desins, .contacts {
	    padding-bottom: 0;
	}
	.serv-title img {
		height: 90px;
		margin-right: 20px;
	}
	.promo {
		width: 321px;
		font-size: 55px;
	}
	.text-akciya {
		margin-top: 0;
		margin-left: 33px;
	}
	.main-akciya {
		height: 700px;
	}
	.pravila-akciya {
		padding: 65px 0 0 35px;
	}

	#menu li {
		font-size: 14px;
	}
}

@media (max-width: 355px) {
	.header .text-1 {
		display: none;
	}
	.header .text-3 a {
		top: 40px;
	}
	/* main */
	main .input {
		width: 250px;
	}
	.div-input {
		width: 100%;
	}
	.subbtn {
		width: 250px;
	}
	.insects img {
    	width: 310px;
    }
} 