//Small Screen
@media screen and (max-width: 600px) {
	#header h1 {
		font-family: 'Rock Salt', cursive;
		font-size: 1.5em;
	}
	#new_fact {
		padding: 10px;
		width: 100%;
		float: right;
	}
	#past_fact {
		display: block;
		width: 100%;
		text-align: center;
		color: #000066;
		border: medium solid #000066;
		border-radius: 15px;
		-moz-border-radius: 15px;
		-webkit-border-radius: 15px;
	}
}

* {
padding: 0;
margin: 0;
}
body {
color: #000066;
max-width: 800px;
margin: 5% auto;
background: url(../images/bg.png) #BF8130/*#FFC273*/;
}
#container {
border-radius: 150px;
-moz-border-radius: 150px;
-webkit-border-radius: 150px;
border: medium solid #000066;
overflow: hidden;
}
#header, #footer {
text-align: center;
padding: 0px 50px;
display: block;
background: #e6e6e6;
}
#header h1 {
font-family: 'Rock Salt', cursive;
font-size: 2.7em;
}
#nav {
padding: 10px;
background: #000066;
font-size: 1.1em;
}
#nav a {
color: #e6e6e6;
padding: 0px 10px;
font-weight: bold;
text-decoration: none;
}
#nav a:hover {
color: #000066;
background: #e6e6e6;
padding: 11px 10px;
}
#count {
color:#e6e6e6; 
padding:0px 10px; 
text-decoration:none; 
float:right;"
}
#content {
background: #e6e6e6;
}
#past_fact {
display: block;
position: relative;
top: 170px;
left: 25px;
width: 62.5%;
text-align: center;
color: #000066;
border: medium solid #000066;
border-radius: 15px;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
}
#new_fact {
padding: 2em;
width: 62.5%;
float: left;
}
#cap {
float: right;
margin-right: 30px;
height: 200px;
width: 200px;
}
#footer {
font-size: 12px;
padding-bottom: 15px;
}
#response {
color: #800000;
}
input[type=submit] {
background-color: #000066;
border: none;
border-radius: 15px;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
color: #e6e6e6;
padding: 8px 16px;
text-decoration: none;
margin: 2px 1px;
cursor: pointer;
}
.clear {
clear: both;
}