/* This is not my best work. */

*{
	margin:0;
	padding:0;
}

html{
	background-color:#E8EDF4;
	font-family: Helvetica, Arial, sans-serif;
	text-align: center;
	height: 100%;
}
body{
	max-width:900px;
	min-height:900px;
	margin:0 auto 0 auto;
	position:relative;
	height: 100%;
}
#container{
	width:100%;
	margin-top:-450px;
	position:absolute;
	top:50%;
	overflow: hidden;
	
	background-color: #fff;
	border-radius:12px;
	box-shadow: 0 0 20px 0 rgba(0,0,0,0.3);
}

a{
	text-decoration:none;
	color: #5269A0;
}
a:hover {
	color: #37476C;
}
a:visited {
	color: #9952AB;
}
a:visited:hover {
	color: #703D7D;
}

#header{
	width:100%;
	color:#fff;
	background-color:#f7d638;
	border-radius:10px 10px 0 0;
	transition: 0.2s ease;
}

#header h1{
	
}
#header h1 img{
	width: 100%;
	border-radius:10px 10px 0 0;
	display:block;
}
ul{
	list-style-type:none;
	position: relative;
	height: 550px;
}
ul li{
	display: block;
	position: absolute;
	text-indent: -9999px;
}
ul li a{
	display: block;
	background-position-y: bottom !important;
}
#scale2 {
	left: 0;
	top: 0;
}
#scale2 a {
	width: 600px;
	height: 250px;
	background: url("/ht2/ht2_01.png");
}
#bfdi {
	left: 600px;
	top: 0;
}
#bfdi a {
	width: 300px;
	height: 250px;
	background: url("/ht2/ht2_bfdi_2020.png");
	background-size: cover;
}
#b5 {
	left: 0;
	top: 250px;
}
#b5 a {
	width: 300px;
	height: 150px;
	background: url("/ht2/ht2_03.png");
}
#elem3 {
	left: 300px;
	top: 250px;
}
#elem3 a {
	width: 600px;
	height: 150px;
	background: url("/ht2/elem3.png");
}
#unicrush {
	left: 0;
	top: 400px;
}
#unicrush a {
	width: 300px;
	height: 150px;
	background: url("/ht2/ht2_05.gif");
}
#lrw {
	left: 300px;
	top: 400px;
}
#lrw a {
	width: 300px;
	height: 150px;
	background: url("/ht2/ht2_06.gif");
}
#more {
	left: 600px;
	top: 400px;
}
#more a {
	width: 300px;
	height: 150px;
	background: url("/ht2/ht2_07.gif");
}

#infix {
	margin: 10px 0;
}
#footer{
	padding: 10px 0 10px;
	background: #5269A0 url("footer.png") no-repeat center top;
	background-size: 100% auto;
	color: #BAC5DC;
	clear: both;
	border-radius: 0 0 10px 10px;
	width: 100%;
	transition: border-radius 0.2s ease;
}
#footer a{
	color:white;
}

@media only screen and (max-width: 900px){
	body {
		max-width: 600px;
		min-height: 1000px;
	}
	#container {
		margin-top: -515px;
	}
	ul {
		height: 800px;
	}
	#edit {
		left: 0;
		top: 250px;
	}
	#edit a {
		height: 150px;
	}
	#b5 {
		left: 300px;
		top: 250px;
	}
	#elem3 {
		left: 0;
		top: 400px;
	}
	#unicrush {
		top: 550px;
	}
	#lrw {
		top: 550px;
	}
	#more {
		top: 700px;
		left: 0;
	}
	#more a {
		width: 600px;
		height: 100px;
		background-repeat: no-repeat;
		background-color: #a1a1a1;
	}
}
@media only screen and (max-width: 600px){
	body {
		min-height: 0;
	}
	#container{
		margin-top: 0;
		top: 0;
		box-shadow: none;
	}
	ul {
		height: auto;
	}
	ul li {
		position: static;
		text-indent: initial;
		
		text-align: left;
		margin: 10px;
	}
	ul li a {
		width: auto !important;
		height: auto !important;
		background: none !important;
	}
}
