@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@1,700&family=Merriweather:wght@400;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Newsreader:wght@300&display=swap');
*{
    position:relative;
}
h4{
    font-family: 'Roboto Slab', serif; 
}
body{
  word-break: break-word; 
  background: url("../imgs/background.jpg") !important;
  background-repeat: repeat;
  color: #31363a;
  font-family: 'Roboto Slab', serif; 
}
.custom-bg{
    background: url("../imgs/header-background.jpg");
    width: auto;
}
.Book{
    background-color: #F5EDF0;
    width: 20%;
    overflow: hidden;
    border-radius: 20px;
    flex: 1 1 20%;
    flex-grow: revert;
    margin: 50px;
    font-size: large;

}
.Books{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: center;
    align-items: stretch;
}
.audioBadge{
    width: 50%;
    background-color: yellow;
    color: black;
    font-family: sans-serif;
    font-weight: bolder;
    border-radius: 30px;
    padding: 10px;
    border-width: 0px;
    transform: background-color 0.7s ease;
    -webkit-transition: background-color 0.7s ease-out;
    -moz-transition: background-color 0.7s ease-out;
    -o-transition: background-color 0.7s ease-out;
    transition: background-color 0.7s ease-out;
}
.audioBadge:hover{
    background-color: rgb(255, 160, 36);
    cursor: pointer;
}
a{
    color: black;
    text-decoration: none;
}
.bookSection{
    background-color: #faf9fd;
    width: 90%;
    border-radius: 20px;
    margin: 5%;
}
.hiddenBook{
    visibility: hidden;
}
.textBook{
    padding: 10px;
    margin: 5px;
    font-family: 'Merriweather', serif;
    font-weight: 400;
}

.BookTitlese{
    padding-top: 20px;
    text-align: center !important;
}
.bookImg{
    margin: 0px;
    width: 100%;
    overflow: hidden;
    opacity:1;                                                                                                         
    transition: filter 1s ease-in-out;
}
.bookImg:hover{
    cursor: pointer;
    zoom: 2;
    filter: sepia(100%) contrast(100%) brightness(90%);
}

@media (max-width: 768px) {
    .Books {
      flex-direction: column;
    }
    .Book{
        margin: 15% !important;
        width: 70%;
    }
    .bookImg{
        opacity:1;
    }
    .hiddenBook{
        position: absolute;
    }
  }

@media(max-width: 1400px){
    .Book{
        margin: 90px;
    }
}
@media(max-width: 1200px){
    .Book{
        margin: 80px;
    }
}
@media(max-width: 1000px){
    .Book{
        margin: 70px;
    }
}
@media(max-width: 800px){
    .Book{
        margin: 60px;
    
    }
    #audImg{
        width: 100%;
    }
    .special{
        float: none;
        width: 87% !important;
        font-size: medium !important;
    }
    
}
footer{
    min-height: 100%;
    margin-bottom: -50px;
    background-color: black;
    color: white;
    font-family: 'Newsreader', serif;
    font-weight: 500;
}
.special{
    float: right;
    width: 70%;
    height: 200px;
    font-size: x-large;
    margin: 22px;
    padding: 10px;
    background: antiquewhite;
    border-radius: 10px;
}

audio{
    width: 100%;
}
footer p{
    padding: 10px;
}