 body, html {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
    background-color: #FFC107;
}

main {
	height: 100%;
	width: 100%;
}

/* подложка под сайд бар*/

aside {
	background-color: #FFC107;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 400px;
	z-index: 1;
}

section {
	position: relative;
	width: 100%;
	height: 100%;
	background-color: transparent;
	overflow-x: hidden;
    min-width: 280px;
}


label {
	display: none;
	padding: 10px 10px;
	background-color:  #4A148C;
	border-radius: 25px;
	cursor: pointer;
	margin: 10px;
	z-index: 3;
	position: fixed;
	transition-delay: 0.5s;
}

.bar {
	display: block;
	background-color: #fff;
	width: 30px;
	height: 3px;
	border-radius: 5px;
	margin: 5px auto;
	transition: background-color .5s ease-in,
	transform .5s ease-in, width .5s ease-in;
}

.top-1, .middle-1, .bottom-1  {
	background-color: #4A148C;	

}

.content {
	top: 0;
	/* bottom: 0; */
	right:	0;
	left: 0;
	position: absolute;
	background-color: #fff;
	z-index: 2;
	transition: transform .5s ease-in-out;
}

.asideList {
	list-style: none;
	padding: 0;
	margin: 0;
	margin-top: 100px;
	margin-left: 55px;
	text-align: left;


}

.asideAnchor {
	padding: 20px 0 0 0;
	display: block;
	color: #646464;
	text-decoration: none;
	font: 16px san-serif;	
	font-family: Montserrat;
	color: #646464;
	font-weight: bold;
	position: relative;
	transform: color .3s .15s ease-in;
}


.asideAnchor:hover {
	text-decoration: underline;
}


.underAside {
	padding: 5px;
	display: block;
	color: #646464;
	text-decoration: none;
	font: 13px san-serif;	
	font-family: Montserrat;
	font-weight: bold;
	color: #646464;
	position: relative;
	transform: color .3s .15s ease-in;
	
}

h3 {
	margin: 0;
	padding: 0;
	font-size: 13px;
	font-weight: 500;
}


.underAside:first-child {
	margin: 20px 0 0 0;

}

input[type="checkbox"] {
	display: none;
}


 li {
 	margin-top: 15px;

 }



/*контент*/


.content {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr
						60px;
	min-height: 100vh;		
}

/*шапка, навигация, контент*/

.wrapperAll {
	grid-area: 1/1/2/2;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 190px 80px 1fr;
} 

header {
	grid-area: 1/1/2/2;
	
}


.hg_header {
	background-color: #4A148C;
	background-image: url(/image/headerbg.png);
	background-position: center center;
	background-repeat: no-repeat;
	box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.4);	
}


.logo-container {
	width: 250px;
	height: 100%;
	margin: auto;
	vertical-align: middle;
}

.logo-container img {
	margin: 67px auto;
}

/*навигация*/

nav {
	grid-area: 2/1/3/2;
	background-color:  #FFC107;
}

.hg_nav {
	display: flex;
	justify-content: center;
	align-items: center;
}

.menu {
	margin-left: 20px;
	margin-right: 20px;
	line-height: 80px;
	font: 16px san-serif;	
	font-family: Montserrat;
	color: #646464;
	font-weight: bold;
	height: 100%;
	display: grid;
	grid-template-columns: 1fr 20px 1fr;
	grid-template-rows: 1fr 20px 1fr; 

}

h2 {
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 800;
}

a {
	text-decoration: none;
	 color:  #646464;
}

a:hover {
	text-decoration: underline;

}

.container {
	grid-column: 1/4;
	grid-row: 2/3;


}

.tre {
	grid-column: 2/3;
	grid-row: 3/4;
	background-image: url(/image/tre.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center bottom;
}



/*контент*/



.hg {
    grid-area: 3/1/4/2;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-template-rows: repeat(12, 1fr);
}


.text {
	grid-area: 2/3/11/11;
	width: 750px;
	justify-self: center; 
	font-family: Montserrat,sans-serif;
    font-size: 20px;
    line-height: 1.18em;
    font-weight: 0;
    color: #6f6f6f;
    text-align: justify;
}



/*подвал*/

footer {
	grid-area: 2/1/3/2;
	background-color:  #FFC107;
	 box-shadow: inset 0 3px 6px 0 rgba(0, 0, 0, 0.4);
}

.hg_footer {
	color: 	 #646464;
	font: 14px  sans-serif;
	font-weight: bold;
	font-family: Montserrat;
    text-align: center;
    padding-top: 20px;
}

.hg_footer h2 {
	font-size: 14px;
}

/*медиа запрос*/


@media screen and (max-width: 950px) {

	label {
		display: inline-block;
	}

	input[type="checkbox"]:checked ~.content {
		transform: translateX(400px);
	
	}




	input[type="checkbox"]:checked ~ label .bar {
	  background-color: #fff;
	}

	input[type="checkbox"]:checked ~ label {
	  transition-delay: 0s;	
	  background-color: transparent;
	}



	input[type="checkbox"]:checked ~ label .top {
	  -webkit-transform: translateY(0px) rotateZ(45deg);
	  -moz-transform: translateY(0px) rotateZ(45deg);
	  -ms-transform: translateY(0px) rotateZ(45deg);
	  -o-transform: translateY(0px) rotateZ(45deg);
	  transform: translateY(0px) rotateZ(45deg);
	}


	input[type="checkbox"]:checked ~ label .bottom {
	  -webkit-transform: translateY(-15px) rotateZ(-45deg);
	  -moz-transform: translateY(-15px) rotateZ(-45deg);
	  -ms-transform: translateY(-15px) rotateZ(-45deg);
	  -o-transform: translateY(-15px) rotateZ(-45deg);
	  transform: translateY(-15px) rotateZ(-45deg);
	}

	input[type="checkbox"]:checked ~ label .middle {
	  width: 0;
	}



	.middle {
	  margin: 0 auto;
	}
	.hg_nav {
		display: none;
	}

	.wrapperAll {
		box-shadow: 0px 0px 10px 0 rgba(0, 0, 0, 0.3);	
		
	}


	header {
		grid-area: 1/1/2/2;
		background-color: #4A148C;
	}

	.hg_header {
		background-image: url(/image/headerbg.png);
		background-position: center center;
		background-repeat: no-repeat;
		box-shadow: none;

	}


	.hg {
	    grid-area: 2/1/4/2;
		display: grid;
		grid-template-columns: 1fr 70% 1fr;
		grid-template-rows: 1fr;
	}

	.text {
		grid-area: 1/2/2/3;
	    width: 100%;
	}
		
	footer {
		grid-area: 2/1/3/2;
		background-color:  #FFC107;
		box-shadow: none;
		z-index: -1;
	}


}