body {
    background-color: #F8F8F8; 
    font-family: 'Slabo 27px', serif ;
    color: #ACA8A8;
}

/* Header */ 

.main-header {
    margin-top: 30px; 
}

header .container {
    margin: 0 auto; 
    max-width: 1200px; 
    height: 100px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center; 
    background-image: url("../img/worn_dots.png")
}

.heading {
    font-size: 40px;
}

/* Search Form */

form {
    height: 25px; 
    display: flex;
    justify-content: space-between;
    width: 380px; 
}

nav .container {
    margin: 0 auto; 
    max-width: 1200px; 
    display: flex;
    justify-content: center;
    flex-direction: row; 
    background-image: url("../img/worn_dots.png");
    height: 120px;
    
}

nav .container input {
    line-height: 23px; 
    font: 18px Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    border: 2px solid #F8F8F8;;
    padding: 12px;
    width: 300px;
    margin-bottom: 20px;
    font-size: 18px;
    outline: none;
}



.btn {
    background: #D35068;
    color: #fff;
    border-radius: 5px;
    padding: 2px 7px;
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
    transition: 0.4s all;
    border: 1px solid #D35068;
}

.btn:hover {
    border:1px solid #D35068;
    background: #fff;
    color: #D35068;
}

.btn:focus {
    outline: 0; 
}



/* Main Section */

.message {
    margin-top: -40px;
}

.main-section-results .container {
    margin: 0 auto; 
    max-width: 1200px;
    display: flex;
    flex-direction: row; 
    flex-wrap: wrap; 
    justify-content: center; 
    background-image: url("../img/worn_dots.png");
    min-height: 490px; 

}

.book-content {
    display: flex; 
    justify-content: center;
    flex-direction: column;
    align-items: center; 
    width: 160px;
    height: 440px; 
    padding-left: 70px;
    padding-right: 70px; 
    margin-bottom: 40px; 
}

.book-content img {
    width: 160px; 
    height: 240px;
    filter: drop-shadow(5px 5px 5px rgba(110, 110, 110, 0.41));
    opacity: 1;
    transition: opacity 0.3s;
}

.book-content a {
    text-transform: uppercase;
    font-size: 10px; 
    text-decoration: none; 
    padding-top: 17px; 
    color: #D35068; 
    margin-bottom: 10px; 
}

.book-content a:after {
	content: '';
    left: 0;
    display: inline-block;
    height: 1em;
    width: 100%;
    border-bottom: 1px solid;
    margin-top: 5px;
    margin-bottom: 5px; 
    opacity: 0;
	-webkit-transition: opacity 0.55s, -webkit-transform 0.55s;
	transition: opacity 0.55s, transform 0.55s;
	-webkit-transform: scale(0,1);
	transform: scale(0,1);
}

.book-content a:hover:after {
    opacity: 0.5;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.book-title {
    font-size: 14px;
    text-align: center;
    width: 160px;
    height: 50px; 
    vertical-align: middle;
}


.book-author {
    color: #222;
    width: 160px;
    height: 60px; 
    text-align: center;
    font-size: 12px;
    position: relative; 
    font-weight: bold; 
    margin-bottom: 5px; 
}

.buttons-container {
    display: flex;
    flex-direction: row;
    flex-grow: 0; 
    margin: 0 auto; 
    max-width: 1200px;
    display: flex;
    flex-direction: row; 
    flex-wrap: wrap; 
    justify-content: center; 
    background-image: url("../img/worn_dots.png");

}

.counter {
   display: none; 
}

img[data-src] {
    opacity: 0;
  }