/*Format mobile*/
.asso {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem 0;

    p {
        margin: 0 2rem;
        text-align: justify;
    }
    
    h3 {
        margin-bottom: 1rem;
    }
}

.container_asso {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;

    a {
        text-decoration: none;
    }


    &>a:first-child>img {
        width: 80px;
        border-radius: 20px;
        box-shadow: 5px 5px 5px 0px #c4c4c4;
    }

    &>a:last-child>img {
        width: 130px;
        border-radius: 20px;
        box-shadow: 5px 5px 5px 0px #c4c4c4;
    }
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.team .organigram {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team .organigram img {
    margin-inline: 1rem;
    max-width: 100%;
}

/*Format tablette*/
@media(min-width: 500px) {
    .container_asso {
        gap: 4rem;    
        &>a:first-child>img {
            width: 130px;
        }

        &>a:last-child>img {
            width: 210px;
        }
    }
}

/*Format desktop*/
@media(min-width: 1024px) {
    .container_asso img {
        transition: transform 0.3s ease;
    }

    .container_asso img:hover {
        transform: scale(1.1);
    }

    .team .organigram {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .team .organigram > img:first-child {
        max-width: 55%;
        height: 200px;
        margin-inline: 0;
        margin-left: 1rem;
    }

    .team .organigram > img:nth-child(2) {
        max-width: 45%;
        height: 350px;
        margin-inline: 0;
        margin-right: 1rem;
    }
}

@media(min-width: 1440px) {
    .team .organigram > img:nth-child(2) {
        min-width: 50%;
        height: 100%;
    }
}
