body {
  padding: 0;
  margin: 0;
  background-color: #001351;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left center;
  min-height: 100vh;
}

.texture {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  min-height: 100vh;
  background-image: url('../images/patterns/leather.png');
}

/* Grow */
.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  transition-duration: 0.3s;
  transition-property: transform;
}

.hvr-grow:hover,
.hvr-grow:focus,
.hvr-grow:active {
  transform: scale(1.1);
}

.background {
  display: block;
  position: absolute;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.books-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  margin: 25px;
  width: 100vw;
}

.books-container > div {
  background-color: #f1f1f1;
  width: 286px;
  height: 242px;
  margin: 25px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.book-image {
  width: 286px;
  height: 242px;
}

.vol-overlay {
  width: 286px;
  height: 242px;
  top: 0px;
  position: absolute;
  text-align: center;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
}

.vol-title {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 40px;
}

.hvr-grow:hover .vol-overlay {
  opacity: 1;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.book-title-portrait {
  display: none;
  color: #fac35e;
  text-shadow: 0px 2px 0px rgba(255, 255, 255, 0.3),
    0px -2px 0px rgba(0, 0, 0, 0.7);
}

.book-title {
  color: #fac35e;
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3),
    0px -1px 0px rgba(0, 0, 0, 0.7);
}

.book-title h1 {
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  text-align: center;
  font-weight: 400;
  letter-spacing: 2px;
  margin: 22px;
}

.book-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 3px;
  margin: 40px;
}

.book-title h2 span {
  font-size: 32px;
}

/* Mobile layout */

@media only screen and (min-width: 320px) and (max-width: 812px) {
  .book-title {
    display: none;
  }

  .book-title-portrait {
    display: block;
  }

  .book-title-portrait h1 {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    text-align: center;
    font-weight: 400;
    letter-spacing: 2px;
    margin: 22px;
  }

  .book-title-portrait h2 {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 3px;
    margin: 25px 40px 0px 40px;
  }

  .book-title-portrait h2 span {
    font-size: 20px;
  }
}

@media (orientation: portrait) {
}
