
/* ========================= */
/*  Горизонтальная ориентация  */
/* ========================= */

@media (orientation: landscape) {
	/* фулл */
	@media (min-width: 1900px) {
		.block{
			width: 1000px;
			height: 1000px;
			bottom: -70px;
			right: 0px;
		}	
	}

	@media (max-width: 1899px) {
		.block{
			width: 1000px;
			height: 1000px;
			bottom: 0px;
			bottom: -70px;
			right: 0px;
		}
		
	}

	@media (max-width: 1789px) {
		.block{
			width: 900px;
			height: 900px;
			bottom: 0px;
			right: -20px;
		}
		
	}

	@media (max-width: 1600px) {
		.block{
			width: 700px;
			height: 700px;
			right: -20px;
			bottom: 0px;
		}
		
	}

	@media (max-width: 1200px) {
		.block{
			width: 550px;
			height: 550px;
			right: -10px;
			bottom: -60px;
			/*background: red;*/
		}

		.header{
			left: 160px;
		}


		.content{
			top: 40vh;
			width: 35%;
			left: 160px;
			height: 100vh;
			font-size: 0.7em;
		}

		.content_opened{
			transform: translate(15vh, 0);
			opacity: 0;
		}	

		.content_closed{
			transform: translate(0, 0);
			opacity: 1;
		}


		.scrollBar{
			top: 44vh;
			left: 80px;
		}
	}

	@media (max-width: 900px) {
		.block{
			width: 400px;
			height: 400px;
			right: 0px;
			bottom: -30px;
			/*background: red;*/
		}

		.content{
			top: 35vh;
			width: 35%;
			left: 130px;
			height: 100vh;
			font-size: 0.6em;
		}

		.content-pt-cost{
			margin-top: 20px;
		}

		.header{
			font-size: 0.7em;
			top: 20px;
			left: 130px;
		}

		.content_opened{
			transform: translate(15vh, 0);
			opacity: 0;
		}	

		.content_closed{
			transform: translate(0, 0);
			opacity: 1;
		}


		.scrollBar{
			top: 44vh;
			left: 70px;
		}
	}

	@media (max-width: 820px) {

		.rotate-device{
			display: block;	
		}

		/*.block{
			width: 350px;
			height: 350px;
			right: 0px;
			bottom: -30px;
		}

		.content{
			top: 35vh;
			width: 35%;
			left: 130px;
			height: 100vh;
			font-size: 0.6em;
		}

		.content-pt-cost{
			margin-top: 20px;
		}

		.header{
			font-size: 0.7em;
			top: 20px;
			left: 130px;
		}

		.content_opened{
			transform: translate(15vh, 0);
			opacity: 0;
		}	

		.content_closed{
			transform: translate(0, 0);
			opacity: 1;
		}


		.scrollBar{
			top: 44vh;
			left: 70px;
		}*/
	}

	@media (max-width: 570px) {
		.block{
			width: 250px;
			height: 250px;
			right: -40px;
			bottom: -20px;
			/*background: red;*/
		}

		.content{
			top: 35vh;
			width: 35%;
			left: 130px;
			height: 100vh;
			font-size: 0.6em;
		}

		.content-pt-cost{
			margin-top: 5px;
		}

		.content-pt-line{
			position: relative;
			height: 1px;
			width: 0;
			margin-top: 5px;
			background: rgb(210, 210, 210);
			transition: 0.5s;
		}

		.header{
			font-size: 0.6em;
			top: 15px;
			left: 130px;
		}

		.content_opened{
			transform: translate(15vh, 0);
			opacity: 0;
		}	

		.content_closed{
			transform: translate(0, 0);
			opacity: 1;
		}


		.scrollBar{
			top: 44vh;
			left: 70px;
		}
	}


	.menu_opened{
		/*background: red;*/
		width: 100vw;
	}

	.menu_closed{
		/*background: green;*/
		width: 50px;
		
	}

}


/* ========================= */
/*  Вертикальная ориентация  */
/* ========================= */

@media (orientation: portrait) {
	@media (max-width: 1100px) {
		.block{
			width: 700px;
			height: 700px;
			top: 80px;
			right: 130px;
			/*background: red;*/
		}

		.header{
			display: none;
		}

		.content{
			width: 80%;
			height: 40vh;
			top: 60vh;
			left: 100px;
			font-size: 0.8em;
		
		}
		
		.content-pt{
			padding-bottom: 50px;
		}

		.content-pt-cost{
			margin-top: 30px;
		}

		.menu{
			position: fixed;
			width: 100vw;
			height: 50px;
		}

		.menu-btn{
			right: 20px;	
		}
		

		.menu-list{
			top: 80px;
		}

		.menu_opened{
			height: 100vh;
		}

		.menu_closed{
			height: 50px;
		}

		
		.scrollBar{
			top: 65vh;
			left: 20px;
		}	
		
	}

	@media (max-width: 800px) {
		.block{
			width: 500px;
			height: 500px;
			top: 50px;
			right: 130px;
			/*background: red;*/
		}

		.header{
			display: none;
		}

		.content{
			width: 80%;
			height: 40vh;
			top: 60vh;
			left: 100px;
			font-size: 0.8em;
		
		}
		
		.content-pt{
			padding-bottom: 50px;
		}

		.menu{
			position: fixed;
			width: 100vw;
			height: 50px;
		}

		.menu-btn{
			right: 20px;	
		}
		

		.menu-list{
			top: 80px;
		}

		.menu_opened{
			height: 100vh;
		}

		.menu_closed{
			height: 50px;
		}

		
		.scrollBar{
			top: 65vh;
			left: 20px;
		}	
		
	}

	@media (max-width: 500px) {
		.block{
			width: 300px;
			height: 300px;
			top: 50px;
			right: 20px;
			/*background: red;*/
		}

		.header{
			display: none;
		}

		.content{
			width: 80%;
			height: 40vh;
			top: 49vh;
			left: 70px;
			font-size: 0.7em;
		
		}

		.content-pt{
			padding-bottom: 40px;
		}


		.content-pt-description{
			margin-top: 10px;
		}

		.content-pt-line{
			margin-top: 10px;
		}

		.menu{
			position: fixed;
			width: 100vw;
			height: 50px;
		}

		.menu-btn{
			right: 20px;	
		}
		

		.menu-list{
			top: 80px;
		}

		.menu_opened{
			height: 100vh;
		}

		.menu_closed{
			height: 50px;
		}

		
		.scrollBar{
			top: 50vh;
			left: 15px;
		}	
		
	}

	@media (max-width: 350px) {
		.block{
			width: 220px;
			height: 220px;
			top: 50px;
			right: 20px;
			/*background: red;*/
		}

		.header{
			display: none;
		}

		.content{
			width: 80%;
			height: 40vh;
			top: 49vh;
			left: 50px;
			font-size: 0.6em;
		
		}

		.content-pt{
			padding-bottom: 30px;
		}



		.content-pt-header{
			font-size: 2.5em;
			font-weight: 600;
			color: rgb(210, 210, 210);
		}


		.content-pt-description{
			margin-top: 5px;
		}

		.content-pt-line{
			display: none;
		}
		
		.content-pt-cost{
			font-size: 2em;
			margin-top: 5px;
		}

		.menu{
			position: fixed;
			width: 100vw;
			height: 50px;
		}

		.menu-btn{
			right: 20px;	
		}
		

		.menu-list{
			top: 80px;
		}

		.menu_opened{
			height: 100vh;
		}

		.menu_closed{
			height: 50px;
		}

		
		.scrollBar{
			top: 50vh;
			left: 10px;
		}


		.scrollBar-wrap-pt{
			width: 10px;
		}	

		.scrollBar-wrap-pt-small{
			width: 5px;
			margin-left: 5px;
		}		
	}

}
