/* team */
.team {
    display: flex;
    justify-content: center;
}

.team .wrap {
    position: relative;
    display: inline-flex;
    /* justify-content: space-evenly; */
    margin: auto;
    width: 100%;
    flex-wrap: wrap;
    /* outline: 1px solid; */
}

.team .person {
    flex-basis: 25%;
    margin-bottom: 5rem;
    /* outline: 1px solid red; */
}

.team .front {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.team h2 {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    min-height: 75px;
    margin-block: 0.25rem;
    justify-content: center;
}

.team .shown span {
    display: block;
    height: 70px;
    overflow: hidden;
    position: relative;
}



.team img[data-toggle="modal"] {
    border-radius: 50%;
    width: 190px;
    height: 190px;
    object-fit: cover;
    border: 3px solid var(--blue);
}

.team .shown {
    text-align: center;
    max-width: 82%;
    min-height: 6rem;
    font-size: 1.25rem;
    line-height: 1.1;
}

.team .btn-primary {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.team .modal-header {
    background-color: var(--blue);
}

@media (max-width:1300px) {
    .team .person {
        flex-basis: 30%;
    }
}

@media (max-width:991px) {
    .team .person {
        flex-basis: 50%;
    }
}

@media (max-width:600px) {
    .team .person {
        flex-basis: 100%;
    }
}