.team-section {
    background-color: #D9D9D9;
    color: #082445;
    padding: 20px;
    text-align: center;
}

.team-section h2 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.team-list-container {
    overflow-x: auto;
    white-space: nowrap;
    /* Prevents line breaks */
}

.team-list {
    display: flex;
    justify-content: start;
    flex-wrap: nowrap;
    /* Prevents items from wrapping to the next line */
    border: 3px solid black;
    border-radius: 1%;
    padding: 20px; /* Optionnel : pour un meilleur espacement interne */
    overflow-y: scroll;
}

.team-list-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome, Safari, and Opera */
}

/* Hide scrollbar for IE, Edge, and Firefox */
.team-list-container {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.team-member-image img {
    max-width: 200px; /* Définir la largeur maximale */
    height: auto; /* Hauteur automatique pour préserver les proportions */
}

/** ================================================================== **/
/** ================================================================== **/
/** ================================================================== **/

/* TeamMember.php css content */
.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 10px;
    min-width: 150px;
    /* Adjust as needed */
    flex: 0 0 auto;
    /* Prevents items from shrinking */
}

.team-member-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.team-member-text h3 {
    font-size: 0.8em;
    margin: 10px 0;
    font-weight: normal;
    color: #082445;
}

.team-member-text p {
    font-size: 0.7em;
    color: #082445;
}