.team{
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
   gap: 1rem;
   width: 100%;
   min-height: 15vh;
   padding: 1rem 5%;
   border-bottom: 1px solid #444;
}

@media(max-width:1200px){
    .team{
        gap: .5rem;
        padding: 1rem;
        grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
    }
}

.team .cardUs{
    display: flex;
    flex-direction: column;
    row-gap: .2rem;
    width: 100%;
    padding: .5rem;
    border-radius: .7rem;
    background: linear-gradient(0, #222, #333);
    border: 1px solid #444;
    box-shadow: 0 5px 18px rgba(0,0,0, .380);
}
.team .cardUs .imgLink{
    height: 5rem;
    width: 5rem;
    display: flex;
    overflow: hidden;
    border-radius: 50%;
    margin-left: 50%;
    transform: translateX(-50%);
    border: 2px solid #ddd;
    cursor: default;
}
.team .cardUs .imgLink img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: .7;
    scale: 1.3;
}

.team .cardUs:hover .imgLink img{
    opacity: 1;
    scale: 1.4;
}

.team .cardUs .name{
    color: #fff;
    font-weight: 700;
    font-size: clamp(.7rem, 2vw, 1.2rem);
    text-align: center;
}
.team .cardUs .name i{
    color: #0ec7df;
    font-size: clamp(.6rem, 2vw, .9rem);
}
.team .cardUs .profesion{
    color: #333;
    font-size: .8rem;
    width: 100%;
    font-weight: 600;
    width: max-content;
    padding: .2rem .5rem;
    border-radius: 25px;
    background: #cacaca;
}
.team .cardUs .info{
    width: 100%;
    font-size: .8rem;
    color: #ddd;
    font-weight: 100;
    margin-bottom: auto;
}
.team .cardUs .redes{
    margin-top: 1rem;
    width: 100%;
    display: flex;
    gap: .2rem;
}
.team .cardUs .redes a{
    color: #a0a0a0;
    font-size: 1.3rem;
}
.team .cardUs .redes a:hover{
    color:#ff4500;
}

.team .cardUs .moreInfo{
    background: #dbdbdb;
    padding: .2rem 1.5rem;
    border-radius: 25px;
    color: #000000;
    background: #85df0e;
    box-shadow: 0 0 5px #a2ff27;
    margin-top: 1rem;
    cursor: pointer;
}


/*Previsualización*/
.team .infoUser{
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    position: fixed;
    top: 0;
    left: -100%;
    pointer-events: none;
    visibility: hidden;
    z-index: 200;
    background: #333;
    width: 100%;
    overflow-y:auto;
    height: 100%;
    min-height: 100vh;
    padding: 1rem 6%;
}
.team .infoUser.active{
    left: 0;
    visibility: visible;
    pointer-events: all;
}



.team .infoUser span{
    margin-left: auto;
    cursor: pointer;
    font-size: 1.7rem;
    color: #eee;
}
.team .infoUser .heading{
    display: flex;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
}
.team .infoUser .heading img{
    width: 27%;
    border-radius: 1rem;
    object-fit: cover;
}



.team .infoUser .heading .dataText{
    display: flex;
    flex-direction: column;
    width: 67%;
}


@media(max-width:990px){
    .team .infoUser .heading img{
        width: 100%;

    }
    .team .infoUser .heading .dataText{
        width: 100%;
    }

}
.team .infoUser .heading .dataText .infoName{
    font-size: clamp(1.4rem, 4vw, 2.7rem);
    color: #fff;
    font-weight: 700;
    width: 100%;
}
.team .infoUser .heading .dataText .infoWork{
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: #aaa;
}
.team .infoUser .heading .dataText .infoLocation{
    font-weight: 200;
    color: #999;
}

.team .infoUser .socialMedia{
    width:max-content;
    padding: .3rem 1rem;
    display: flex;
    border-radius: 25px;
    border: 1px solid #555;
}
.team .infoUser .socialMedia a{
    color: #999;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
}
.team .infoUser .socialMedia a:hover{
    color: #fff;
}
.team .infoUser .infoText{
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}
.team .infoUser .infoText .infoThis{
    font-size: clamp(.7rem, 2vw, 1.1rem);
    color: #b6b6b6;
    font-weight: 300;
}
.team .infoUser .infoText .titleInfo{
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: #fff;
}

.thisDoc.active{
    overflow: hidden;
}
/*Previsualización*/
