/* 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: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */

@font-face {
  font-display: swap;
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/libre-baskerville-v14-latin-regular.woff"),
      url("fonts/libre-baskerville-v14-latin-regular.woff2");
}

@font-face {
  font-display: swap;
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  src: url("fonts/libre-baskerville-v14-latin-italic.woff"),
      url("fonts/libre-baskerville-v14-latin-italic.woff2");
}

@font-face {
  font-display: swap;
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/libre-baskerville-v14-latin-700.woff"),
      url("fonts/libre-baskerville-v14-latin-700.woff2");
}

@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/roboto-v30-latin-regular.woff"),
      url("fonts/roboto-v30-latin-regular.woff2");
}

@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: italic;
  font-weight: 400;
  src: url("fonts/roboto-v30-latin-italic.woff"),
      url("fonts/roboto-v30-latin-italic.woff2");
}

@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/roboto-v30-latin-700.woff"),
      url("fonts/roboto-v30-latin-700.woff2");
}

html {
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  background: #D68306;
}

body {
  margin: 0 auto;
  max-width: 1250px;
}

header {
  font-family: "Libre Baskerville", serif;
  background-image: url("images/pad-thai-7.jpg");
  background-size: cover;
  height: 600px;
  display: grid;
  grid-template-columns: 11rem 1fr;
  grid-template-rows: 4rem 1fr;
}

h1 {
  font-size: 2rem;
  color: whitesmoke;
  background-color: #FAE102;
  color: #D68306;
  border: dotted;
  grid-column: 1/2;
  grid-row: 1/2;
  text-align: center;
  padding-top: 3px;
}

h1, h2 {
  font-weight: bold;
}

.overview div {
  text-align: right;
}

.overview aside {
  float: right;
}

.instructions img, figcaption {
  display: none;
}

section {
  background: burlywood;
  padding: 1rem;
  margin: 1rem;
  border-radius: 5px;

}

.about ul, .ingredients ul {
  padding-left: 1rem;
}

.instructions ol {
  padding-left: 1rem;
  padding-right: 1rem;
}

img {
  width: 100%;
}

footer {
  border-top: double;
  border-color: black;
  margin: 0 auto;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 75% 1fr;
  grid-template-rows: 1fr 70% 1fr;
}

footer div {
  background: burlywood;
  grid-column: 2/3;
  grid-row: 2/3;
}

a {
  color: #D68306;
}

@media (min-width: 600px) {

  .grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(20, 5%);
  }

  .about {
    grid-row: 1/2;
    grid-column: 1/2;
  }

  .overview {
    grid-row: 1/6;
    grid-column: 2/2;
  }

  .ingredients {
    grid-row: 2/6;
    grid-column: 1/2;
  }

  .instructions {
    grid-row: 6/20;
    grid-column: 1/3;
  }

  footer {
    display: grid;
    grid-template-columns: 1fr 87% 1fr;
    grid-template-rows: 1fr 70% 1fr;
}

  footer div {
    grid-column: 2/3;
    grid-row: 2/3;
}

} 
/*end 600px formatting*/

@media (min-width: 900px) {


  header {
    grid-template-rows: 8rem 1fr;
  }

  h1 {
    font-size: 2.5rem;
    grid-row: 1/2;
  }

  body {
    font-size: 18px;
  }

  .instructions img, figcaption {
  display: block;
  }

  footer {
    display: grid;
    grid-template-columns: 1fr 70% 1fr;
    grid-template-rows: 1fr 70% 1fr;
  }

  footer div {
    grid-column: 2/3;
    grid-row: 2/3;
  }

}
/*end 900px formatting*/


@media (min-width: 1200px) {

  header {
    grid-template-rows: 10rem 1fr;
  }

  h1 {
    font-size: 3rem;
    grid-row: 1/2;
  }

  body {
    font-size: 20px;
  }

}
/*end 1200px formatting*/
