.cards{
    background-color: #ead5d4;
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
  
}
.cards .level-1{
    width: 100%;
    height: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.cards .level-2{
    width: 100%;
    height: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.member-card{
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    transition: all 0.35s ease-in-out;
}
.member-card img{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #ffffff;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
    object-fit: cover;

}
.member-card h3{
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
    
    transition: all 0.1s ease-in-out;
}
.member-card p{
    text-align: center;
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 10px;
}
.member-card:hover h3{
    color: #ad1254;
    transform: scale(1.1);
}

.member-card:hover img{
    border: 5px solid #ad1254;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.member-card a{
    display: flex;
    justify-content: center;
    height: 200px;
    transition: all 0.5s ease-in-out;
}

.member-card:hover a{
    transform: translateY(-20px);
}

/* Adjusting height of image depending on role
*/
#President img{
    width: 170px;
    height: 170px;
}

#VP-1 img{
    width: 160px;
    height: 160px;
    transform: translateY(10px);
}

#Autre img{
    width: 150px;
    height: 150px;
    
    transform: translateY(20px);
}

#Adjoint img{
    width: 140px;
    height: 140px;
    
    transform: translateY(30px);
}

@media only screen and (max-width: 850px)  {

    .cards .level-1 {
        display: flex;
        flex-direction: column;
    }
    .cards .level-2 {
        display: flex;
        flex-direction: column;
    }
    #President img{
        width: 150px;
        height: 150px;
        transform: translateY(20px);
    }
    
    #VP-1 img{
        width: 150px;
        height: 150px;
        transform: translateY(20px);
    }
    
    #Autre img{
        width: 150px;
        height: 150px;
        
        transform: translateY(20px);
    }
    
    #Adjoint img{
        width: 150px;
        height: 150px;
        
        transform: translateY(20px);
    }
}