/* Color pallet: http://www.color-hex.com/color-palette/16892 */
	
	/** * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) * http://cssreset.com */
	html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {	
	margin: 0;	
	padding: 0;	
	border: 0;	
	font-size: 100%;	
	font: inherit;	
	vertical-align: baseline;}
	
	/* HTML5 display-role reset for older browsers */
	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {	
	display: block;}
	
	body {	
	line-height: 1.5;
	}
	
	ol, ul {	
	list-style: none;
	}
	
	blockquote, q {	
	quotes: none;
	}
	
	blockquote:before, blockquote:after,q:before, q:after {	
	content: '';	
	content: none;
	}
	
	table {	
	border-collapse: collapse;	border-spacing: 0;
	}	
	
	/* end reset*/

/* default styles (all devices) */
	
body, html, #wrapper {
	height: 100%;
	font-family: 'Caveat Brush', cursive;
}

h4	{
	font-family: 'Caveat Brush', cursive;
}

.ing-container, .inst-container	{
	font-family: 'Source Sans Pro', sans-serif;
}


#splashpage	{
	background-image: url("img/desserthead.png");
	height: 100%;
	
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center; 
	background-size: cover;
	display: flex;
}

#splashpage h1	{
	font-family: Verdana, serif; 
	background-color: rgba(73,59,59,0.8);
	color: white;
	font-size: 2.3em;
	font-family: 'Luckiest Guy', cursive;
	text-align: center;
	margin: auto;
	padding: 15px;
}

#stats {
	background-color: #ffdead;
}	

#stats h2 	{
	font-size: 2.7em;
	text-align: center;
}

#stats ul	{
	display: flex;
	justify-content: space-around;
	width: 100%;
}

#stats li	{
	display: block;
	flex: 1;
	background-color: #7b3d11;
	padding: 1.5%;
	color: white;
	font-size: 1.2em;
	text-align: center;
}

#stats li:last-child	{
	flex: 1;
}

#stat li p {
	display: inline-block;
}

.stat-title {	
	text-transform: uppercase;
	color: #ffdead;
}

.stat-value {
	white-space: nowrap;
}

h3	{
	font-size: 2em;
	text-align: center;
}

#ingredients {
	padding: 5px 20px 30px;
	background-color: #eeeeee;
}

.ing-container {
	display: flex;
	flex-flow: row wrap;
	font-size: 1.3em;
	color: white;
}

.ing-item {
	display: block;
	padding: 7px 10px; 
	margin: 5px 0;
	background-color: grey;
	flex-basis: 100%;
}

#instructions	{
	background-color: orange;
	padding: 20px;
	
	background-image: url("img/instructions-background-mobile.jpg");
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	}

#instructions h3	{
	color: black;
	background-color: rgba(220,220,220,0.8);
}	

.inst-item	{
	margin: 4% 0;
	padding: 20px;
	background-color: rgba(73,59,59,0.95);
	color: white;
}

.inst-item h4 {
	font-size: 1.7em;
	float: left;
	padding: 0 15px;
	margin-top: 5px;
	margin-right: 5px;
	color: black;
	background-color: #ffdead;
	border-radius: 20px 5px;
}

footer	{
	padding: 1%;
	text-align: center;
	background-color: #7b3d11;
	color: white;
	font-style: italic;
}

a:link, a:visited {
	color: orange;
}

a:active, a:hover {
	color: white;
}

/* tablet styles */
@media only screen and (min-width: 550px) and (max-width: 850px) {
	#splashpage h1 {
		font-size: 2.7em;
	}
	
	#stats h2 {
		font-size: 4em;
	}
	
	#stats li {
		font-size: 1.25em;
	}
	
	.ing-container {
		box-sizing: border-box;
		justify-content: space-between;
	}
	
	.ing-item {
		flex-basis: 43%; 
	}
	
	.ing-item:last-child {
		flex-basis: 98%; 
	}
	
	.inst-item {
		font-size: 1.5em;
	}
	
	h3 {
		font-size: 3em;
	}
	
	#instructions h4 {
		padding: 0 20px;
		margin-top: 7px;
	}
}

/* desktop styles */
@media only screen and (min-width: 851px) {
	#wrapper {
		display: flex;
		flex-wrap: wrap;
		box-sizing: border-box;
	}
		
	#splashpage, #stats, footer {
		flex-basis: 100%;
	}
	
	#splashpage h1 {
		font-size: 4em; 
	}
	
	#stats h2 {
		font-size: 4em;
	}
	
	#stats li {
		font-size: 2.15em;
	}

	#ingredients, #instructions {
		flex: 45%;
	}
	
	#ingredients h3 {
		margin: 14px 0;
	}
	
	h3 {
		font-size: 3em;
	}
	
	.ing-container {
		font-size: 2em;
		text-align: center;
	}
	
	.inst-item {
		font-size: 1.4em;
	}
	
	.inst-item h4 {
		padding: 0 20px;
	}
}

@media only screen and (min-width: 1401px) {
	html {
		font-size: 1.3rem;
	}
}