html, body {height: 100%;}
html {font-size: 16px;scroll-behavior: smooth; }
body {margin: 0px; padding: 0px; overflow-x: hidden; min-width: 320px; background: #FFFFFF;font-family:'Open Sans'; font-size: 16px; line-height: 1.4285em; color: rgba(0, 0, 0, 0.87);font-smoothing: antialiased;color:#ffffff;box-sizing: border-box;}
div{
	box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5 {font-family:'Open Sans'; line-height: 1.28571429em; margin: calc(2rem - 0.14285714em ) 0em 1rem; font-weight: bold; padding: 0em;color:#333333;}
h1 {min-height: 1rem; font-size: 2rem;}
h2 {font-size: 16px;}
h3 {font-size: 16px;}
h4 {font-size: 16px;}
h5 {font-size: 1rem;}
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child {margin-top: 0em;}
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child {margin-bottom: 0em;}
#main img {max-width: 100%; height: auto !important;}
p {margin: 0em 0em 1em; line-height: 1.4285em;color:#707070;}
p:first-child {margin-top: 0em;}
p:last-child {margin-bottom: 0em;}
a {color: #666666; text-decoration: none; cursor: pointer;}
a:hover {color: #000; text-decoration: none;}

header{
	background: #000000;
    align-items: center;
    flex-direction: column;
    display: flex;
	padding-bottom: 20px;
}
.header_menu nav{
	list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 16px;
    margin-bottom: 12px;
}
.header_menu a{
	color: #66ccff;
    font-size: 25px;
}
.header_menu a:hover{
	color: #ffffff;
}
 .prod{
	position: relative;
	margin-top: 70px;
    margin-bottom: 70px;
	display: flex;
 }
.left_pict{
	justify-content: flex-start;
}
.right_pict{
	justify-content: flex-end;
}
.title-block{
	font-size: 2rem;
	position: absolute;
    background: #ffffffbb;
    z-index: 2;
    padding: 40px 20px 20px 20px;
	top:-52px;
    width: 360px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    background: url(../img/elems/el_top.webp) no-repeat left bottom;
    align-items: flex-end;
    height: 111px;
    background-size: contain;
}
#mining .title-block{
	color: #336699;
}
#dc .title-block{
	color: #009999;
}
#hosting .title-block{
	color: #660099;
}
#contacts .title-block{
	color: #929292;
}
.left_pict .title-block{
	left: 27%;
}
.right_pict .title-block{
	right: 26%;
}
 .prod .img-block{
	position: relative;
    width: 50%;
    max-width: 50%;
 }
 .prod .img-block img{
    width: 100%;
    max-width: 100%;
 }
 .text-block{
	flex-direction: column;
    background: #ffffffbb;
    width: 62%;
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 6px;
    display: flex;
    justify-content: center;
    overflow: hidden;
 }
.left_pict .text-block{	
    right: 0;
	padding: 10px 10px 10px 8%;
    background: url(../img/elems/el_right.webp) no-repeat center left; 
	background-size: contain;
}
.right_pict .text-block{
	left: 0;
	padding:  10px 8% 10px 10px;
    background: url(../img/elems/el_left.webp) no-repeat center right;
    background-size: contain;
}
#contacts .text-block{
    background: url(../img/elems/el_left_5.webp) no-repeat center right;
    background-size: contain;
	width: 59%;
}
.text-block p { 
	text-indent: 30px;
    font-size: 16px;
    line-height: 22px;
	max-width: 570px;
}
.text-block p.short { 
	margin-bottom: 0px;
}
.right_pict .text-block p {
    margin-left: auto;
}
#contacts .text-block p {
    width: 460px;
}
.contr-block{
	font-size: 2rem;
    position: absolute;
    background: #ffffffbb;
    z-index: 2;
    padding: 20px 20px 40px 20px;
    bottom: -47px;
    width: 360px;
    box-sizing: border-box;
    display: flex;
    background: url(../img/elems/el_bottom.webp) no-repeat left top;
    height: 111px;
    background-size: contain;
}
.left_pict .contr-block{
	left: 27%;
}
.right_pict .contr-block{
	right: 26%;
}
#contacts .contr-block{
	right: 23%;
}
.only_mobil{
	display: none;
}
.only_desctop{
	display: block;
}
.only_mobil_flex{
	display: none;
}
.only_desctop_flex{
	display: flex;
}
@media screen and (max-width: 1615px){	
	.left_pict .title-block{
		left: 24%;
	}
	.right_pict .title-block{
		right: 23.4%;
	}
	.left_pict .contr-block{
		left: 24%;
	}
	.right_pict .contr-block{
		right: 23.4%;
	}
	#contacts .contr-block{
		right: 21.2%;
	}
}
@media screen and (max-width: 1500px){	
	.left_pict .title-block{
		left: 18%;
	}
	.right_pict .title-block{
		right: 17.5%;
	}
	.left_pict .contr-block{
		left: 18%;
	}
	.right_pict .contr-block{
		right: 17.5%;
	}
	#contacts .contr-block{
		right: 15%;
	}
	.text-block p {
		font-size: 14px;
		line-height: 20px;
		margin-block-end: 18px;
	}
}
@media screen and (max-width: 1200px){	
	.left_pict .title-block{
		left: 12%;
	}
	.right_pict .title-block{
		right: 11.5%;
	}
	.left_pict .contr-block{
		left: 12%;
	}
	.right_pict .contr-block{
		right: 11.5%;
	}
	#contacts .contr-block{
		right: 9%;
	}
	#contacts .text-block {
		padding-top: 80px;
	}
	#contacts .text-block p {
		width: 250px;
		margin-left: 80px;
	}
}
@media screen and (max-width: 991px){	
	.left_pict .title-block{
		left: 0%;
	}
	.right_pict .title-block{
		right: 0%;
	}
	.left_pict .contr-block{
		left: 0%;
	}
	.right_pict .contr-block{
		right: 0%;
	}
	#contacts .contr-block{
		right: 0%;
	}
	.prod .img-block {
		position: relative;
		width: 100%;
		max-width: 100%;
	}	
	.left_pict .img-block::after{
		position: absolute;
		content: "";
		left: 0px;
		top: 0px;
		height: 100%;
		width: 100%;
		background: linear-gradient(to left, #ffffff 30%, transparent 70%);
		pointer-events: none;
	}
	.right_pict .img-block::after{
		position: absolute;
		content: "";
		left: 0px;
		top: 0px;
		height: 100%;
		width: 100%;
		background: linear-gradient(to left,transparent 0%, #ffffff 50%);
		pointer-events: none;
	}
	.text-block p {
		max-width: 100%;
	}
	.left_pict .text-block {
		padding: 10px 10px 10px 130px;
	}
	.right_pict .text-block {
		padding: 10px 130px 10px 10px;
	}
}
@media screen and (max-width: 800px){	
	.only_mobil{
		display: block;
	}
	.only_desctop{
		display: none;
	}
	.only_mobil_flex{
		display: flex;
	}
	.only_desctop_flex{
		display: none;
	}
	header {
		padding-bottom: 0px;
	}
	.header_mob{
	    position: fixed;
        width: 100%;
        height: 193px;
        top: 0;
        left: 0;
        right: 0;
        z-index: 3;
		background: url(../img/pi_host_header_mob.webp) center center no-repeat;
	}
	#header_btn{
		flex-direction: column;
		left: 50px;
		/*height: 46px;
		width: 49px;*/
		position: absolute;
		top: 33px;
		display: flex;
        justify-content: center;
        /*gap: 7px;*/
        height: 30px;
        width: 30px;
        gap: 6px;
		cursor: pointer;
	}
	#header_btn .line{
		/*width: 49px;
		height: 6px;*/		
        width: 30px;
        height: 3px;
		background: #fff;
		pointer-events: none;
		transition: all 0.3s;
	}
	#header_btn.active .line:nth-child(1){
		transform: rotate(45deg);
		left: 0px;
		position: absolute;
	}
	#header_btn.active .line:nth-child(2){
		display:none;
	}
	#header_btn.active .line:nth-child(3){
		transform: rotate(-45deg);
		left: 0px;
		position: absolute;
	}
	.header_menu{
		display: none;
	}
	.header_menu.active{
		display: flex;
        width: 260px;
        height: calc(100vh - 193px);
        background: #1d2e5e;
		position: fixed;
        left: 0;
        z-index: 10;
        top: 193px;
        flex-direction: column;
        opacity: 0.8;
	}
	#mob_menu_el_top{
		width: 232px;
		text-align-last: right;
		margin-left: auto;
	}
	#mob_menu_el_bottom{
		width: 257px;
	}
	.header_menu a {
		color: #ffffff;
		font-size: 24px;
	}
	.header_menu nav {
		padding-left: 40px;
		margin-top: -50px;
	}
	.prod{		
		min-height: calc(100vh - 193px);
		/*height: calc(100vh - 313px); */
        /*min-height: calc(100vh - 313px);*/
		height: max-content;
		margin-top: 0;
		padding-top: 193px;
        padding-top: 0;
		margin-bottom: 0;
		/*margin-bottom: 120px;*/
        flex-direction: column;
	}
	#start.prod{
		padding-top: 193px;
	}
	.prod.index_mob{
		background: #000;
		align-items: center;
		display: flex;
	}
	.prod.index_mob img{	
		width: 100%;
		margin: auto;
	}
	.footer_mob{
	    align-items: center;
        /*position: fixed;*/
        width: 100%;
        min-height: 120px;
        height: max-content;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 3;
        background: #c7c7c7;
        color: #131c77;
        flex-direction: column;
		font-family:'Oswald';
	}
	.footer_mob span{
		text-align: center;
	}
	.footer_mob span:nth-child(1){
		font-size: 14px;
	}
	.footer_mob span:nth-child(2){
		font-size: 12.5px;
	}
	.footer_mob span:nth-child(3){
		font-size: 17px;
	}
	.footer_mob span a{
        color: #131c77;
	}
	.footer_mob .btn_row{
		align-items: center;
		display: flex;
	}
	.left_pict .img-block,
	.right_pict .img-block{
		margin-top: 58px;
        height: 542px; 
		order: 0;
	}
	.prod .img-block img{
		display: none;
    }
	#mining .img-block{
		background: url(../img/01_mob.webp) no-repeat center top;
        background-size: cover;
	}
	#dc .img-block{
		background: url(../img/02_mob.webp) no-repeat center top;
        background-size: cover;
	}
	#hosting .img-block{
		background: url(../img/03_mob.webp) no-repeat center top;
        background-size: cover;
	}
	#contacts .img-block{
		background: url(../img/04_mob.webp) no-repeat center top;
        background-size: cover;
	}
	.left_pict .img-block::after,
	.right_pict .img-block::after {
		display:none;
        content: none;
    }
	.left_pict .title-block,
	.right_pict .title-block{
		top: 239px;
		top: 0;
		left:calc(50% - 180px);
		right: unset;
	}
	.left_pict .text-block,
	.right_pict .text-block	{
		left: 0;
        overflow: visible;
        padding: 40px 20px;
        width: 100%;
        background: #fff;
        top: 0;
        height: max-content;
        position: relative;
		order: 1;
    }
	.left_pict .text-block p,
	.right_pict .text-block p{
		z-index: 3;
	}
	.left_pict .contr-block,
	.right_pict .contr-block{
		left: unset;
        z-index: 2;
        padding: 0;
		background: url(../img/elems/el_right_mob.webp) no-repeat left top;
        bottom: unset;
        top: 58px;
        width: 156px;
        /*width: 19.5%;*/
        display: flex;
        height: 542px;
        background-size: contain;
        right: 0;
        opacity: 0.8;		
	}
	.second-contr-block{
		overflow: visible;
        position: absolute;
		left: 0;
        z-index: 2;
        padding: 0;
		background: url(../img/elems/el_left_mob.webp) no-repeat right top;
        bottom: unset;
        top: 58px;
        width: 156px;
        /*width: 19.5%;*/
        display: flex;
        height: 542px;
        background-size: contain;
        right: unset;
        opacity: 0.8;
	}
	.text-block::after{
		position: absolute;
		content: "";		
		width: 360px;
		box-sizing: border-box;
		display: flex;
		background: url(../img/elems/el_bottom.webp) no-repeat left top;
		height: 111px;
		background-size: contain;
        bottom: unset;
		left: 0px;
		top: -40px;
		pointer-events: none;
	}
	#contacts .text-block {
		background: #fff;
		width: 100%;
		padding-top: 0px;
		margin-top: -40px;
	}
    #contacts .img-block {
        height: 434px;
    }
	#contacts .text-block::after {
        left: 50px;
    }
	#contacts .text-block p {
		width: 250px;
		margin-left: 80px;
	}
	.index_mob video{
	    width: 100%;
		margin: auto;
	}
}
@media screen and (max-width: 500px){
	#contacts{
		justify-content: flex-start;
	}
	#contacts .text-block p {
		width: 100%;
		margin-left: 20px;
	}
    .left_pict .img-block,
	.right_pict .img-block {
        height: 338px;
    }
    #contacts .img-block {
        height: 271px;
    }
	.left_pict .contr-block,
	.right_pict .contr-block,
	.second-contr-block {
        width: 99px;
    }
	#contacts .text-block::after {
        left: 0px;
    }
	#contacts .contr-block,
	#contacts .second-contr-block{		
		width: 15.5%;	
	}
}
@media screen and (max-width: 370px){
	.left_pict .title-block,
	.right_pict .title-block {
        left: 0;
        width: 100%;
    }
    .text-block::after {
        width: 100%;
    }
	
}