.team-section{
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 3vh 0;
    gap: 2vh 2vw;
}

.person{
    width: 30%;
    min-width: 300px;
    min-height: 80px;
    max-height: 80vh;
    background-color: white;
    box-shadow: -5px 8px 40px #ccc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;

}
.person.photo{
    min-height: max(60vh, 400px);
    align-items: center;
}
.person.photo .info p {
    font-size: 0.8em;
}

.person img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.person .info{
    position: absolute;
    background-color: white;
    bottom: 0;
    padding: 15px 6%;
    width: 100%;
    gap: 3vh;
    align-items: start;
}
.person.photo.link:hover .button{
    display: initial;
}

.person.photo.link .button {
    display: none;
    padding: 2% 10%;
    background-color: #C2A03D;
    width: max-content;
    margin-left: auto;
}
.person .contact .item{
    gap: 5%;
}
.person p{
    color: #7a7a7a;
}

@media screen and (max-width: 700px) {
    .person.photo.link .info{
        margin-bottom: 0;
    }
    .person.photo.link .button {
        padding: 2% 10%;
        background-color: #C2A03D;
        width: max-content;
        margin: 0 auto;
    }
    .person.photo.link .button{
        display: initial;
    }
}