@import url(https://fonts.googleapis.com/css?family=Quicksand:400,500,700);
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Quicksand, sans-serif;
  font-weight: 500;
  box-sizing: border-box;
}

.grid {
  display: grid;
  grid-template-areas: "header" "nav" "article" "ads" "footer";
  grid-template-rows: 100px 100px 1fr 150px 70px;
  grid-template-columns: 1fr;
  grid-row-gap: 5px;
  grid-column-gap: 5px;
}

.custom-restricted-width {
  /* The menu spans the entire width of the container */
  display: 100%;
}

.pure-menu-children {
  left: 0;
  top: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.pure-menu-heading {
  background-color: #18a800;
  color: #ffffff;
  padding: .5em;
  text-decoration: underline;
}

ul.pure-menu-list {
  display: flex;
  flex-flow: row nowrap;
}

#siteAds ul {
  color: #ffffff;
  background-color: #18a800;
}

#siteAds a:hover {
  color: #000000;
  background-color: #eeeeee;
}

a, #siteAds a, h2, span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.underline {
  color: #fbffff;
  font-weight: 700;
  text-decoration: underline;
  margin-bottom: 1rem;
}

header, footer, article, nav, div#siteAds {
  padding: 20px;
}

#pageHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-area: header;
  background-color: #2ECC71;
  color: #000000;
}

#pageFooter {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-area: footer;
  background-color: #2ECC71;
  color: #000000;
}

#mainArticle {
  grid-area: article;
  background-color: #226411;
  color: #ffffff;
}

#mainArticle>div.upper {
  display: grid;
  grid-template-columns: 1fr;
  padding: 30px 40px 0 40px;
}

#mainArticle>div.lower {
  padding: 0 40px;
}

#mainArticle>div.upper>div.right {
  padding: 30px 0 0 0;
}

#mainNav {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-area: nav;
  background-color: #228811;
}

#siteAds {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-area: ads;
  background-color: #228811;
}

h1 {
  margin: 0;
  padding: 0;
}

p {
  line-height: 1.65;
  margin: 10px 0;
}

i.right {
  margin-right: 10px;
}

i.left {
  margin-left: 10px;
}

a:link {
  color: #ffffff;
  margin: 0;
  padding: 10px;
}

a:visited {
  color: #ffffff;
}

a:hover {
  color: #000000;
}

ul.pure-menu-children a.pure-menu-link {
  color: #000000;
}

.main {
  width: auto;
  max-width: 100%;
  height: auto;
  color: #000000;
  background-color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.bottom {
  margin-bottom: 30px;
}

.large {
  font-size: 1.1rem;
  font-style: italic;
}

blockquote {
  display: block;
  background: #fff;
  padding: 15px 20px 15px 45px;
  margin: 0 0 20px;
  position: relative;
  /*Font*/
  font-family: Georgia, serif;
  /* font-size: 1.5rem; */
  line-height: 1.2;
  color: #000000;
  /*Box Shadow - (Optional)*/
  -moz-box-shadow: 2px 2px 15px #ccc;
  -webkit-box-shadow: 2px 2px 15px #ccc;
  box-shadow: 2px 2px 15px #ccc;
  /*Borders - (Optional)*/
  border-left-style: solid;
  border-left-width: 15px;
  border-right-style: solid;
  border-right-width: 2px;
}

blockquote::before {
  content: "\201C";
  /*Unicode for Left Double Quote*/
  /*Font*/
  font-family: Georgia, serif;
  font-size: 60px;
  font-weight: bold;
  color: #999;
  /*Positioning*/
  position: absolute;
  left: 10px;
  top: 5px;
}

blockquote::after {
  /*Reset to make sure*/
  content: "";
}

blockquote a {
  text-decoration: none;
  background: #eee;
  cursor: pointer;
  padding: 0 3px;
  color: #c76c0c;
}

blockquote a:hover {
  color: #666;
}

blockquote em {
  font-style: italic;
}

/*Sunflower Color Palette*/

blockquote.sunflower {
  border-left-color: #ffcd69;
  border-right-color: #f6ba59;
}

/* Widen the layout on larger devices/viewports. */

@media all and (min-width: 800px) {
  .grid {
    grid-template-areas: "header header header" "nav article ads" "footer footer footer";
    grid-template-rows: 100px 1fr 70px;
    grid-template-columns: 1fr 4fr 1fr;
  }
  ul.pure-menu-list {
    flex-direction: column;
  }
  #mainNav {
    align-items: flex-start;
  }
  #siteAds {
    align-items: flex-start;
  }
}

@media all and (min-width: 1200px) {
  #mainArticle>div.upper {
    grid-template-columns: 1fr 1fr;
  }
  #mainArticle>div.upper>div.right {
    padding: 0 0 0 30px;
  }
  #mainArticle>div.upper {
    padding: 30px 40px;
  }
}

html {
  font-size: 16px;
}

@media screen and (min-width: 320px) {
  html {
    font-size: calc(16px + 4 * ((100vw - 320px) / 680));
  }
}

@media screen and (min-width: 1000px) {
  html {
    font-size: 20px;
  }
}

h1 {
  font-size: 25px;
}

@media screen and (min-width: 320px) {
  h1 {
    font-size: calc(25px + 10 * ((100vw - 320px) / 680));
  }
}

@media screen and (min-width: 1000px) {
  h1 {
    font-size: 35px;
  }
}
