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

/*Reset End*/

/* My Stylesheet Begins Here */
/*responsive stuff*/
/*grid-column-start: 1;
 grid-column-end: 3;*/
/*does the above help make my step 7 fill out the last few collums?*/

/*Color Scheme*/
/* Dark Purple: #542BA3*/
/* Med Purple: #8E16FA*/
/*Lt Purple: #C89AEB*/
/*Dark Orange: #9E440B*/
/*Med Orange: #FA7F06*/
/*Lt Orange: #FAD3AE*/

/*Dark Brown: #69341B*/
* {
  border: 1px solid indianred;
}

body {
  font-size: 22px;
  margin: 0;
  padding: 0;
  background-image: url("img/pattern3.png");
  background-size: 25%;
  color: #9e440b;
}

#wrapper {
  width: 90%;
  max-width: 1000px;
  margin: 2% auto;
  padding: 0%;
  background-color: #fae6cd;
  border-radius: 0.7em;
  padding: 0.3%;
}

h1 {
  font-family: "Cinzel Decorative", serif;
  color: #69341b;
  line-height: 1.2em;
}

h2 {
  font-family: "Cormorant Unicase", serif;
  color: #69341b;
  font-size: 1.5em;
  padding: 0.7%;
}

img {
  width: 100%;
  border-radius: 15%;
}

header {
  text-align: center;
  padding: 5%;
}

header p {
  font-size: 1.2em;
  margin-bottom: 3%;
}

h1 {
  font-size: 2.5em;
  font-weight: bold;
}

h2 {
  font-weight: bold;
}

li {
  font-family: "Fredoka", sans-serif;
}

span {
  font-weight: 500;
  border: 2px solid #69341b;
  border-radius: 25px;
  background-color: #c89aeb;
  color: #69341b;
  text-align: center;
}

footer {
  line-height: 0.6em;
  font-family: "Cormorant Unicase", serif;
  font-size: 1.5em;
  font-weight: 700;
  text-align: center;
  padding-bottom: 2%;
  color: #69341b;
}

a:hover,
a:visited {
  color: #fa7f06;
}

a {
  text-decoration: none;
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 0.7em;
  color: #542ba3;
}

#tagline {
  font-family: "Cinzel Decorative", serif;
  font-weight: 700;
}

#name {
  font-size: 0.6em;
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
}

#data ul,
#ingredients ul,
#directions ul {
  display: grid;
}

.img {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

#data {
  margin-bottom: 2%;
  font-size: 0.9em;
}

#data li {
  text-align: center;
  padding: 2%;
  display: grid;
  grid-template-columns: 1fr;
}

#ingredients {
  margin-bottom: 2%;
  font-size: 0.9em;
}

#ingredients li {
  text-align: center;
  padding: 1%;
  display: grid;
  grid-template-columns: 1fr;
  padding-left: 37%;
  padding-right: 37%;
}

#directions {
  margin-bottom: 2%;
  font-size: 0.9em;
}

#directions li {
  text-align: justify;
  padding: 2%;
  display: grid;
  grid-template-columns: 1fr;
}

/* tablet size*/
@media only screen and (min-width: 600px) and (max-width: 900px) {
  body {
    background-size: 20%;
  }

  footer {
    padding: 3%;
  }

  #data ul {
    grid-template-columns: 1fr 1fr;
    grid-gap: 5px;
  }

  #directions ul {
    grid-template-columns: 1fr 1fr;
    grid-gap: 5px;
  }

  #ingredients li {
    text-align: center;
    padding: 1%;
    display: grid;
    grid-template-columns: 1fr;
  }

  #ingredients {
    padding-left: 25%;
    padding-right: 25%;
  }

  #last {
    grid-column-start: 1;
    grid-column-end: span 2;
  }

  #ingredients ul {
    grid-template-columns: 1fr 1fr;
  }

  #ilast {
    grid-column-start: 1;
    grid-column-end: span 2;
  }
}

/* Desktop size*/
@media only screen and (min-width: 901px) {
  body {
    background-image: url("img/pattern4.png");
    background-size: 15%;
  }

  footer {
  }

  #data ul {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 5px;
  }

  #directions ul {
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 5px;
  }

  #ingredients ul {
    grid-template-columns: 1fr 1fr 1fr;
  }

  #ingredients li {
    padding-left: 20%;
    padding-right: 20%;
  }

  #ilast {
    grid-column-start: 1;
    grid-column-end: span 3;
  }
}