@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: .8125em; /* 13/16 */
}
p {
	line-height: 18px;
	margin-bottom: 12px;	
	color: #521515;
}

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

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

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

header img {
	position:absolute;
	left: 33px;
	top: 14px;
	z-index: 100;
}

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

nav ul {
	display: block;
	background-color: #00caca;
	color: #fff;
	padding: 12px;
}

nav ul li {
	display: inline;
	list-style-type: none;
	margin: 0 40px;
}

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

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

main {
	width: 894px;
	margin: 0 auto;
	padding: 18px 33px;
	background-color: #fff;
	overflow: hidden;

}

section {
	margin-top:16px;
	width: 570px;
	float: left;
}

aside {
	width: 277px;
	margin-top:16px;
	float: right;
}

.flavors {
	width: 249px;
	height: 264px;
	background-color: #fbae37;
	border-radius: 5px;
	padding: 14px;
	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; /* 26/16 */
	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: 30px;
	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;	/* 20/16 */
	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 20px 4px;
	border: none;
}

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

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

#footer-left,
#footer-right {
	width: 298px;
}

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

#footer-right {
	width: 298px;
	float: right;
	text-align: right;
}

/* ------ MEDIA QUERIES ------ */

@media only all and (max-width: 1024px) {
	header img {
		position: relative;
		left: auto;
		top: auto;	
		height: 120px;
	}
	
	header {
		text-align: center;
	}
} /* closes media queries */