@import url("template.css");
@import url("ModalWindow.css");

.content{
	position: relative;
	width: 100%;
	min-height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background: url('../images/3.jpg')center center;
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

.container p{
	margin: 10px;
}

.option{
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin: 5px 0;
}

.option .option_name , .option_bigger .option_name{
	width: 30%;
	text-align: right;
	padding-right: 10px;
	margin-right: 2px;
	cursor: pointer;
}

.option .option_change, .option_bigger .option_change{
	width: 60%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-left: 10px;
}

.option .option_change .select_option_change{
	width: 150px;
	text-align: center;
}



.options_for_parent{
	color: rgba(199, 55, 55, 0.99);
}

.options_for_child{
	color: #F2A42E;
}

.options_for_parent, .options_for_child{
	display: none;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	max-height: 450px;
	overflow-y: auto
}


.parent_of_items{
	max-height: 300px;
	width: 100%;
	margin-top: -20px;
	padding: 10px;
	background: rgba(255, 255, 255, 0.3);
  border: 1px solid #F2A42E;
  border-radius: 7px 0;
	overflow-y: auto;
	cursor: pointer;
}

.parent_of_items .name_parent{
	padding: 0 10px 10px 10px;
	color: #ffffff;
}

.parent_of_items .add_item{
	margin: 10px;
	cursor: pointer;
}

.parent_of_items .item_in_list{
	display: flex;
	justify-content: space-between;
	background: #F2A42E;
	margin: 10px 0;
	padding: 10px;
  margin: 0 10px 10px;
  border-radius: 5px;
  color: black;
  cursor: pointer;
}

.parent_of_items .item_in_list .delete_item{
	padding: 0 5px;
	cursor: pointer;
}

.parent_of_items .selected_small_item{
	border: 2px solid white;
	transform: scale(1.05, 1.05);
	box-shadow: 0 10px 10px black;
}

.selected_parent{
	background: rgba(199, 55, 55, 0.61);
	box-shadow: 0 0 20px black inset;
}

.example_item{
	background: #F2A42E;
    color: black;
}

.input{
	width: 150px;
	margin-top: 2px;
	display: flex;
	justify-content: space-between;
}

.inputs{
	width: 98px;
	height: 21px;
}

.ranges{
	width: 150px;
	margin-right: 5px;
}

.range{
	position: relative;
	display: flex;
	align-items: center;
	padding: 5px 0;
}

.units{
	width: 50px;
	text-align: center;
}

.value_of_units{
	position: absolute;
	top: 0;
	right: 101%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	width: 30px;
	height: 100%;
}

output {
	position: absolute;
	top: 0;
	right: 101%;
	width: 30px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}


.functions{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}










/*				block 1 					*/

#rezult_of_changes_1{
	display: flex;
	justify-content: center;
	align-items: center;
}

#rezult_of_changes_1 .example{
	background: rgba(255, 255, 255, 0.3);
}


/*   				block 2					*/
#saitbar_2 .option_for_parent .option_bigger, #saitbar_2 .option_for_child .option_bigger{
	width: 100%;
}

#border_for_parent, #border_for_child{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.name_of_example{
	padding: 10px 0;
	text-align: right;
	color: white;
}

#saitbar_2 .option{
	flex-basis: 170px;
	flex-direction: column;
	align-items: center;

}

#saitbar_2 .option_name{
	width: 100%;
	text-align: center;
	padding: 0;
	margin: 0;
}

#saitbar_2 .only_input{
	width: 150px;
}

#saitbar_2 .option_change{
	width: auto;
	padding-left: 0;
}

.check{
	margin: 0 5px 0 10px;
}

.window{
	width: 100%;
	height: 100%;
	position: relative;
	border: 1px solid #F2A42E;
  box-sizing: border-box;
  overflow: auto;
}

#rezult_of_changes_2 .example{
	background: rgba(199, 55, 55, 0.61);
	top: 0;
	left: 0;
}

#saitbar_2 .flexForParent, #saitbar_2 .topLeftRightBottom, #saitbar_2 .flexForChild{
	display: none;
}




/*						block 3					*/

#rezult_of_changes_3{
	display: flex;
	justify-content: center;
	align-items: center;
}

#saitbar_3{
	min-height: 400px;
	justify-content: flex-start;
}

#saitbar_3 .transform_units{
	width: 40px;
}

#saitbar_3 .func{
	width: 100%;
	border-bottom: 2px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 15px;
}

#saitbar_3 .option{
	padding: 5px 0;
	flex-wrap: wrap;
}


#saitbar_3 .option_change{
	position: relative;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	margin-left: 25px;
	padding-left: 3px;
	font-size: 11pt;
}

#saitbar_3 .value{
	right: 100%;
}

#saitbar_3 .only_input{
	width: 150px;
	margin-right: 5px;
}






/*     			transform		      */

.class_of_transform{
	position: absolute;
	display: flex;
	justify-content: space-between;
	cursor: pointer;
	bottom: 100%;
	width: 100%;
	left: 0;
	color: white;
}



.wrap_for_indent{
	width: 36%;
}

.wrap_for_variant{
	width: 63%;
	display: flex;
}

.variant_of_transform{
	padding: 0 15px;
	font-size: 11pt;
	background: rgba(0, 0, 0, 0.9);
	border-radius: 10px 20px 0 0;
}

.selected_variant_of_transform{
	color: #F2A42E;
}

/* 					example_for_transform						*/
#example_figure_2D .figure{
	width: 200px;
	height: 100px;
	background: #333;
	display: flex; 
	justify-content: center;
	align-items: center;
	border: 2px solid #F2A42E;
	border-radius: 10px;
}

#example_figure_3D{
	position: relative;
	width: 150px;
	height: 150px;
	perspective: 500px;
}

#example_figure_3D .figure{
	width: inherit;
	height: inherit;
	transform-style: preserve-3d;
}

#example_figure_3D .figure .side{
	position: absolute;
	width: inherit;
	height: inherit;
	//background: rgba(255, 255, 255, 0.3);
	color: black;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20pt;
	border: 2px solid #F2A42E;
	backface-visibility: inherit;
}

.front{
    background: rgba(203, 37, 37, 0.3);
	transform: translateZ(75px);
}

.back{
    background: rgba(36, 153, 188, 0.3);
	transform: rotateY(180deg) translateZ(75px); 
}

.right{
    background: rgba(29, 191, 35, 0.3);
	transform: rotateY(90deg) translateZ(75px);
}

.left{
    background: rgba(212, 212, 47, 0.3);
	transform: rotateY(-90deg) translateZ(75px);	
}

.top{
    background: rgba(196, 196, 196, 0.3);
	transform: rotateX(90deg) translateZ(75px);	
}

.bottom{
    background: rgba(126, 37, 203, 0.3);
	transform: rotateX(-90deg) translateZ(75px)
}


/*        media        */
@media (max-width: 750px){
	.class_of_transform{
		flex-direction: column;
	}
}

@media (max-width: 1075px){
	.option{
		flex-direction: column;
		align-items: center;
	}

	.option .option_name{
		width: auto;
		padding: 0 10px;
		text-align: center;
		margin: 0 0 5px 0;
	}

	.option .option_change{
		width: auto;
		padding: 0 10px;
		align-items: center;
	}

	#saitbar_3 .option_change{
		justify-content: center;
	}
}