@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css?family=Maiden+Orange');

body {
	background-image:url(images/sprinkles-bg.jpg);
	font-family:Arial, Helvetica, sans-serif;
	font-size: 0.8125em; /* 13/16= 0.8125 em*/
}
p {
	line-height: 18px;
	margin-bottom: 12px; 
	color: #521515;
}

h1 {
	font-family: "Maiden Orange", Georgia, Serif;
	font-size: 2.25em; /* 36/16= 2.25 em*/
	color: #e02575;
	margin-bottom:8px;
}

header {
	width: 100%;
	height: 160px;
	background-color: #fff;
	position: relative;
}

header .content {
	width: 85%;/* 960px*/
	margin: 0 auto;
	position: relative;
}

header img {
	position:absolute;
	left: 3.4375%; /* 33/960px**/
	top: 14px;
	z-index: 100;
}

nav {
	width: 100%;
	font-family: "Maiden Orange", Georgia, Serif;
	font-size: 1em; /* 16/16= 1 em*/
	text-align: center;
	position: absolute;
	bottom: 0;
	border-bottom: 3px solid #521515;
	
}

nav ul {
	display: block;
	background-color: #00caca;
	color: #fff;
	padding: 12px 1.25%; /*12/960px*100*/
}

nav ul li {
	display: inline;
	list-style-type: none;
	margin: 0 4.16666666666%; /*40/960px *100*/
}

nav ul li a {
	color: #fff;
	text-decoration: none;
}

nav ul li a:hover {
	border-bottom: 2px dotted #fff;
}

main {
	width: 75%; /*894px*/
	margin: 0 auto;
	padding: 18px 3.4375%; /*33/894px*100*/
	background-color: #fff;
	overflow: hidden;

}

section {
	margin-top:16px;
	width: 63.75838926174497%; /*570/894px*100*/
	float: left;
}

aside {
	width: 33.98434004474273%; /*277/894px*100*/
	margin-top:16px;
	float: right;
}

.flavors {
	width: 89.89169675090253%; /*249/277px*100*/
	height: 264px;
	background-color: #fbae37;
	border-radius: 5px;
	padding: 5.054151624548736%; /*14/277px*100*/
	background-image:url(images/ice-cream.png);
	background-repeat: no-repeat;
	background-position: right bottom;
}

.flavors h2 {
	font-family: "Maiden Orange", Georgia, Serif;
	font-size: 1.625em; 
	color: #fff;
	text-align: center;
	border-bottom: 3px dotted #fff;
	text-transform:uppercase;
}

.flavors p {
	color: #fff;
	text-align: center;
}

.flavors ul {
	list-style-type:disc;
	padding-left: 10.83032490974729%; /*30/277px*100*/
	list-style-position: outside;
}

.flavors ul li {
	color: #fff;
	margin-bottom: 6px;
}

button {
	color: #fff;
	font-family: "Maiden Orange", Georgia, Serif;
	font-size: 1.25em;
	text-transform: uppercase;
	background: #00caca; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#00caca, #009292); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#00caca, #009292); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#00caca, #009292); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#00caca, #009292); /* Standard syntax (must be last) */
	border-radius: 5px;
	padding: 8px 3.508771929824561% 4px; /*20/570px*100*/
	border: none;
}

footer {
	background-color: #ffcade;
	width: 75%; /*894px*/
	padding: 12px 3.691275167785235%; /*33/894px*100*/
	margin: 0 auto;
	font-family: "Maiden Orange", Georgia, Serif;	
	overflow:hidden;
}

#footer-left h4,
#footer-right h4 {
	font-size: 1.125em;
	margin-bottom: 4px;
}

#footer-left,
#footer-right {
	width: 33.333333333333%; /*298/894px*100*/
}

#footer-left {
		float: left;
}
#footer-center {
	clear: both;
	font-size: .625em;
	text-align: center;
}

#footer-right {
	float: right;
	text-align: right;
}


@media only screen and (max-width: 1024px) {
	
	.content { width: 100%; margin-left: auto; margin-right: auto; text-align: center;}	
	
	header { width: 20%; margin: 0 auto; position: relative; left: 0; top: 0;}
	
	nav { position: relative; width: 100%; }
	
	main img { min-height: 120px; width: 100%; margin: 0 auto; }
	main h1{ font-size: 1.625em;}
	
}

@media only all and (max-width:480px) { 

	header { min-height: 320px;}
	nav { width: 100%; margin: 10px auto;}
	nav a { color: white; display: block; border-bottom: 1px solid white; padding: 5px 0;}
	nav a:hover{ background-color: white; color: cadetblue;}
	nav li { margin: 10px 0; }
	main img{ height: 200px; margin-bottom: 0;}
	main { display: block; width: 100%;}
	section { float:none; margin: 20px auto; width: 90%; text-align: center;}
	aside { float: none; margin: 20px auto; width: 90%;}
	aside ul li { text-align: left; }
	footer { width: 100%; display: block; padding: 2px auto; font-size: .75em;}
	#footer-left, #footer-right{ display: block; width: 100%; margin: 0 auto; float: none; text-align: center; border-bottom: 1px solid gray; padding-top: 20px}
	#footer-center{ padding: 20px 0;}


}
