:root{
	--backgroundcolor:#111;
	--menubackground:#111;
}

@font-face {
    font-family: 'Comfortaa';
    src: url('/i/files/Comfortaa.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
		input[type=text],
		input[type=password],
		textarea{
			background-color:#333;
			border:1px solid #CCC;
			font-size:24px;
			
		}

	img{
		/* Otherwise images get whitespace under them */
		vertical-align:middle;
	}
	*{
		margin: 0;
		padding: 0;
	}
	html, body, .layout{
		height:100%;
	}

@media only screen and (min-width: 0px){


	.layout {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 76px 1px 1fr auto;
    grid-template-areas:
        "header"
        "menu"
        "content"
        "footer";
    height: 100dvh;
    margin: 0;
}

	.header,.header_bg_left,.header_bg_right,
	.footer,.footer_bg_left,.footer_bg_right{
		display:block;
	}

	*{
	    font-family: 'Comfortaa';
	    color: #fff;
		font-size: 16px;
		line-height:32px;
	}
	.header{
		padding-top:20px;
		padding-left:10px;
	}
	.header_logo{
		width:150px;
	}
	.logopng{
		width:104px;
		height:22px;
		margin-top:6px;
		vertical-align:middle;
	}
	.header_links{
		padding-right:4px;
		padding-top:4px;
		text-wrap: no-wrap;
	}

	.header_links li{
		  list-style-type: none;
	}
	.header_links a{
		display:inline-block;
		border-radius:6px;
		text-decoration:none;
		margin-left:16px;
		font-size:18px;
		line-height:32px;
		background-color:#4d4d4d;
		color:#a9a9a9;
		box-shadow:0px 3px #333;
		font-weight:bold;
		padding:0px 16px;
		margin-right:10px;
	}
	.header_links a:hover{
		background-color:#666;
		color:rgb(255, 255, 203);
		box-shadow:0px 0px 10px 5px #FF04;
	}

	.content{
		padding: 0px;
	}
	.content_white_background{
		padding: 32px;
	}

	.footer{
		color: white;
		padding: 20px 0px;
		font-size: 16px;
		line-height:24px;
	}
	.footer a{
		font-size:16px;
	}





}

@media only screen and (min-width: 600px){


	.layout{
		display:grid;
		grid-template-columns: 100%;
		grid-template-rows: 100px 1px 1fr auto;
		grid-template-areas:
		"header"
		"menu"
		"content"
		"footer";
	}

	.header,.header_bg_left,.header_bg_right,
	.footer,.footer_bg_left,.footer_bg_right{
		display:block;
	}

	*{
	    font-family: 'Comfortaa';
	    color: #fff;
		font-size: 26px;
		line-height:32px;
	}
	.header{
		padding-top:26px;
		padding-left:36px;
	}
	.header_logo{
		width:150px;
	}
	.logopng{
		width:156px;
		height:33px;
		margin-top:6px;
		vertical-align:middle;
	}
	.header_links{
		padding-right:20px;
		padding-top:4px;
	}

	.header_links li{
		  list-style-type: none;
	}
	.header_links a{
		display:inline-block;
		border-radius:6px;
		text-decoration:none;
		margin-left:16px;
		font-size:24px;
		line-height:48px;
		background-color:#4d4d4d;
		color:#a9a9a9;
		box-shadow:0px 3px #333;
		font-weight:bold;
		padding:0px 16px;
		margin-right:10px;
	}
	.header_links a:hover{
		background-color:#666;
		color:rgb(255, 255, 203);
		box-shadow:0px 0px 10px 5px #FF04;
	}

	.content{
		padding: 0px;
	}
	.content_white_background{
		padding: 32px;
	}

	.footer{
		color: white;
		padding: 20px 0px;
		font-size: 26px;
		line-height:32px;
	}
	.footer a{
		font-size: 26px;
	}





}

/*---------------------------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------*/

@media only screen and (min-width: 1000px){

	.layout{
		display:grid;
		grid-template-columns: 100%;
		grid-template-rows: 100px 25px 1fr auto;
		grid-template-areas:
		"header"
		"menu"
		"content"
		"footer";
	}
	*{
	    	font-family: 'Comfortaa';
	    	color: #fff;
		font-size: 26px;
		line-height:32px;
	}
	.header{
		padding-top:36px;
		padding-left:65px;
	}
	.header_logo{
		width:220px;
	}
	.logopng{
		width:217px;
		height:45.5px;
		margin-top:6px;
		vertical-align:middle;
	}
	.header_links{
		padding-right:60px;
	}
	.header_links li{
		  list-style-type: none;
	}
	.header_links a{
		display:inline-block;
		border-radius:6px;
		text-decoration:none;
		margin-left:16px;
		font-size:24px;
		line-height:48px;
		background-color:#4d4d4d;
		color:#a9a9a9;
		box-shadow:0px 3px #333;
		font-weight:bold;
		padding:0px 32px;
		margin-right:10px;
	}
	.header_links a:hover{
		background-color:#666;
		color:rgb(255, 255, 203);
		box-shadow:0px 0px 10px 5px #FF04;
	}

	.content{
		padding: 0px;
	}
	.content_white_background{
		padding: 32px;
	}
	.footer{
		color: white;
		padding: 20px 0px;
		font-size: 26px;
		line-height:26px;
	}
	.footer a{
		font-size: 26px;
	}
}


/*---------------------------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------*/

@media only screen and (min-width: 1620px){
	.layout{
		display:grid;
		grid-template-columns: 1fr 1600px 1fr;
		grid-template-rows: 100px 30px 1fr auto;
		grid-template-areas:
		"header_bg_left header header_bg_right"
		"menu_bg_left menu menu_bg_right"
		"content_bg_left content content_bg_right"
		"footer_bg_left footer footer_bg_right";
	}
}




	.header{
		grid-area: header;
		background-color:var(--menubackground);
		vertical-align:middle;
	}
	.header_bg_left{
		grid-area: header_bg_left;
	}
	.header_bg_right{
		grid-area: header_bg_right;
	}

	.header_bg_left,.header_bg_right
	{
		background-color:var(--menubackground);
	}
	.menu,.menu_bg_left,.menu_bg_right{
		background-color:var(--menubackground);
	}
	.footer_bg_left,.footer_bg_right
	{
		background-color:#EEE;
	}


	.menu_bg_left{
		grid-area: menu_bg_left;
	}
	.menu{
		grid-area: menu;
	}
	.menu_bg_right{
		grid-area: menu_bg_right;
	}

	.content_bg_left{
		grid-area: content_bg_left;
		background-color:var(--backgroundcolor);;
	}
	.content{
		grid-area: content;
		background-color:var(--backgroundcolor);;
	}
	.content_bg_right{
		grid-area: content_bg_right;
		background-color:var(--backgroundcolor);;
	}


	.footer_bg_left,
	.footer,
	.footer_bg_right{
	background-color: var(--menubackground);
	}
	
	.footer_bg_left{
		grid-area: footer_bg_left;
	}
	.footer{
		grid-area: footer;
	}
	.footer_bg_right{
		grid-area: footer_bg_right;
	}


