*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

#page-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 20px;
    width: 100vw;
    height: 100vh;
    background-image: url('../img/books.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.modal{
    display : none;
    background-color:  rgba(255, 255, 255, .1);
    border : 1px solid black;
    position : absolute;
    width : 50vw;
    height : 50vh;
    /* backdrop-filter: blur(20px); */
    background-color: whitesmoke;
    overflow: scroll;
    padding: 10px;
    /* font-family: 'Permanent Marker', cursive; */
    font-family: 'Gentium Book Basic', serif;
    font-size: 1vw;
    line-height: 1.5;
    border-radius : 10px;
}

.modal::-webkit-scrollbar {
    display: none;
}

.modal-close-btn{
    position: relative;
    width: 5%;
    left: 95%;
    margin-bottom: 3px;
    cursor: pointer;
}

.modal-close-img{
    width: 100%;
}

.modpara{
    background-color: #5F9EA0;
    border-radius: 10px;
    padding: 10px;
}

header h1{
    font-family: 'Permanent Marker', cursive;
    font-size: 10vw;
    color: whitesmoke;
    text-shadow: 5px 5px 5px black;
}

#results-container{
    display: none;
    width: 50%;
    height: 70%;
    overflow: scroll;
    border: 1px solid black;
    background-color: white;
    border-radius: 20px;
    margin-bottom: 10px;
    box-shadow: 0px 0px 10px black;
}

#results-container p{
    /* font-family: 'Permanent Marker', cursive; */
    font-family: 'Gentium Book Basic', serif;
    font-size: 1vw;
    padding: 10px;
    text-align: center;
}

#resContainer-close-btn{
    position: relative;
    width: 5%;
    left: 50%;
    margin-bottom: 3px;
    cursor: pointer;
}

#resContainer-close-img{
    width: 100%;
}

#results-container p:hover{
    cursor: pointer;
}

#results-container p:nth-child(odd) {
    background-color: white;
}

#results-container p:nth-child(odd):hover{
     background-color: rgb(156, 146, 146);
}
  
#results-container p:nth-child(even) {
    background-color: grey;
}

#results-container::-webkit-scrollbar {
    display: none;
}

#search-field{
    width: 30vw;
    height: 5vh;
    padding: 7px;
    font-size: 1vw;
    border-radius: 17px;
}

.errorMsg{
    background-color: red;
}

button{
    height: 5vh;
    width: 5vw;
    font-size: 1vw;
    border: none;
    border-style: outset;
    border-radius: 10px;
    background-color: orange;
    font-weight: bold;
    font-family: 'Gentium Book Basic', serif;
    cursor: pointer;
}





