section p {
    width: clamp(250px, 600px, 100%);
    text-align: justify;
}

/* peut etre meilleur si la photo est cadre*/
/* .img-container {
    border-radius: 10px;
    width: clamp(250px, 600px, 100%);
    height: 300px;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
} */

.portrait-image {
    width: clamp(300px, 500px, 100%);
    height: auto;
    border-radius: 10px;
}

.formation-list {
    padding: 20px;
    text-align: justify;
    list-style: none; /* Disable default list style */
}

.formation-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px; /* Adjust to image size */
    height: 16px;
    background: url('images/favicon_logo/favicon-16x16.webp') no-repeat center center;
    background-size: cover;
    border-radius: 50%; /* Make it round */
}

.formation-list li {
    position: relative;
    margin: auto;
    padding: 10px 40px; /* Add space for the image */
    width: clamp(200px, 600px, calc(100% - 16px));
}


#show-more-formations {
    width: 200px;
}

.presentation-texte {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 480px) {
    .img-container {
        border-radius: 10px;
        width: clamp(250px, 600px, 100%);
        height: 300px;
        overflow: hidden;
    }

    .img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .formation-list li {
        padding: 8px;
    }
    .formation-list li::before {
        transform: translateX(-100%);
    }
}