.team{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--background--primary-color);
    padding: 2rem 0;
}

.team-content{
    display: flex;
    justify-content: center;
    gap: 5vw;
}

.team-member{
    min-height: 300px !important;
    max-width: 300px;
    min-width: 300px !important;
    border-radius: 50%;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

.team-member:hover .team-member-function{
    visibility: visible;
    opacity: 100%;
    transition: visibility 0s, opacity .4s linear;
}

.team-member:hover .team-member-info{
    visibility: visible;
    opacity: 100%;
    transition: visibility 0s, opacity .4s linear;
}

.team-member-info{
    background-color: var(--background--primary-color);
    position: absolute;
    bottom: 50px;
    left: 0;
    margin-top: 80%;
    width: 100%;
    visibility: visible;
    opacity: 100%;
}

.team-member-name{
    font-size: 1.5rem;
    font-weight: 600;
}

.team-member-function{
    font-size: 1rem;
    font-weight: 400;
}

.bg-stephanie{
    background: url('../resources/images/Stephanie01.jpg') no-repeat center;
    background-size: cover;
}

.bg-sophie{
    background: url('../resources/images/Sophie.jpg') no-repeat center;
    background-size: cover;
}


.bg-daimy{
    background: url('../resources/images/Daimy.jpg') no-repeat center;
    background-size: cover;
}

@media only screen and (min-width: 320px) and (max-width: 575px){

    .team-content{
        width: var(--body-width);;
    }

    .service{
    width: 100%;
   }
}


@media (min-width: 767px) and (max-width:1920px){

    .team-content{
        width: calc(var(--body-width)/1.2);
    }

    .services-content{
        gap: 1vw;
    }
}

@media only screen and (min-width: 575px) and (max-width: 920px){
    .team-member{
        min-height: 200px !important;
        max-width: 200px;
        min-width: 200px !important;
        display: flex;
    }
    

    .team-member-info{
        margin-top:70%;
        min-width: 250px;
        height: 50px;
        transform: translateX(-40px) ;
    }

    .team-member-name{
        font-size: 1.2rem;
    }

    .team-member-function{
        font-size: .8rem;
    }

 }

