
/*basic css styling */

#container {
    width: 95%;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Garamond", "Times New Roman", serif;
    font-weight: 400;
    color: teal;
}

h1 {
    font-size: 2em;
    margin-top: 0.5em;
}

h2 {
    font-size: 1.5em;
    margin-bottom: 0.8em;
}

p {
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 1em;
    margin-bottom: 0.8em;
}

nav ul li {
    display: block;

    border-top: 1px #79896d solid;
}

nav a {
    color: #f8ecc2;
    display: block;
    text-decoration: none;
    padding: 20px 30px;
}


aside p {
    font-size: 0.8em;
    line-height: 1.2em;
}

nav ul {
    display: none;
}

.menu-trigger {
    display: block;
    font-size: 1.75em;
    width: 2em;
}



.caption {
    font-size: 0.7em;
    text-align: right;
    margin-top: 0;
    font-style: italic;
}

.byline {
    font-family: "Merriweather Sans", Helvetica, Arial, sans-serif;
    font-size: 0.7em;
    margin-top: 0.5em;
    margin-bottom: 0;
    line-height: normal;
}

.dateline {
    font-family: "Merriweather Sans", Helvetica, Arial, sans-serif;
    font-size: 0.7em;
    color: #aaa;
    margin: 0;
    line-height: normal;
}

.pullquote {
  font-family: "Merriweather Sans", Helvetica, Arial, sans-serif;
  font-size: 1.25em;
  font-style: italic;
  line-height: 1.25;
}

nav ul {
    padding: 0;
    margin: 0;
}

nav ul li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* nav ul li a {
    font-family: "Garamond", "Times New Roman", Times, serif;
    text-decoration: none;
    background-color: teal;
    color: white;
    margin-bottom: 1em;
} */

nav a {
  text-decoration:none;
  margin:0;
  list-style-type: none;
  color:white;
  font-family: "Garamond", "Times New Roman", Times, serif;
  background-color: teal;
  font-weight: bold;
  text-align: center;
  padding: 4px;
  display: flex;
  flex-flow: column;
}

.title {
    margin-top: 1.5em;
    margin-bottom: 0.7em;
    border-bottom: 1px solid #ccc;
}

.logo {
    border-radius: 5%;
    margin-left: 0.5em;
    height: 3em;
}


footer {
    border-top: 1px solid #ccc;
}

footer p {
    font-size: 0.8em;
}

a {
    color: #000;
}

a:hover {
    color: #bd5532;
}


/*more advanced stuff below */

.title {
  display: flex;
  justify-content: space-between;
}

nav ul {
  display: flex;
  flex-flow: column;
}



.pullquote {
  display: none;
}


article {
  margin-bottom: 0.7em;
  border-bottom: 1px solid #ccc;
}

article:last-of-type {
  border-bottom: none;
}

@media screen and (max-width: 450px) {
  nav ul {
    display: none;
  }

}

@media screen and (min-width: 450px) {

nav ul {
  flex-flow: row;
  justify-content: space-between;
  }

}

@media screen and (min-width: 450px){

    nav ul {
        display: flex;
    }

    nav ul li {
        border-top: none;
    }

    .menu-trigger {
        display: none;
    }

    header h1 {
        order: 1;
    }

    nav {
        order: 2;
        background-color: teal;
    }

}


@media screen and (min-width: 800px) {


  #container {
    width: 80%;
  }


.item1 {
margin-right: auto;
}

nav ul li {
margin: 5px;
}

.pullquote {
  display: block;
}

}

@media screen and (min-width: 1000px) {

  article {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    grid-gap: 20px;
    grid-template-areas:
    "a b b"
    "c c e"
    "f d d";
  }



  .section1 {
    grid-area: b;
  }

  .image {
    grid-area: c;
  }

  .section2 {
    grid-area: d;
  }

  .section3 {
    grid-area:f;
  }

  .pullquote {
    grid-area: e;
    margin-top: 0;
  }

}

@media screen and (min-width: 1200px) {

  article {
    display: grid;
    grid-template-columns: 200px 1fr 1fr 1fr;
    grid-gap: 20px;
    grid-template-areas:
    "a b b ."
    "c c c e"
    ". d d .";
  }


}
