@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Serif:400,400i,600&display=swap');

hr{
  color: #1f1f1f;
  background-color: #1f1f1f;
  border: 0;
  height: 1px;
}

img{
  max-width: 100%;
}

body.nightMode hr{
  color: #eee;
  background-color: #eee;
}

body{
  padding: 0;
  font-size: 13px;
  font-family: 'IBM Plex Serif', serif;
  background-color: #9da9f6;
  color: #1f1f1f;
}

body.nightMode{
  color: #eee;
  background-color: #191919;
}

a, a:visited{
  color: #000;
  text-decoration: underline;
}

a:hover{
  text-decoration: underline;
}

.content{
  margin: 5em 20vw;
}

.content p{
  text-align: justify;
}

.content h1, .content h2, .content h3{
  text-align: center;
  font-size: 1em;
  font-weight: bold;
}

.content h1{
  text-transform: uppercase;
}

.content h2{
  font-weight: normal;
  font-style: italic;
  margin-bottom: 3em;
  text-transform: uppercase;
}

.content h3{
  font-weight: normal;
  text-align: left;
  font-style: italic;
  margin-top: 3em;
}

.bio{
  margin: 4em 0;
  padding: 4em 0;
  border-top: 1px solid;
  word-wrap: break-word;
    overflow-wrap: break-word;
  -webkit-hyphens: auto;
     -moz-hyphens: auto;
          hyphens: auto;
}

.content .quote{
  padding: 1em 3em;
}

#bulb{
  position: absolute;
  top: 1em;
  left: 1em;
  font-size: 1.5em;
}

#bulb:hover{
  cursor: pointer;
}

#backbtn{
  display: block;
  position: absolute;
  top: 1em;
  right: 1em;
  font-size: 1.5em;
}

.back{
  /* position: fixed;
  bottom: 1em;
  right: 1em; */
  display: none;
}

body.nightMode a, body.nightMode a:visited{
  color: inherit;
}

.page{
    margin: 5em 20vw;
}

.pageText{
  min-height: 50vh;
}

.bookTitle{
  text-align: right;
  margin-bottom: 4em;
}

.bookTitle h1{
  font-weight: normal;
  font-size: 1.5em;
}

.bookTitle h2{
  font-weight: normal;
  font-style: italic;
  font-size: 1.2em;
}

.bookBtns{
  display: flex;
  justify-content: space-around;
  margin: 5em 3em;
}

.bookBtns a, .bookBtns a:visited, .bookBtns a:hover{
  text-decoration: none;
}



@media only screen and (max-device-width: 480px) {

  html, body{
    margin: 0;
    padding: 0;
    font-size: 16px;
  }

  .content{
    margin: 6em 1em 0em 1em;
  }

  .content .quote{
    padding: 1em;
  }

  .content h1{
    margin-top: 0;
  }

  #bulb{
    font-size: 1.2em;
  }

  #backbtn{
    display: block;
    position: absolute;
    top: 1em;
    right: 1em;
    font-size: 1.2em;
  }

  .back{
    position: relative;
    text-align: right;
  }

.bio{
    margin: 4em 0 1em 0;
  }

  .page{
    margin: 0 1em;
  }

  .bookBtns{
    justify-content: space-between;
  }

  .bookTitle h2{
    font-size: 1em;
  }

}
