/*   Effect sur la page d'accueil   */

*/ .container [class*="reveal-"] {
    opacity: 0;
    transform: translateY(30px);
}
.container .reveal-visible {
    opacity: 1;
    transform: translateY(0);
    transition: 1s cubic-bezier(0.59, 0.01, 0.43, 1);
}
.reveal-1 {
    transition-delay: 0.1s;
}
.reveal-2 {
    transition-delay: 0.2s;
}
.reveal-3 {
    transition-delay: 0.3s;
}

hr {
    margin-top: 2em;
}
section {
    text-align: center;
    align-items: center;
    align-content: center;
    margin-top: 2em;
}
.imgbooks {
    height: 10em;
    border: 1px solid;
    transition: transform 0.3s;
}

.container {
    margin-top: 5em;
}

.imgbooks:hover {
    box-shadow: 0px 0px 20px 2px #00000080;
    transform: scale(110%);
}
.books {
    display: inline-block;
    padding-inline: 12px;
    text-align: center;
    border-radius: 10px;
    /* transition-delay: s; */
}

.nb-book {
    text-align: center;
}

.btn a {
    text-decoration: none;
    color: rgb(0, 0, 0);
}

.bouton {
    padding: 10px 20px;
    border: 0px;
    background-color: rgb(209, 209, 209);
    transition: background-color 1s;
}
.bouton:hover {
    background-color: rgb(184, 4, 4);
    color: white;
}
.image i {
    font-size: 10px;
}

.mod {
    position: relative;
    width: 100%;
    height: 90vh;
    margin-top: 0;
    background: rgb(239, 250, 252);
    background: linear-gradient(
        180deg,
        rgba(239, 250, 252, 1) 76%,
        rgba(255, 255, 255, 1) 100%
    );
}
.main-section {
    width: 75%;
    height: 90vh;
    display: inline-flex;
    position: relative;
    top: 60px;
    align-items: center;
    justify-content: space-around;
}
.main-section h1 {
    text-align: justify;
    font-size: 8em;
    color: #000000;
    font-weight: bold;
    font-style: italic;
    font-family: Georgia, "Times New Roman", Times, serif;
}
.main-section h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 300 bold;
    color: rgb(0, 0, 0);
}
.main-section .d-flex {
    position: relative;
    top: 30px;
}
.main-section p {
    /* text-align: justify; */
}
.main-section img {
    width: 560px;
    height: auto;
}
.pub {
    text-align: center;
    display: grid;
    justify-content: center;
    align-items: center;
}
.pub h1 {
    text-align: center;
}
.pub button a {
    color: #1982a8;
    text-decoration: none;
}
.pub button {
    padding: 15px 35px;
    border: 0px;
    border-radius: 10px;
    background-color: #effafc;
    border: 1px solid #1982a8;
}
.pub button:hover {
    background-color: #1982a8;
}
.pub button:hover a {
    color: #effafc;
}
.img-h img {
    position: relative;
    top: 30px;
    height: 30em;
    width: 32em;
    left: 70px;
}
.justify-content-center hr {
    width: 10em;
}
.service {
    width: 100%;
    height: auto;
    margin-top: 0px;
    padding-top: 150px;
}

.service .service-box {
    width: 95%;
    margin: 200px auto;
    margin-bottom: -40px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.service .service-box .service-card {
    text-align: center;
    width: 310px;
    height: auto;
    /* box-shadow: 0 0 8px; */
    padding: 15px 10px;
}

.service .service-box .service-card img {
    color: rgb(35, 103, 109);
    height: 45px;
    width: 45px;
    margin-bottom: 15px;
    cursor: pointer;
}

.service .service-box .service-card h3 {
    margin-bottom: 10px;
}

.featured_books {
    width: 100%;
    height: 80vh;
    padding: 70px 0;
    padding: 0;
}
.featured_books h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 45px;
}
.featured_books .featured_books-box {
    width: 60%;
    height: 60vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    overflow: hidden;
    overflow-x: scroll;
}

.featured_books .featured_books-box .featured_books-card {
    /* width: 250px;
    height: 350px; */
    text-align: center;
    padding: 5px;
    /* border: 1px solid rgb(19, 18, 69); */
    margin: auto 5px;
}

.featured_books
    .featured_books-box
    .featured_books-card
    .featured_books_img
    img {
    width: 125px;
    border: 1px solid;
}
.featured_books
    .featured_books-box
    .featured_books-card
    .featured_books_tag
    h2 {
    margin: 4px;
    font-size: 20px;
}
.featured_books
    .featured_books-box
    .featured_books-card
    .featured_books_tag
    .writer {
    color: #023843;
    margin-bottom: 0;
}
.featured_books
    .featured_books-box
    .featured_books-card
    .featured_books_tag
    .categorie {
    color: rgb(16, 120, 120);
    margin-top: 0px;
}
.featured_books
    .featured_books-box
    .featured_books-card
    .featured_books_tag
    .book_price {
    margin-top: 4px;
    font-weight: bold;
    margin-bottom: 15px;
}
.featured_books
    .featured_books-box
    .featured_books-card
    .featured_books_tag
    .f_btn {
    position: relative;
    right: 0px;
    padding: 15px 70px;
    border: 1px solid #1982a8;
    border-radius: 10px;
    background-color: #effafc;
    text-decoration: none;
    color: #1982a8;
}
.featured_books
    .featured_books-box
    .featured_books-card
    .featured_books_tag
    .f_btn:hover {
    background-color: #1982a8;
    border: 1px solid #1982a8;
    color: #effafc;
}

.cat_header {
    text-align: center;
    padding: 20px 0;
}

.genre {
    width: 100%;
    margin-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 150px;
    background: #fff8e4;
}
.cat_header h2 {
    font-size: 38px;
    padding-bottom: 14px;
    color: rgb(0, 0, 0);
}
.cat_books .books {
    height: auto;
    color: rgb(0, 0, 0);
    padding: 20px 30px;
    position: relative;
    text-align: center;
    justify-content: center;
}

.cat_books .books .books-img {
    background-color: rgb(255, 255, 255);
    padding: 18px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    text-align: center;
    color: rgb(0, 0, 0);

    /* position: relative;
    left: 35%; */
}
.cat_books .books img {
    /* width: 100%; */
    height: 50px;
}
.cat_books .books p {
    font-size: 12px;
    text-align: center;
    justify-content: center;
}

.section_books {
    display: flex;
    justify-content: space-around;
    text-align: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.section_books2 {
    display: flex;
    justify-content: space-around;
    text-align: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.more a {
    padding: 15px 35px;
    border: 1px solid #1982a8;
    border-radius: 10px;
    background-color: #effafc;
    text-decoration: none;
    color: #1982a8;
}
.more a:hover {
    background-color: #1982a8;
    border: 1px solid #1982a8;
    color: #effafc;
}

.service .service-box .categorie-card {
    text-align: center;
    width: 310px;
    height: auto;
    /* box-shadow: 0 0 8px; */
    padding: 15px 10px;
}

.service .service-box .categorie-card img {
    color: rgb(116, 116, 116);
    height: 40px;
    width: 40px;
    margin-bottom: 15px;
    cursor: pointer;
}

.service .service-box .categorie-card h3 {
    margin-bottom: 10px;
    font-size: 15px;
}
.service .service-box .categorie-card a {
    text-decoration: none;
    color: grey;
}
.service .service-box .categorie-card a:hover {
    text-decoration: underline;
}

.books-page {
    display: flex;
}
.books-page h1 {
    text-align: left;
}
.books-page a {
    /* position:absolute; */
    width: 150%;
    bottom: 6cm;
}

.col-md-3 .pt-0 {
    background-color: #618b93;
}

.viewbooks_img img {
    height: 250px;
    width: 200px;
}
.viewbooks_card {
    display: flex;
    text-align: left;
    border-bottom: 1px solid;
    padding-right: 5px;
}
.featured_books_tag {
    padding-left: 10px;
}

.listen li {
    text-align: left;
    list-style: none;
}
.listen li h1 a {
    color: black;
    font-weight: bold;
}
.listen ul a {
    color: black;
    text-decoration: none;
}
.listen ul a:hover {
    color: black;
    text-decoration: underline;
}

input[type="checkbox"] {
    background-color: #1d2a57;
}
.newsletter {
    width: 100%;
    background-color: #080110df;
    height: 100px;
    text-align: center;
    padding-bottom: 15px;
}
.newsletter h2 {
    font-size: 20px;
    color: #ffffff;
    padding-top: 20px;
}

.newsletter button {
    font-size: 16px;
    background-color: white;
    border: 0;
    border-radius: 5px;
    height: 35px;
    width: 100px;
    transform: translatey(-15px);
}
.newsletter button:hover {
    border: 1px solid #1d2a57;
    background-color: #ffe8a7;
    color: #1d2a57;
}

footer {
    bottom: 0%;
    /* justify-content: center; */
}
.footer-p {
    align-items: center;
    background-color: #effafc;
    padding-inline: 30px;
    place-content: center;
}
footer div > * {
    font-size: 16px;
    list-style: none;
}
footer div li {
    text-align: left;
    font-size: 15px;
}
#f-img img {
    height: 30px;
    filter: grayscale(100%);
    margin: 5px 10px;
}
#f-img img:hover {
    filter: none;
}

/*--Panier--*/

.img-p img {
    width: 125px;
    border: 1px solid;
    margin-right: 10px;
}

.detail-p img {
    height: 30px;
    cursor: pointer;
}
.btn-p button {
    position: relative;
    left: 90%;
    width: 110px;
    height: 40px;
    border: 0px solid;
    border-radius: 5px;
    background-color: #1982a8;
    color: white;
}
.btn-p button:hover {
    background: #02012c;
}
.form-p input {
    padding: 0;
    width: 50px;
    background: #effafc;
}
.p-action .d-flex {
    width: 90%;
}
.btn-p2 button {
    border: 1px solid #1982a8;
    height: 40px;
}
.btn-p2 button:hover {
    border: 1px solid #1982a8;
}
.btn-c2 {
    background: #1982a8;
    height: 40px;
    width: 200px;
    border: 0px;
    color: white;
    border-radius: 4px;
}
.btn-c2:hover {
    background: #02012c;
}

.grid {
    overflow: hidden;
    overflow-x: scroll;
}
.grid::-webkit-scrollbar {
    display: none;
}
.grid-edit::-webkit-scrollbar {
    background: #fe0808;
}
.grid::-webkit-scrollbar-track {
    display: none;
}
.grid-img img {
    height: 280px;
    margin: 10px;
    border: 1px solid;
    z-index: 2;
}

.grid-edit {
    width: 85%;
    margin: 0 auto;
    display: grid;
    justify-content: center;
    align-content: center;
    grid-template-columns: auto;
}
#scrollBare-left {
    position: relative;
    left: 40px;
}
#scrollBare-right {
    position: relative;
    right: 40px;
}
.feacture_books {
    margin-top: 100px;
    margin-bottom: 100px;
}
.feacture_books button {
    margin-top: 100px;
    margin-bottom: 100px;
    background-color: white;
    border: 0px;
    font-size: 25px;
    padding: 0 10px;
}

.feacture_books button:hover {
    border: 1px solid;
}
.feacture_books h1 {
    text-align: right;
    width: 22%;
    font-style: italic;
    font-size: 35px;
    /* text-decoration: underline 5px; */
}
.feacture_detail a {
    position: relative;
    top: 10px;
    right: 80px;
    text-decoration: none;
    color: #000000;
}

.feacture img {
    height: 280px;
}
.col-md-5 .ms-5 .mt-3 .border {
    width: 500px;
}
.setion-books {
    display: flex;
}
.homebook {
    width: 72%;
    padding-top: 20px;
    padding-right: 10px;
    transform: translateX(400px) translateY(50px);
}
.homebook-image img {
    margin-bottom: 20px;
    border: 1px solid;
}
.homebook-img {
    text-align: left;
    padding-left: 10px;
}
.homebook-img img {
    position: relative;
    bottom: 2px;
    height: 14px;
}
.homebook-image button {
    padding: 10px;
    border: 0px;
    border-radius: 3px;
    color: #1c2850;
    border: 1px solid #1c2850;
    background-color: #ffffff;
}
.homebook-image button:hover {
    color: #ffffff;
    background-color: #1c2850;
}
.homebook-tri {
    display: flex;
    position: relative;
    bottom: 50px;
}
.item-books-list {
    margin-bottom: 3em;
    margin-left: 10px;
}
.tri {
    position: relative;
    left: 645px;
    bottom: 30px;
}
.tri select {
    padding: 12px;
    margin-left: 5px;
    border: 0px;
    border-radius: 5px;
}
.tab-content {
    padding-right: 100px;
}
.item-filter {
    display: none;
}
.list-bannier {
    position: absolute;
    width: 20%;
    padding-top: 20px;
    transform: translateX(50px) translateY(-25em);
}
.star img {
    position: relative;
    bottom: 2px;
    height: 20px;
    padding-inline-start: 0px;
    display: inline-flex;
}
.star {
    width: 200px;
}
.star-control {
    display: block;
}
.pagination {
    position: relative;
    top: 30px;
}

.item-modal-filter-recent {
    display: none;
}

.item-modal-filter {
    display: none;
}

.btn-filter {
    width: 100%;
    transform: translateY(57px);
    height: 30px;
}
