.display {
	background: url('../images/glass-bg.jpg') repeat;
}

h1 {
    position: relative;
    box-shadow: 0em 1em 1em 1px #acc9d7;
    margin: 0px auto;
    display: block;
    text-align: center;
    color: #1c2964;
    font-size: x-large;
	font-weight: 500;
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
    background: #f7f8f3;
    padding: 14px 0px;
  }
  h1 span {
    position: relative;
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
    text-shadow: 0px 0px 1px #000000;
  }
  
  #library{
    color: #1c2964;
  }

  .book-category{
    color: white;
    box-shadow: 0px -5px 3px 0px rgba(170, 170, 170, 0.2), 0px 15px 20px 0px rgb(0 0 0 / 70%), 0px 5px 5px 0px rgba(119, 119, 119, 0.3);
    text-transform: uppercase;
    font-size: 2rem;
  }

  h1:after {
    content: "";
    border-bottom: 1px solid #f7f8f3;
    border-top: 1px solid #f7f8f3;
    background: #f7f8f3;
    display: block;
    width: 100%;
    height: 0.2em;
    position: absolute;
    bottom: 0.1em;
  }

  h1:before {
    content: "";
    color: rgba(93, 150, 176, 0.3);
    border-top: 0.3em solid;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    display: block;
    width: 90%;
    height: 0;
    background: transparent;
    position: absolute;
    bottom: -0.35em;
    perspective: 300;
    transform-style: preserve-3d;
    transform: rotateX(20deg);
  }
  
.bookshelf {
    width: 100%;
    margin: 5rem auto;
    text-align: center;
    position: relative;
  }
  
  .book-grid {
    z-index: 2;
    position: relative;
    -webkit-transform: translateY(-15px);
            transform: translateY(-15px);
  }
  .book-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .book-grid ul li {
    justify-self: center;
  }
  .book-grid ul img {
    display: block;
	width: auto;
    height: 120px;
  }
@media screen and (max-width: 992px) {
  .book-grid ul img {
	display: block;
	width: auto;
    height: 100px;
  }
}
@media only screen and (max-width: 480px) {
  .book-grid ul img {
	display: block;
	width: auto;
    height: 50px;
  }
}
  
  .shelf-shadows {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1rem;
    border-radius: 2px;
    z-index: 1;
    box-shadow: 0px -5px 3px 0px rgba(170, 170, 170, 0.2), 0px 15px 20px 0px rgb(0 0 0 / 70%), 0px 5px 5px 0px rgba(119, 119, 119, 0.3);
  }
  
  .shelf {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1rem;
    background-color: #acc9d7;
    border-radius: 2px;
    z-index: 3;
  }

