/* CSS Document */
html, body {
  padding: 0;
  margin: 0;
  font-family: "Figtree", sans-serif;
  text-align: center;
  color: #5d5d5d;
}
a {
  text-decoration: none;
}
main a {
  color: #6ea4af;
  transition: color .3s;
}
main a:hover, main a:active, main a:focus {
  color: #000;
}
#container {
  width: 90%;
  max-width: 1180px;
  margin: auto;
  text-align: left;
}
header {
  color: #5e5148;
  font-size: 14px;
  display: block;
  margin: 30px 5%;
  position:relative;
}
header nav {
  margin-top: 30px;
  text-align: center;
  max-height:0;
  overflow: hidden;
  transition:max-height .3s; border-right:3px solid #5E5148;
   padding-right:15px;
}
header nav.expanded{max-height:200px;border-right:3px solid #5E5148;}
header nav a {
  font-family: "Montserrat", "Figtree", sans-serif;
  color: #5e5148;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .3s;
  font-weight: 500;
  letter-spacing: .3px;
  display: block;
   margin:0;
   text-align:right;
}
header nav a:hover, header nav a:active, header nav a:focus {
  color: #6ea4af;
}
.about a.about, .author a.author, .activist a.activist, .blog a.blog, .screenwriter a.screenwriter, .educator a.educator {
  color: #6ea4af
}
h1, h2, h3 {
  font-family: "Montserrat", "Figtree", sans-serif;
  text-align: center;
  font-size: 21px;
  text-transform: uppercase;
  margin: 0 0 36px 0;
  letter-spacing: .5px;
}
h2 {
  margin: 70px 0 6px 0;
  text-transform: none;
}
h3 {
  font-style: italic;
  font-size: 15px;
  margin: 60px 0 30px 0;
  text-transform: none;
}
.attribution {
  font-style: italic;
}
p {
  margin-top: 0;
}
.books {
  margin: 60px 0;
}
.book {
  text-align: justify;
  text-align-last: center;
}
.book img {
  width: 100%;
  max-width: 390px;
  max-height: 900px;
}
.articles p {
  margin-bottom: 7px;
  font-size: 20px;
}
.articles h2 {
  margin-bottom: 30px;
}
.books div {
  width: 50%;
  text-align: center;
}
.books div.buttons {
  width: 100%;
  text-align: center;
}
.button {
  display: block;
  border: 2px solid #6ea4af;
  width: 70px;
  text-align: center;
  margin: auto;
  font-size: 18px;
  font-weight: 600;
  transition: border-color .3s, color .3s;
  cursor: pointer;
}
.button:hover {
  border-color: #000;
  color: #000;
}
main {
  margin: auto;
  font-size: 15px;
  line-height: 180%;
  padding: 0 5%;
  position: relative;
}
main img {
  display: block;
  text-align: center;
  margin: 0 auto 64px;
  max-height: 390px;
  width: auto;
  height: auto;
  max-width: 100%;
}
.eaImages{display:flex;column-gap:20px;justify-content: space-between;}
.eaImages img{max-width:calc(50% - 10px);}
.about main img {}
footer {
  text-align: center;
  font-size: 12px;
  margin: 150px 0;
   line-height:150%;
}
footer a {
  color: #5d5d5d;
   transition:color .3s;
}
footer a:hover{color:#000;}
#social{margin-top:10px;}
#social img {
  width: 24px;
  height: 24px;
  display: inline-block;
  margin: 0 2px;
   opacity:0.8;
   transition:opacity .3s;
}
#social img:hover{opacity:1;}
.blogPost {
  padding-bottom: 100px;
  margin-bottom: 150px;
  position: relative;
}
.blogPost::after {
  content: "";
  height: 1px;
  font-size: 0;
  background: #b3b4b3;
  width: 100%;
  max-width: 700px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
/* .blogPost:last-of-type {
  padding-bottom: 0;
}
.blogPost:last-of-type::after {
  width: 0;
} */
.review {
  text-align: justify;
  text-align-last: center;
}
header .logo {
  max-width: 380px;
   text-align: left;
   width: 84%;
}
header .logo img {
  max-width: 380px;
}
header .logo .widesite {
  display: none;
}
header nav a {
  padding: 4px 0;
}
.mobile-menu{
    position: absolute;
    top: 13px;
    right: 0;
}
.blurb {
  font-weight: 600;
  font-style: italic;
}
.attribution {
  font-style: italic;
}
.popup {
  opacity: 0;
  pointer-events: none;
  background: #ffffff;
  position: fixed;
  height: 100vh;
  width: 100%;
  text-align: center;
  transition: opacity 1s;
  top: 0;
  left: 0;
  overflow-y: scroll;
   z-index:1;
   box-sizing:border-box;
   padding-bottom:150px;
}
.return {
  display:block;
   text-align: center;
}
.close {
  display: none;
}
.popup .close {
  display: block;
   font-size:24px;
   font-weight:600;
   padding:80px;
   text-align:center;
}
.popup.active {
  background: #ffffff;
  opacity: 1;
  pointer-events: all;
  transition: opacity 1s;
   z-index:100;
}
.popup main {
  width: 90%;
  max-width: 1180px;
}
@media screen and (min-width:850px) {
#container {
  text-align: justify;
}
  header .logo {
    margin: 0;
    margin: auto;
  }
  header .logo .widesite {
    display: inherit;
  }
  header .logo .narrowsite {
    display: none;
  }
  header {
    height: 236px;
    display: flex;
    align-items: center;
    margin: 0 0 30px 0;
    column-gap: 30px;
  }
   header nav,header nav.expanded{}
   header nav a{
   margin-right:-80px;
      text-align:left;
   }
  header .logo {
    width: 380px;
     margin:0;
  }
   .mobile-menu{display:none;}
  header nav, header nav.expanded {
   border-right:none;
    display: block;
    column-count: 2;
    text-align: left;
    margin: 0;
    padding: 0 0 10px 0;
     height:auto;
     max-height:unset;
     overflow: visible;
  }
  main {
    padding: 0 70px;
  }
.books div.buttons {
  width: 75%;
  text-align:inherit;
   margin:auto;
}
}
@media screen and (min-width:1200px) {
.books div.buttons {
  width: 50%;
  text-align:inherit;
   margin:auto;
}
  header nav, header nav.expanded {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 390px);
  }
  header nav a {
    font-family: "Montserrat", "Figtree", sans-serif;
    color: #5e5148;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .3s;
    font-weight: 500;
    letter-spacing: .3px;
    display: block;
    padding: 4px 0 10px 0;
     margin-right:0;
  }
}