/* pls forgive my theft */

*{
	margin:0;
	padding:0;
}
@font-face {
font-family: "CourierPrime";
  src: url(font/CourierPrime-Regular.ttf) format('truetype');
  font-weight: normal;
}

@font-face {
font-family: "CourierPrime";
  src: url(font/CourierPrime-Bold.ttf) format('truetype');
  font-weight: bold;
}




p {
font-family: "CourierPrime", sans-serif;
}

b {
  font-family: "CourierPrime";
}

h1 {
font-family: "CourierPrime";
}
html{
	background-color:#E8EDF4;
	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);
}


#container2{
	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;
	font-family: "CourierPrime";
}
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 img:hover {
	-webkit-filter: brightness(125%);
}
ul li a{
	display: block;
	background-position-y: bottom !important;
}
#btd3 {
	left: 0;
	top: 0;
}
#btd3 a {
	width: 600px;
	height: 250px;
	background: url("snake.png");
}
#pvz {
	left: 600px;
	top: 0;
}
#pvz a {
	width: 300px;
	height: 250px;
	background: url("quiz.png");
	background-size: cover;
}
#snailbob {
    left: 300px;
	top: 400px;
}
#snailbob a {
	width: 300px;
	height: 150px;
	background: url("snailbob.png");
}
#run2 {
	left: 0px;
	top: 250px;
}
#run2 a {
	width: 900px;
	height: 150px;
	background: url("run2.png");
	background-size: 900px 150px;
}

#findex {
	left: 0;
	top: 400px;
}
#findex a {
	width: 300px;
	height: 150px;
	background: url("dex.png");
}

#ekiller {
	left: 600px;
	top: 400px;
}
#ekiller a {
	width: 300px;
	height: 150px;
	background: url("repo.png");
}

#infix {
	margin: 10px 0;
}
#footer{
	padding: 10px 0 10px;
	background-size: 100% auto;
	background-color: #cccccc;
	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: 400px;
	}
	#ekiller {
		left: 300px;
		top: 250px;
	}

	#findex {
    	left: 0px;
    	top: 250px;
    }
}
@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;
	}
}