/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
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;
}

/* This ends the reset NO TOUCH*/



/*Default Styles. Mobile FIRST */


#wrapper{
	position: relative;
}

#nav {
	display: none;
	position: fixed;
	padding-left: 5px;
	padding-right: 5px;
	text-align: center;
	right: 0;
	z-index: 10;
	color: black;
	background-color: #c7ffa5;
	opacity: 0.6;
	height: 200px;
	width: auto;
	font-size: 1.15em;
}

a:link {
	text-decoration: none;
}

a:visited {
	color: black;
}

a:hover {
	color: blue;
}

header {
	padding: 2%;
	text-align: center;
	background: linear-gradient(to right, black, transparent), url('img/key-lime-pie-1.jpg');
	background-size: cover;
	height: 400px;
	width: 100%;
	background-attachment: fixed;
	color: white;
	text-align: left;
}

h1 {
	font-family: 'Playfair Display', serif;
	font-size: 3em;
	margin-top: 50px;
	margin-left: 20px;
}

h2 {
	font-family: 'Playfair Display', serif;
	font-size: 2em;
	text-align: center;
	padding-top: 20px;
}

h3 {
	margin-top: 15px;
	font-family: 'Playfair Display', serif;
	font-size: 1.75em;
	text-align: center;
	color: #75522c;
}

p {
	max-width: 400px;
	font-family: 'Roboto', sans-serif;
	line-height: 200%;
	margin-left: 20px;
	margin-top: 20px;
}

.numbers {
	font-family: 'Playfair Display', serif;
	font-size: 2em;
	color: #003300;
}

li {
	font-family: 'Roboto', sans-serif;
	font-size: 1em;
	line-height: 200%;
	padding-top: 5px;
}

#prep ul{
	display: grid;
	grid-template-rows: 1fr 1fr 1fr;
}

#prep li{
	opacity: 0.6;
	margin: 0.5%;
	padding: 0.5%;
	text-align: center;
}

.ingredients {
	margin: 2%;
	padding: 2%;
	text-align: center;
}

.ingredients li{
	padding: 2%;
	margin: 2% auto;
	background-color: #c7ffa5;
}

#directions-oven {
	margin: 2%;
	padding: 2%;
	text-align: center;
}

.directions {
	padding: 2%;
	margin: 2%;
	text-align: left;
}

.directions li {
	margin: 2%;
	background-color: #c7ffa5;
}

#bottom-photos {
	display: grid;
	grid-template-areas:
		"second third fourth"
	;
	margin: 2%;
	padding: 2%;
	text-align: center;
}

#second {
	height: 100px;
	width: 100px;
	border-radius: 50%;
	margin: 2%;
	padding: 2%;
	grid-area: second;
	margin: 0 auto;
}

#third {
	height: 100px;
	width: 100px;
	border-radius: 50%;
	margin: 2%;
	padding: 2%;
	grid-area: third;
	margin: 0 auto;
}

#fourth {
	height: 100px;
	width: 100px;
	border-radius: 50%;
	margin: 2%;
	padding: 2%;
	grid-area: fourth;
	margin: 0 auto;
}

footer {
	margin: 2%;
	padding: 2%;
	text-align: center;
	font-family: 'Roboto', sans-serif;
	font-size: 10pt;
	opacity: 0.6;
}

/* Tablet Styles aka mid range browser width */
@media only screen and (min-width: 500px) and (max-width: 700px) {

h1 {
	font-size: 3.5em;
}

#nav {
	display: none;
}

h2 {
	font-size: 2.5em;
}

h3 {
	font-size: 2.25em;
}

p {
	font-size: 1.15em;
}

li {
	font-size: 1.25em;
	padding-left: 10px;
	padding-top: 20px;
}

.numbers {
	font-size: 2.5em;
}

#second {
	height: 150px;
	width: 150px;
}

#third {
	height: 150px;
	width: 150px;
}

#fourth {
	height: 150px;
	width: 150px;
}

}

/* Desktop Styles */
@media only screen and (min-width: 701px) {

h1 {
	font-size: 5em;
}

#nav {
	display: block;
}


h2 {
	font-size: 3em;
}

h3 {
	font-size: 2.75em;
}

p {
	max-width: 500px;
	font-size: 1.25em;
}

#prep1 {
	grid-area: prep-one;
}

#prep2 {
	grid-area: prep-two;
}

#prep3 {
	grid-area: prep-three;
}

#prep ul{
	margin-top: 10px;
	grid-template-areas:
	"prep-one prep-two"
	"prep-three prep-three";
}

li {
	padding-left: 10px;
	padding-top: 20px;
	font-size: 2em;
}

.ingredients ul{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 3em;
}

.ingredients li, .directions li{
	width: 100%;
	height: 100%;
}

#d1 {
	grid-area: d-one;
}

#d2 {
	grid-area: d-two;
}

#d3 {
	grid-area: d-three;
}

#d4 {
	grid-area: d-four;
}

#d5 {
	grid-area: d-five;
}

.ingredients, .directions, #directions-oven {
	max-width: 1400px;
	margin: 0 auto;
	padding-bottom: 100px;
}

#directions-crust ul{
	display: grid;
	grid-template-areas:
	"d-one d-two"
	"d-three d-four"
	"d-five d-five";
	grid-gap: 3em;
}


#directions-filling ul{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 3em;
}

#second {
	min-height: 200px;
	min-width: 200px;
	max-height: 250px;
	max-width: 250px;
}

#third {
	min-height: 200px;
	min-width: 200px;
	max-height: 250px;
	max-width: 250px;
}

#fourth {
	min-height: 200px;
	min-width: 200px;
	max-height: 250px;
	max-width: 250px;
}





}