html, body {
  /* min-height: 300vh; */
  margin:0;
  padding:0;
  /* font-family: 'Josefin Sans', sans-serif; */
  /* font-family: 'Roboto', sans-serif; */
  /* font-family: 'Source Serif Pro', serif; */
  font-family: 'Source Serif 4', serif;

  font-size: 18px;
}

img {
  display: block;
  width:100%;
  height:auto
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}


a {
  color:#517B7B;
  text-underline-position: under;
  transition: color 0.15s linear;
}

.text-link {
  color:#000;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus {
  color:#517B7B;
  text-decoration: underline;
}

hr {
  border:0;
  margin:40px 0;
  padding:0;
  height:1px;
  background-color: #517B7B;
}

.row {
  box-sizing: border-box;
  max-width: 720px;
  padding:0 16px;
  margin:0 auto;
}


/* //////////////////////////////////////////// HEADER */

.header {
  background-color: #517B7B;
  padding:20px 0 14px 0;
}

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

.header .row .menu-btn-container {
  margin-top: 8px;
}

.logo {
  max-width: 300px;
}

@media all and (max-width: 640px) { 
  .logo {
    max-width: 200px;
  }
}

/* //////////////////////////////////////////// CONTENT */

.main {
  padding-top:50px;
  padding-bottom: 60px;
  text-align: center;
}

.main p {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 1.5rem 0;
}

.main h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color:#517B7B;
  margin: 0 0 1rem 0;
}

.row-intro {
  padding-bottom:20px;
  display: flex;
}

.book-container {
  flex: 0 0 40%;
}

.book-cover {
  max-width: 270px;
  margin:0 auto 40px auto;
}

.content-container {
  flex:1;
  padding-left: 20px;
}

@media all and (max-width: 640px) { 
  .row-intro {
    display: block;
  }
  .main p {
    font-size: 1rem;
  }
  .content-container {
    padding-left: 0;
  }
}

.quote {
  background-color: #69775A;
  color:#fff;
  padding:2rem 60px 1rem 60px;
}

.block-quote {
  padding:3rem 40px 2rem 40px;
  font-family: 'Roboto', sans-serif;
}

.block-quote p {
  color:#517B7B;
  font-weight: 600;
}

.block-quote.alt p {
  color:#69775A;
}

.block-quote figcaption p {
  font-weight: 400;
  font-size: 1rem;
}


.biog-truncated {
  padding:2rem 40px 40px 40px;
}

/* AUDIO PLAYER */

.audio {
  background-color: #efefef;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  padding:16px;
  display: flex;
  align-items: center;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}

.audio:hover {
  text-decoration: underline;
}

.audio:focus {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

.audio:focus:not(:focus-visible) {
  outline: none;
}

.audio:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

.audio-img {
  flex: 0 0 40px;
  margin-right: 20px;
}

.audio-content {
  flex:1;
}

/* //////////////////////////////////// FOOTER */
.btn {
    font-style: normal;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    color:#fff;
    background-color: #517B7B;
    font-size: 1rem;
    line-height: 1.2em;  
    padding: .5rem 1rem;
    max-width: 100%;
    /**/
    border-radius: 5px;
    border:2px solid #517B7B;
    outline: none;
    /**/
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /**/
    cursor: pointer;
    /**/
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
    text-decoration: none;
}

.btn:hover {
  background-color: #fff;
  color:#517B7B;
}

.btn:focus {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

.btn:focus:not(:focus-visible) {
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

.btn.inv-btn {
  background-color: #fff;
  border-color: #fff;
  color:#517B7B;
}


/* //////////////////////////////////// FOOTER */

.footer-row {
  display: flex; 
  justify-content: space-between;
  align-items: center;
}

.footer-socials {
  list-style: none;
  margin:0;
  padding:0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-socials li {
  margin-left: 16px;
}

.footer-socials a {
  display: block;
}

.footer-socials img {
  display: block;
  width:100%;
  height: auto;
  max-width: 40px;
}

.footer {
  background-color: #517B7B;
  padding:10px 0;
  color:#fff;
  font-family: 'Roboto', sans-serif;
  text-align: center;
}

.footer p {
  font-weight: 700;
}

/* 
.footer p a {
  color:#fff;
  text-decoration: underline;
} */

.footer p.copy {
  font-size: 0.8rem;
  font-weight: 400;
}
