*{
    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;
    z-index: 5;
}


/* 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;
}


/*Video Hero*/
.heroVideo{
    height: 400px ;
    position: relative;
    overflow: hidden;
    /* background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: top; */
}
.videoBg{
    min-height: inherit;
    width: 100%;
    position: absolute;
    width: 100%;
    margin-top: -60px;  
}
.heroText{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: inherit;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
}
.heroTextTitle{
    font-size: 50px;
    margin-bottom: 10px;
    text-shadow: 6px 5px 1px var(--black);
    color: #fff;
}
.heroTextDescription{
    font-size: 18px;
    color: #fff;
}



/* /*Hero Section*/
.heroSection{
    background-image: url('./img/background.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 400px;
    display: none;
}
.heroSectionOpacity{
    background-color: rgba(0, 0, 0, 0.6);
    min-height: inherit;
    display: flex;
    text-align: center;
    color: #fff;
    padding: 10px;
}

.heroTitle{
    font-size: 50px;
    margin-bottom: 10px;
    text-shadow: 6px 5px 1px var(--black);
}
.heroDescription{
    font-size: 18px;
} */


/*Main Suggestions Section*/
.mainSuggestion{
    padding: 30px 10px;
}
.mainSuggestionTitle{
    color: #fff;
    font-weight: 400;
    background-color: var(--black);
    padding: 10px 15px;
    border-left: solid 5px var(--secondary);
    width: fit-content;
    margin-bottom: 20px;
    margin-top: 20px;
}
.mainBooksGrid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    gap: 10px;
}
.mainBooksGrid 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;
}
.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);
}
.extraCard{
    display: none;
}


/*Category Section*/
.categorySection{
    background-color: var(--secondary-flat);
}
.categoryContainer{
    padding: 10px;
}
.categoryContainer a{
    text-decoration: none;
}
.sectionTitle{
    font-family: 'Unica One', cursive;
    padding: 20px;
    font-size: 30px;
    text-align: center;
    color: #fff;
    width: fit-content;
    margin: auto;

}
.categoryGrid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    gap: 5px;
}
.categoryGrid a{
    text-decoration: none;
}
.categorySectionDark{
    padding-top: 20px;
}


.mainBooksCard:hover{
    margin-top: -8px;
    margin-bottom: 8px;
}


/*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;
}

/* 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;
}


/* Banner Template */
.bannerTemplate{
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #222;
    background-color: #4b4b4b;
    color: #fff;
    position: fixed;
    bottom: 10px;
    right: 0;
    left: 0;
    margin: 0 10px;
    border-radius: 10px;
    z-index: 100;
}
.templateText{
    text-align: center;
    font-size: 14px;
}
.templateBtn{
    display: block;
    text-decoration: none;
    color: #000;
    background-color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 13px;
}


@media (max-width: 980px) {
    .container{
        width: 100%;
    }
    nav{
        padding: 20px 30px;
    }
    .mainBooksGrid{
        grid-template-columns: repeat(3, 1fr);
    }
    .moreBtn{
        margin: 15px auto;
    }
    .extraCard{
        display: flex;
    }
    .videoBg{
        height: 130%;
        width: auto;
        margin-top: 0;  
    }
    /*
    ::-webkit-scrollbar{
        width: 5px;
    }*/
}
@media (max-width: 670px) {
    .mainBooksGrid{
        grid-template-columns: repeat(2, 1fr);
    }
    .mainBooksTitle{
        font-size: 14px;
    }
    .mainBooksAuthor{
        font-size: 13px;
    }
    .heroTitle{
        font-size: 40px;
    }
    .heroTextTitle{
        font-size: 40px;
    }
    .extraCard{
        display: none;
    }
    .categoryGrid{
        grid-template-columns: repeat(2, 1fr);
    }
    .videoBg{
        height: 100%;
        width: auto;
        margin-top: 0;  
    }
    /*
    ::-webkit-scrollbar{
        width: 0px;
    }
    */
    .footerContainer{
        flex-direction: column;
        gap: 20px;
    }
    .footerLogo{
        text-align: center;
    }
    .copyright{
        padding-bottom: 70px;
    }
}
@media (max-width: 330px) {
    .mainSuggestionTitle{
        font-size: 22px;
    }
}



