






#section_epoque{
    width: 100%;
    margin-top: 5%;
    background-color: #578984;
}
#text_under_epoque{
    width: 60%;
}
#titre_section_epoque{
    margin-left: 2%;
    padding-top: 2%;
}
#titre_section_epoque .text{
    width: 60%;
}
.border_bottom{
    border-bottom: 1px solid rgba(255, 255, 255, 0.247);
    width: fit-content;
}
#livres_selection{
    width: 80%;
    display: grid; /* Active la grille CSS */
    grid-template-columns: repeat(4, 1fr); /* Crée 3 colonnes de taille égale */
    grid-gap: 10px; /* Espace entre les éléments */
    padding: 10px; /* Padding pour le conteneur */
    margin-top: 3%;
    margin-left: 10%;
    padding-bottom: 8%;
}
.item {
    padding: 10px; /* Espace intérieur */
    color: white; /* Couleur du texte */
    text-align: center; /* Centrer le texte */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.ancre_begin{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.livre_img_home{
    width: 55%;
    height: auto;
    transition: transform 0.5s ease;
    cursor: pointer;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
}
.titre_epo{
    margin-top: 5%;
}











@media (min-height: 650px) {
    .livre_img_home{
        width: 63%;
    }
}

@media (max-width:1280px) and (min-height: 850px) {
    .livre_img_home{
        width: 75%;
    }
}
@media (max-width: 1024px) {
    .livre_img_home{
        width: 75%;
    }
}
@media (max-width: 850px) {
    .livre_img_home{
        width: 100%;
    }
}
@media (max-width: 700px) {
    .livre_img_home{
        width: 80%;
        padding: 3%;
    }
    .livre_img{
        width: 40%!important;
    }
    #text_under_epoque{
        width: 100%;
        margin-top: 5%;
    }
    #section_epoque{
        padding-top: 10%;
        padding-bottom: 8%;
    }
    #livres_selection{
        width: 100%;
        margin-left: 0;
        margin-top: 3%;
        padding-top: 5%;
    }
    .item{
        padding: 0;
    }
    #section_epoque{
        padding: 3%;
        padding-top: 5%;
    }
    .titre_epo{
        margin-top: 8%;
    }
    #sous_nav{
        margin-top: 35%!important;
        width: 80%;
        margin-left: 10%;
    }
}

@media (max-width: 500px) {
    .livre_img_home{
        width: 100%;
        padding: 3%;
    }
    #sous_nav{
        border-bottom: none!important;
        margin-top: 40%!important;
    }
}