body {
  margin: 0;
  padding: 0;
  font-family: helvetica;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#main-content {
  display: none;
}

#main-content.show {
  display: block;
}

.book-cover-container {
  width: 100%;
  margin: 20px auto;
}

.review-extract {
  margin: 20px 0 0;
  width: 100%;
}
.review-extract:hover {
  transition: .5s;
  text-shadow: 1px 1px 18px rgba(0,0,0,0.3);
}

.book-cover {
  /*
    Aspect ratio box for retaining background-image ratio: https://css-tricks.com/aspect-ratio-boxes/
    Cover is *nearly* 4:6
  */
  height: 0;
  padding-top: 149%;
  background-image: url(/assets/kill-redacted.jpg);
  background-color: #d4d4d4;
  background-size: contain;
  transition: box-shadow .25s;
  box-shadow: 8px 8px 55px rgba(0,0,0,0.2);
}

.book-cover:hover {
  opacity: 0.9;
  box-shadow: none;
}

.headshot {
  min-height: 100vh;
  background-image: url(/assets/headshot.jpg);
  background-size: cover;
  background-position: center;
  color: white;
}

h2.title {
  font-size: 46px;
  margin: 25px 0;
}

.press-links {
  margin: 35px 0;
}

.headshot .section-column {
  margin-bottom: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.title {
  font-family: Helvetica, sans-serif;
  font-size: 60px;
  margin: 0;
  padding: 0;
  margin: 75px 0 0;
  line-height: 50px;
}

.left {
  text-align: left;
}

.release-date {
  font-family: Helvetica, sans-serif;
  color: #818080;
  margin: 12px;
  font-size: 28px;
}

.thin {
  font-weight: 100;
}

.content-container {
  font-family: 'Source Serif Pro', 'Times New Roman', Times, serif;
  margin: 20px 30px;
  font-size: 18px;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.quotes {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

a {
  color: black;
  text-decoration: none;
}

.menu {
  display: flex;
  justify-content: center;
  margin: 25px 0;
}

.retailer-icon {
  background-color: white;
  height: 60px;
  width: 60px;
  margin: 0 5px;
  overflow: hidden;
  border: 2px solid black;
  border-radius: 60px;
  transition: .3s;
}

.retailer-icon:hover {
  box-shadow: 8px 8px 55px rgba(0,0,0,0.2);
  filter: invert(1);
}

.retailer-icon img {
  filter: grayscale(1) contrast(1);
  width: 40px;
}

.waterstones-icon {
  margin-top: 18px;
}

.amazon-icon {
  margin-top: 12px;
}

.foyles-icon {
  margin-top: 11px;
}

.show-lg {
  display: none;
}

.section-column {
  text-align: justify;
  max-width: 530px;
  margin: 120px auto;
}

.padded-sides {
  padding-left: 25px;
  padding-right: 25px;
}

.fill-out {
  margin-left: -25px;
  margin-right: -25px;
}

#synopsis .redacted {
  background-color: black;
}

.press ul {
  list-style-type: none;
  padding-left: 0;
}

.press li {
  margin-bottom: 5px;
}

.press li span {
  font-style: italic;
}

.press a:hover {
  text-decoration: underline;
}

.shadow {
  text-shadow: 1px 1px 5px rgba(0,0,0,0.2);
}

@media (min-width: 500px) {
  .hero-content .book-cover-container {
    width: 50%;
  }

  .headshot {
    width: 100vw;
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: left;
    color: black;
  }

  .headshot .section-column {
    margin-left: 50%;
    justify-content: center;
  }
}

@media (min-width: 900px) {
  .hide-lg {
    display: none;
  }

  .show-lg {
    display: initial;
  }

  .hero-content {
    flex-direction: column;
    flex-direction: row-reverse;
  }

  .hero-content .book-cover-container {
    width: 50%;
    text-align: left;
    max-width: 360px;
  }

  .hero-content .quotes {
    width: 50%;
  }

  .section-column {
    margin: 150px auto;
  }
}

/* DARK MODE */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #0c0c0c;
    color: white;
  }

  .book-cover {
    box-shadow: 8px 8px 500px rgba(129, 128, 128, 0.5);
  }

  a {
    color: #dedbdb;
  }

  .retailer-icon {
    border-color: white;
    background-color: black;
  }

  .retailer-icon img {
    filter: grayscale(1) contrast(1) invert(1);
  }

  #synopsis .redacted {
    background-color: white;
  }

  .shadow {
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.5);
  }

  .headshot {
    color: white;
  }
}
