*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
    /*
    fonts
    font-family: 'Outfit', sans-serif;
    font-family: 'Playfair Display', serif;
    font-family: 'Unica One', cursive;
    */
}
:root{
    --neutral-dark: #1F1F1F;
    --neutral-light: #F3F3F3;
    --black: #121212;
    --primary: #2c0d72;
    --secondary: #263159;
    --secondary-flat: #50577A;
}
/*
::-webkit-scrollbar{
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
 
  ::-webkit-scrollbar-thumb {
    background: #888;
  }
  
 
  ::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
  }
*/


body{
    background-color: var(--neutral-dark);
    position: relative;
    overflow-x: hidden;
}
.container{
    max-width: 980px;
    margin: auto;
}


/*Header*/
header{
    background-color: var(--primary);
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    padding: 20px 10px;
    
}
.navLogo{
    width: 150px;
    filter: invert(100%);
}
.menuBtn{
    font-size: 35px;
    color: #fff;
    cursor: pointer;
}

/* Menu Display */
.menuBg{
    background-color: rgba(41, 41, 41, 0.719);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    display: none;
}
.menuBgClose{
    display: block;
}
.menuClose{
    width: 100%;
    text-align: end;
    margin-top: -10px;
   /*  position: fixed;
    top: 20px;
    right: 20px; */
}
.menuCloseIcon{
    color: #fff;
    font-size: 25px;
    padding: 10px 12px;
    cursor: pointer;
}
.menuDisplay{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 10px;
    padding: 30px 20px;
    background-color: var(--neutral-dark);
    width: 0px;
    position: fixed;
    top: 0;
    right: -100px;
    height: 100%;
    overflow: auto;
    overflow-x: hidden;
    z-index: 5;
    transition: 0.5s;
}
.menuDisplayOpened{
    width: 320px;
    right: 0;
    transition: 0.5s;
}

.menuDisplay::-webkit-scrollbar{
    width: 10px;
}
.menuDisplay::-webkit-scrollbar-track {
    background: #aaa;
}
.menuDisplay::-webkit-scrollbar-thumb {
    background: #555;
}
.menuDisplay::-webkit-scrollbar-thumb:hover {
    background: #333;
}


.menuLink{
    display: block;
    background-color: #2c0d72;
    color: #fff;
    padding: 10px 5px;
    font-size: 18px;
    text-decoration: none;
    width: 210px;
    text-align: center;
}



/*    Books Page Css     */
.bookContainer{
    padding: 10px;
}
.bookGrid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    justify-content: center;
    align-items: start;
    gap: 10px;
}
.bookCoverContainer{
    background-color: var(--black);
    padding: 20px;
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 15px;
    margin: 10px auto;
}
.bookCover{
    max-height: 400px;
}
.bookReview{
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    
}
.starsContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.bookInfos{
    color: #fff;
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 10px;
    text-align: justify;
    hyphens: auto;
}
.moreBtn{
    display: block;
    text-decoration: none;
    color: #fff;
    background-color: var(--black);
    width: fit-content;
    padding: 10px 35px;
    margin: 15px 0;
    border-left: solid 5px var(--secondary);
    transition: 0.4s;
}
.moreBtn:hover{
    background-color: var(--primary);
}




/*Footer*/
footer{
    background-color: var(--primary);
}
.footerContainer{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 10px;
    gap: 10px;
}
.footerLogo{
    color: #fff;
    font-size: 14px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: justify;
}
.footerLogoImg{
    filter: invert(100%);
    width: 200px;
}
.footerCategory{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0 20px;
}
.footerLink{
    display: block;
    text-decoration: none;
    color: #fff;
    background-color: var(--neutral-dark);
    padding: 7px 10px;
    width: 100%;
    text-align: center;
    font-size: 14px;
}
.footerLink:hover{
    background-color: var(--secondary);
}
.copyright{
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    font-size: 15px;
}
.copyright a{
    text-decoration: none;
    color: #fff;
}

/* More Books Section */
.moreBooksSection{
    background-color: #50577A;
    padding: 40px 0;
}
.sectionTitle{
    font-family: 'Unica One', cursive;
    padding: 0 10px 5px 10px;
    font-size: 30px;
    text-align: center;
    color: #fff;
    width: fit-content;
    margin: auto;
    margin-bottom: 5px;
    border-bottom: solid 4px #fff;
}
.moreBooksContainer{
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    gap: 10px;
}
.moreBooksContainer a{
    text-decoration: none;
}
.mainBooksCard{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    color: #fff;
    background-color: var(--black);
    padding: 20px 10px;
    border-radius: 15px;
    height: 100%;
    transition: 0.5s;
}
.mainBooksCover{
    width: 90%;
    margin-bottom: 10px;
}
.mainBooksTitle {
    font-weight: 700;
    text-align: center;
}
.mainBooksAuthor{
    font-weight: 300;
    text-align: center;
}
.mainBooksCard:hover{
    margin-top: -8px;
    margin-bottom: 8px;
}


/* Cookies Icon */
.cookiesIcon{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: fixed;
    bottom: 20px;
    left: 10px;
}
.cookiesIcon i{
    color: #fff;
    font-size: 25px;
    cursor: pointer;
    border-radius: 50%;
    padding: 14px 15px;
    background-color: #380c9e;
}
.cookiesBox{
    display: none;
}
.cookiesBoxOpen{
    display: block;
}
.cookiesInfo{
    background-color: #ccc;
    padding: 20px 10px;
    border-radius: 20px;
    max-width: 300px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
}
.cookiesInfo i{
    font-size: 15px;
    padding: 9px 10px;
}




@media (max-width: 980px) {
    .container{
        width: 100%;
    }
    nav{
        padding: 20px 30px;
    }
    .moreBtn{
        margin: 15px auto;
    }
    /*
    ::-webkit-scrollbar{
        width: 5px;
    }*/
}
@media (max-width: 670px) {
    .bookGrid{
        grid-template-columns: 1fr;
    }
    .moreBooksContainer{
        grid-template-columns: 1fr 1fr;
    }
    /*
    ::-webkit-scrollbar{
        width: 0px;
    }*/
    .bookInfos h2{
        text-align: center;
        width: 100%;
    }
    .footerContainer{
        flex-direction: column;
        gap: 20px;
    }
    .footerLogo{
        text-align: center;
    }
    .copyright{
        padding-bottom: 70px;
    }
}
@media (max-width: 330px) {
    .sectionTitle{
        border: none;
    }
}



