*{
  box-sizing: border-box;
}
h1,h2,h3,p{
	padding: 0;
  margin: 0;
}
body {
	height: 100vh;
  line-height: 1.5;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

a, a:hover, a:active, a:visited{
	text-decoration: none;
	color: #000;
}

@font-face { src: url("../fonts/digital-7.woff2") format("woff2");font-family: "digital-7"; font-weight: 400; font-style: bold; }

/* MAIN STYLES */

.btn{
	display: block;
	padding: 10px 20px;
	font-size: 18px;
	border: 1px solid black;
	cursor: pointer;
	background: #fff;
	transition: background 0.2s ease-out;
}
.btn:hover{
	background: #f5f5f5;
}

/* HEADER */

.header{
	position: absolute;
	z-index: 7777;
	height: 100px;
	width: 100%;
	top: 0;
	left: 0;
}
.nav-bar{
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #fff;
}
.nav-bar__title{
	font-size: 50px;
}

.logo{
	width: 150px;
	height: 100px;
	margin-left: 40px;
}
.logo__i{
	background: url('../img/physicsleti2.jpg') no-repeat center center;
	background-color: #000;
	display: block;
	height: 100%;
	object-fit: contain;
	transform: scale(0.8);
}

.btn-wrapeer{
	display: flex;
}
/* MAIN SECTION */

.main-sect{
	width: 100%;
	height: 100%;
}
.container{
	width: 100%;
	height: 100%;
	margin: 0 auto;
	padding: 100px 185px 40px;
	display: flex;
}


/* INSTALATION */

.installation-wrapper{
	width: 50%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
	position: relative;
}

.status-panel{
	position: fixed;
	left: 0;
	z-index: 999;
	background: #fff;
	user-select: none;
	transition: transform 0.2s ease-out;
	transform: translate(-100%,0);
}
.status-panel__open{
	transform: translate(0, 0);
}
.status-panel__toggle{
	display: none;
	position: absolute;
	top: 0;
	right: -40px;
	width: 40px;
	height: 40px;
	background: url('../img/svg/arrow.svg') no-repeat center center;
	background-color: rgba(229,229,229,.4);
	transform: rotate(-180deg);
	transition: transform 0.2s ease-out;
	cursor: pointer;
}
.status-panel__toggle_close{
	transform: rotate(0);
}
.status-panel__row{
	display: flex;
}
.status-panel__row:nth-child(5) .status-panel__numb{
	width: 100%;
	padding: 0;
}
.status-panel__bruster{
	width: 100%;
	border: none;
	padding: 10px;
	background: none;
	font-size: 20px;
	cursor: pointer;
	transition: background 0.2s ease-out;
}
.overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10000;
	width: 100vw;
	height: 100%;
	background: rgba(0,0,0,.5);
	justify-content: center;
	/* display: flex;  */
	align-items: center;
	display: none;	
}
.overlay-text{
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	z-index: 11111;
	width: 100vw;
	height: 100%;
	background: rgba(0,0,0,.7);
	justify-content: center;
	/* display: flex;  */
	align-items: center;
	display: none;	
}
.overlay-text_1{
	display: none;
}
.overlay-text_2{
	display: none;
}
.overlay-text__p{
	max-width: 700px;
	max-height: 600px;
	overflow-y: auto;
	padding: 40px;
	display: block;
	background: #fff;
	font-size: 20px;
	color: #000;
	line-height: 1.4;
}
.overlay-text__text{
	text-indent: 1.25em;
}
.overlay-text__item{
	margin-bottom: 10px;
}
.display-flex{
	display: flex;
}
.overlay__bruster{
	position: relative;
	display: flex;
	justify-content: center;
	background: url('../img/svg/bruster.svg') no-repeat center;
	background-size: 100%;
	width: 500px;
	height: 550px;
}
.overlay__dot{
	width: 10px;
	height: 10px;
	border-radius: 10px;
	display: block;
	margin-top: 284px;
	/* margin-top: 284px; - 30градусов*/
	/* margin-top: 498px; - 70градусов */
	/* Когда увеличиваем на 1 градус расстояние увеличивается на 5,35px */
	background: #f00;
	transition: margin-top 0.2s ease-out;
}
.overlay__button{
	width: 100px;
	height: 100px;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	background: #fff;
}
.overlay__close{
	cursor: pointer;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
}
.overlay__close:hover{
	background: rgba(0,0,0,.6)
}
.overlay__close::before, .overlay__close::after{
	content: '';
	display: block;
	background: #000;
	width: 4px;
	height: 100px;
}
.overlay__close::before{
	transform: rotate(45deg);
}
.overlay__close::after{
	transform: rotate(-45deg);
}
.status-panel__bruster:hover{
	background: rgba(247, 242, 242, 0.8);
}
.status-panel__numb, .status-panel__wrapper{
	display: block;
	font-size: 18px;
	padding: 0;
	border: 1px solid #000;
}
.status-panel__wrapper{
	padding: 10px;
}
.status-panel__numb{
	padding: 10px;
	width: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.status-panel__button{
	display: block;
	width: 120px;
	height: 60px;
}
.status-panel__input{
	display: none;
}
.status-panel__first{
	position: relative;
	width: 100%;
	height: 100%;
	transition: .2s;
	cursor: pointer;
	border-radius: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.status-panel__first::before{
	content: '';
	display: block;
	position: absolute;
	top: -10px;
	left: -10px;
	z-index: 500;
	height: 80px;
	width: 70px;
	box-shadow: 4px 0px 6px 0px rgba(0, 0, 0, 0.15);
	background: #e5e5e5;
	transform: translate(0, 0);
	transition: transform .2s ease-out, box-shadow 0.2s ease-out;
}
.status-panel__input:checked + .status-panel__first::before{
	transform: translate(70px, 0);
	box-shadow: -4px 0px 6px 0px rgba(0, 0, 0, 0.15);
}
.status-panel__image{
	display: block;
	position: relative;
	z-index: 999;
}
.status-panel__image:first-child{
	left: 10px;
}
.status-panel__image:last-child{
	right: 5px;
}
.status-panel__span{
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	background-color: #940000;
	cursor: pointer;
	border-radius: 30px;
}
.status-panel__span::before{
	content: '';
	display: block;
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 500;
	height: 40px;
	width: 40px;
	border-radius: 100%;
	background: #fff;
	transform: translate(0, 0);
	transition: transform .2s ease-out;
}
.status-panel__span::after{
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 200;
	width: 100%;
	height: 100%;
	border-radius: 28px;
	background: #E5E5E5;
	opacity: 1;
	transition: opacity 0.2s ease-out;
}
.status-panel__input:checked + .status-panel__span::before{
	transform: translate(60px, 0);
}
.status-panel__input:checked + .status-panel__span::after{
	opacity: 0;
}


.installation{
	position: relative;
	display: block;
	width: 450px;
	height: 580px;
}
.installation__main{
	display: block;
	position: absolute;
	top: 50px;
	left: 40px;
	z-index: 600;
}
.installation__bruster, .installation__polarisator_light, .installation__polarisator_laser{
	position: absolute;
	z-index: 800;
	display: block;
	opacity: 0;
	transition: opacity 0.1s ease-out
}
.installation__bruster{
	left: 162px;
	top: 222px;
}
.installation__polarisator_light{
	top: 161px;
	left: 146px;
}
.installation__polarisator_laser{
	top: 324px;
	left: 155px;
}
.installation__active{
	opacity: 1;
}

/* INFORMATION */

.info{
	width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.changeble{
	height: 400px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* polar */
.polar-w{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.polar-w__title{
	font-size: 24px;
}
.polar{
	pointer-events: none;
}
.polar__angle{
	border-radius: 15px;
}


/* brust */
.brust-w{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.brust-w__title{
	font-size: 20px;
}
.brust{
	pointer-events: none;
	position: relative;
	z-index: 10002;
	height: 80px;
	width: 170px;
}
.brust__input{
	height: 80px;
	padding: 20px 70px 20px 40px;
	font-size: 36px;
	display: block;
	width: 170px;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
	appearance: textfield;
	border: 3px solid black;
}
.brust__input::-webkit-inner-spin-button,
.brust__input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
.brust__minus, .brust__plus{
	width: 40px;
	height: 40px;
	display: block;
	position: absolute;
	z-index: 100;
	background: url('../img/svg/arrow.svg') no-repeat center center;
	background-color: rgba(0,0,0,.05);
	border: none;
	cursor: pointer;
}
.brust__minus{
	bottom: 0;
	right: 0;
	transform: rotate(90deg);
}
.brust__plus{
	top: 0;
	right: 0;
	transform: rotate(-90deg);
}
.brust__minus:hover, .brust__plus:hover{
	background-color: rgba(0,0,0,.1);
}


/* output */

.output{
	background: #C4C4C4;
	font-family: 'digital-7';
	text-align: center;
	padding: 25px 45px;
	width: fit-content;
	font-size: 50px;
	width: 215px;
}
.output-wrapper{
	height: 340px;
	background: rgba(0,0,0,.8);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 40px 20px;
}
.span-output{
	background: #C4C4C4;
	font-family: 'digital-7';
	font-size: 12px;
	padding: 0;
	line-height: 1;
	letter-spacing: 0.05em;
	padding: 0 5px;
	position: absolute;
	bottom: 69px;
	left: 100px;
	z-index: 800;
}

/* Change wrapper */

.change-wrapper{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* lambda wrapper */

.lambda-wrapper{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.lambda-wrapper__lebel{
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 215px;
	padding: 4px 16px 4px 10px;
	background: #fff;
	margin-top: 8px;
	color: #000;
}
.lambda-wrapper__input{
	margin-right: 20px;
	display: block;
	appearance: none;
	width: 24px;
	height: 24px;
	border-radius: 100%;
	border: 3px solid #000;
	background: #e5e5e5;
}
.lambda-wrapper__input:checked{
	background: #940000;
}
.lambda-wrapper__span{
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 22px;
}
.lambda-wrapper__span::before{
	content: '';
	background: url('../img/svg/lambda.svg') no-repeat center center;
	height: 30px;
	width: 20px;
	display: block;
	margin-right: 10px;
}

/* Change intencive */

.change-intencive{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}
.change-intencive__title{
	font-size: 18px;
	text-align: center;
	/* max-width: 150px; */
	color: #fff;
	display: block;
}
.change-intencive__input{
	border-radius: 10px;
	display: none;
}

/* Медиа запросы */

@media(max-width: 1300px){
	.nav-bar__title{
		font-size: 42px;
	}
}
@media(max-width: 1200px){
	.nav-bar__title{
		font-size: 32px;
	}
	.container{
		padding: 100px 20px 40px 80px;
	}
	.status-panel__toggle{
		display: block;
	}
	.btn{
		font-size: 16px;
	}
	.btn-wrapeer{
		flex-direction: column;
	}
}
@media(max-width: 920px){
	.container{
		padding: 100px 15px 20px;
	}
	.nav-bar__title{
		font-size: 28px;
	}
	.logo{
		width: 300px;
	}
	.logo__i{
		transform: scale(0.5);
	}
}
@media( max-width: 800px){
	.container{
		flex-direction: column;
		align-items: center ;
		justify-content: center;
	}
	.status-panel{
		top: 160px;
	}
	.installation{
		margin-top: 390px;
		transform: scale(0.8);
	}
	.installation__main{
		top: 250px;
	}
	.installation__bruster{
		top: 385px;
	}
	.installation__polarisator_light{
		top: 500px;
	}
	.installation__polarisator_laser{
		top: 574px;
	}
}