:root {
    --font-base: "DM Serif Display", serif;
    --font-alt: "DM Sans", sans-serif;

    --color-red: #f60002;
    --color-black: rgba(0, 0, 0, 0.938);
    --color-black-footer: #15232B;
    --color-white: #ffffff;
    --color-orange: #ed7f10;
    --color-blue: #59b9ff;
    --color-pearl-gray: #e7dfdf;
    --color-gray: #f6f6f6;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
}

/***** Bouton, titres et autres éléments ****/

.buttons {
    display: flex;
    gap: 2rem;

}

.more-Btn button {
    border-radius: 10px;
    display: inline-block;
    text-align: center;
    color: var(--color-white);
    font-weight: 600;
    padding: 10px 20px;
    background: red;
    transition: all .3s;
    -webkit-transition: all .3s;
    font-size: 1.5em;
    cursor: pointer;
    margin-bottom: 2rem;
}


.read-an-excerpt button {
    background-color: var(--color-red);
    border-radius: 8px;
    border-style: none;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: "Haas Grot Text R Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    line-height: 20px;
    list-style: none;
    margin-bottom: 2rem;
    outline: none;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
    transition: color 100ms;
    vertical-align: baseline;
}

h2 {
    text-align: center;
    font-size: 2em;
    color: var(--color-black);
    font-weight: bold;
}

h3 {
    text-align: center;
    font-size: 1.9rem;
    color: var(--color-black);
    font-weight: bold;
}

/***** Select ********/


/* form{
    display: flex;
    justify-content: center;
    width: 60%;
    text-align: center;
    flex-wrap: nowrap;
   
}
.selectForm{
   display: block;
   margin: 0 auto;

} */

form{
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

select , .validate{
    border-radius: 5px;
}

.validate
{
    border: 1px solid var(--color-black);
    background: var(--color-blue);
    height: 50px;
    width: 60px;
}


/***** Fin Bouton, titres et autres éléments ****/

.more-Btn button:hover {
    background: var(--color-black);
    transition: 0.4s ease-in-out;
}

/***** Header *****/

header{
    display: flex;
    background-color: var(--color-black);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}


.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    padding: 20px 0;
}

li a {
    color: var(--color-white);
    font-size: 1.3rem;
}



.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    display: none;
    opacity: 0;
    transition: 0.4s ease-in-out;
}

li.dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: column;
    opacity: 1;
    background: var(--color-black);
    transition: 0.4s ease-in-out;
    width: 180px;
}

.dropdown-content li a {
    color: var(--color-white);
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: 0.4s ease-in-out;
}

.dropdown-content li a:hover {
    background-color: var(--color-white);
    color: #333;
    margin-top: 2rem;
    width: 180px;
}


.menu-btn {
    display: none;
}


.navbar-smallscreen_links {
    list-style: none;
    text-align: center;
}

.navbar-smallscreen_links li {
    margin: 20px 0;
}

.navbar-smallscreen_links a {
    color: white;
    text-decoration: none;
    font-size: 24px;
}

.overlay__close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.navbar-smallscreen {
    display: none;
    border: 1px solid red;
    color: blue;
}

.navbar-smallscreen_overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.navbar-smallscreen_links {
    list-style: none;
    text-align: center;
}

.navbar-smallscreen_links li {
    margin: 20px 0;
}

.navbar-smallscreen_links a {
    color: white;
    text-decoration: none;
    font-size: 24px;
}

.overlay__close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

/* .search-container{
    max-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
} */

/* .search-container:focus-within {
    flex-grow: 1;
}

.search-container:focus-within #searchInpBox {
    width: 100%;
}

#searchInpBox{
    width: 0;
    transition: width 0.5s;
} */

/* .search{
    display: flex;
    flex-direction: column;
}




.search-menu-content{
    margin-top: 15rem;
} */



.fa-magnifying-glass {
    color: var(--color-white);
    font-size: 20px;

}


.search-menu-content{
    position: absolute;
    left: 0;
    right: 0;
    display: none;
    z-index: 10;
    box-shadow: 0 4px 6px rgb(0, 0, 0, 0.1);
    padding: 64px 0;
    max-height: calc(100vh - 104px);
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-menu-content.active{
    display: block;
    opacity: 1;
    background: var(--color-white);
    overflow: hidden;
    height: 10px;
}

.search-menu-container{
    display: flex;
    justify-content: center;
    transition: all .5s ease-in-out;
}

.search-container-input
{
   width: 100%;
   display: flex;
   justify-content: center;
   gap: 2rem;
}

#searchInpBox{
    border-radius: 5px;
}


/***** Fin Navbar *****/


/**** Responsive ****/

@media screen and (max-width: 1380px) {
    .planning-content {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .must-read-content, .manga-content {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: var(--color-black);
        transition: 0.5s all ease;
        align-items: center;
        transform: translateX(-100%);
        padding-top: 60px;
        z-index: 99;
        /* display: none; */
    }

    .nav-links.toggle {
        transform: translateX(0px);
        display: flex;
        transition: 1.5s all ease-in-out;
    } 

    .nav-links li a {
        margin-bottom: 10px;
        display: block;
    }

    .navbar-smallscreen {
        display: block;
    }

    .search{
        display: none;
    }


    .menu-btn {
        display: block;
        position: absolute;
        color: var(--color-white);
        top: 10px;
        right: 30px;
        font-size: 2rem;
    }

    .planning-content {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .must-read-content {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .manga-content {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .single-product-content {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .single-product-down {
        max-width: 100%;
    }

    .resume {
        margin-top: 2rem;
        text-align: center;
        font-size: 1.1rem;
        padding: 0 2rem;
        max-width: 100%;
    }

    .result-content {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .footer-links li {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

}

/**** Fin Responsive Navbar ****/


/********************* Dashboard Admin *************************/

.admin-dashboard-title{
    text-align: center;
    font-weight: bold;
    margin-bottom: 15rem;
    font-size: 1.8rem;
}


.admin-dashboard{
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.buttons{
    display: flex;
    justify-content: center;
}

.btn-create
{
    background-color: #0f24dd;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-top: 5rem;
    margin: auto;
    font-size: 16px;
}

.mangaka-list, .mangas-list{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 15rem;
}

.mangaka-card, .mangas-card
{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    width: auto;
    margin: 15px;
}


.mangaka-name, .mangas-name{
    display: flex;
    justify-content: center;
    font-size: 1.6rem;
}

.mangaka-actions, .mangas-actions{
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 2rem;
}

.btn-add{
    background-color: #04AA6D;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.btn-delete{
    background-color: #eb0606;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}


/********************* Fin Dashboard Admin *************************/

/*** Page d'accueil ***/

/*** Main ***/
#main-page
{
    margin-bottom: 15rem;
}

/***Sections ***/

/*** planning-of-the-week *****/
.planning-of-the-week {
    margin-top: 5rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    max-width: 100%;

}


.planning-content {
    display: flex;
    justify-content: center;
    gap: 5rem;
    padding: 5rem;
    max-width: 100%;

}

.planning-content .cards {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
 
}

.cards-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    width: 80%;
    margin-top: 2rem;
    text-align: center;
    gap: 2rem;
}

.card-date {
    color: var(--color-blue);
    text-align: center;
    margin-top: 2rem;
    font-weight: bold;
}


.manga-section{
    margin-top: 3rem;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.manga-content{
    display: flex;
    justify-content: center;
    gap: 5rem;
    padding: 5rem;
    max-width: 100%;
        
}

/*** Fin de la section planning de la semaine *****/

/*** Fin de la page d'accueil *****/


/*** section planning toutes les sorties du mois  *****/

.product-title {
    margin-bottom: 3rem;
}



/*** Fin de la section planning *****/



/**** Section incontournables *****/

.must-read-mangas {
    margin-top: 3rem;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.must-read-content {
    display: flex;
    justify-content: center;
    gap: 5rem;
    padding: 5rem;
    max-width: 100%;

}



/**** Fin Section incontournables *****/


/**** Section évènement *****/

.manga-events {
    margin-top: 5rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    background: var(--color-white);
    margin-bottom: 5rem;
}

/**** Fin  Section évènement *****/



/********************* Fin des Sections *************************/

/***  Page tous les mangas  ****/

.product {
    margin-top: 5rem;
    margin-bottom: 5rem;
    /*flex-wrap: wrap;*/
    /*display: flex;*/
    /* display: flex;
    flex-direction: column;
    justify-content: center; */
}

.page-intro{
    text-align: center;
    margin-bottom: 5rem;

}

.product-content {
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: start;
    justify-content: center;
    padding: 20px;
}


.cards {
    position: relative;
    width: calc(20% - 42px);
    padding: 20px;
    border: 1px solid #000000;
    border-radius: 5px;
    margin: 10px;
    height: 444px;
    width: auto;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.card {
    height: 413px;
    width: 227px;
}

.card img {
    height: 306px;
    width: 215px;
}

.card-title {
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
    font-size: 1.1em;
    line-height: 1.3em;
    padding: 0 10px;
    min-height: 40px;
}

.moreBtn {
    visibility: hidden;
    background: var(--color-white);
    height: 120px;
    width: 120px;
    position: absolute;
    top: -160px;
    z-index: 10;

}

.moreBtn:hover {
    visibility: visible;
}

.pagination{
    background: red;
    
}


/*** Fin Page tous les mangas  ****/

/***  Page un seul manga  ****/

.single-product-page {
    margin-top: 2rem;
    margin-bottom: 2rem;

}

.single-product-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.single-product-content {
    display: flex;
    max-width: 1200px;
    justify-content: center;
    margin: 0 auto;
    padding-top: 2rem;
    gap: 2rem;
    border-radius: 5px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px,
        rgba(17, 17, 26, 0.05) 0px 8px 32px;
    background: #fffdfd;
    margin-bottom: 2rem;
}

.single-product-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-info-left li {
    color: var(--color-black);
    font-weight: bold;
    width: 100%;
}

.product-info-right li {
    color: var(--color-red);
    font-weight: bold;
}

.product-img {
    padding: 2rem;
}

.product-img img{
    width: 392px;
    object-fit: cover;
    max-height: 557px;
}

.buy-btn button {
    background-color: var(--color-red);
    border-radius: 8px;
    border-style: none;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: "Haas Grot Text R Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    line-height: 20px;
    list-style: none;
    margin-bottom: 2rem;
    outline: none;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
    vertical-align: baseline;

}

.product-resume {
    text-align: justify;
    padding: 15px 0;
    line-height: 1.5em;
    font-size: 1.1em;
    max-width: 50%;
}

.single-product-right {
    max-width: 100%; 
     /* margin-left: 7rem; */
    width: calc(50% - 22px);
}

.product-info-details {
    margin-top: 2rem;
    padding: 0 1rem;
    display: flex;
    gap: 3rem;
}

.product-info-left .p {
    gap: 2rem;
}

.product-info-left,
.product-info-right {
    font-size: 1rem;
    line-height: 1.6;
}

.product-info-left ul li {
    font-size: 1.1em;
    font-weight: 700;
}

.product-info-right ul li {
    font-size: 1.1em;

}

.single-product-down {
    display: flex;
    justify-content: center;
    border-radius: 5px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
    background: #f6f6f6;
    margin: 0 auto;
    width: 1205px;
    margin-bottom: 15rem;
}

.product-resume {
    font-size: 1.2rem;
    line-height: 1.8;
    word-spacing: 1px;
}

.single-product-more-volumes {
    display: flex;
    max-width: 1200px;
    justify-content: center;
    margin: 0 auto;
    padding-top: 2rem;
    gap: 2rem;
    border-radius: 5px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px,
        rgba(17, 17, 26, 0.05) 0px 8px 32px;
    background: #fffdfd;
    margin-bottom: 5rem;
}

aside{
    flex: 0 15 25%;
}


/* .single-product-title{
    font-weight: 700;
    font-size: 2.2em;
    color: #000;
    text-align: center;
    margin: 25px 10px 15px;
}

.product{
    display: flex;
    justify-content: center;
}

.product-img img{
    max-height: 557px;
} */

/*** Fin Page un seul mangas  ****/


/***  Page qu'est-ce qu'un manga  ****/

.page-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;

}

.container-page{
     margin-bottom: 5rem;
}

.page-title, .text {
    text-align: justify;
    margin-top: 2rem;
}



/***  Fin page qu'est-ce qu' un manga  ****/


/***  Page resultats  ****/

.result-content {
    display: flex;
    justify-content: center;
     flex-wrap: wrap;
}

/*** Fin Page resultats  ****/

/***  Footer  ****/


.footer-content {
    background: var(--color-black-footer);
    height: 80px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content li a {
    align-items: center;
    display: flex;
    justify-content: center;
}

.footer-links li {
    display: flex;
    gap: 5rem;
}