.img-center {
    max-width: 80%;
    height: auto;
}

.center-content-center {
    text-align: center;
}

.container-sp {
    display: flex;
    align-items: center;
}

.image-sp {
    width: 500px;
    height: 700px; 
    margin-right: 20px; 
    object-fit: contain;
}

.image-sp2 {
    width: 550px;
    height: 900px; 
    margin-right: 20px; 
    object-fit: contain;
}

.center-content-parts {
    text-align: center;
    margin-top: 10px;
}

.img-com {
    width: 61vw; 
    height: auto; 
    display: block; 
    margin: 0 auto; 
}

.container-livre {
    display: flex;
    align-items: center;
    justify-content: center; 
    margin-top: 20px;
}


.icon {
    width: 200px; 
    height: auto;
    cursor: pointer;
}

/* Style du bouton */
.expand-btn {
    background-color: #fee0f3; /* Couleur de fond */
    border: none;
    padding: 10px 25px; /* Ajustement du padding pour un style plus carré */
    border-radius: 15px; /* Arrondir légèrement les coins pour un style harmonieux */
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    color: #6c3457; /* Couleur du texte */
    position: relative;
    font-family: 'Poppins', sans-serif; /* Application de la police */
}

/* Effet de profondeur avec bord plus épais */
.expand-btn::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px; /* Garder l'arrondi pour l'effet de profondeur */
    border-right: 4px solid #e4c0d7;
    border-bottom: 4px solid #e4c0d7;
    pointer-events: none;
}

/* Effet de clic */
.expand-btn:active {
    transform: scale(0.98);
    background-color: #fee0f3; /* Couleur de clic */
}

/* Conteneur du contenu caché */
.content-educ {
    max-height: 0;
    overflow: hidden;
    background-color: #fee0f3; /* Couleur de fond */
    transition: max-height 0.5s ease;
    padding: 0 20px;
    border-radius: 10px;
    margin-top: 10px;
    display: none;
    position: relative;
    font-family: 'Poppins', sans-serif; /* Application de la police */
}

.content-educ.show {
    display: block;
    padding: 20px;
}

/* Contour du contenu pour effet de profondeur avec bord plus épais */
.content-educ::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border-right: 4px solid #e4c0d7;
    border-bottom: 4px solid #e4c0d7;
    pointer-events: none;
}

/* Style du texte dans le contenu déroulant pour correspondre au bouton */
.text-content-educ {
    font-family: 'Poppins', sans-serif; /* Même police que le bouton */
    color: #6c3457;                     /* Même couleur que le bouton */
    font-size: 16px;                    /* Même taille de police que le bouton */
    margin: 0;
    line-height: 1.5;                   /* Pour espacer les lignes de texte */
}

/* Style pour l'icône + ou - */
.plus-educ {
    font-size: 20px;
    margin-right: 10px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.rotate-educ {
    transform: rotate(45deg);
}

@media (max-width: 480px) {
    .icon {
        width: 150px;
    }
}