/* Team Section */


.team-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5%;
}

.team-item {
    background-color: #e8e8e8;
    padding: 40px 10px;
    text-align: center;
}

.team-item .team-img {
    width: 90%;
    margin: auto;
    position: relative;
}

.team-overlay {

    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s;

}

.team-overlay a {
    display: block;
    width: 40px;
    height: 40px;
    background-color: var(--main-color);
    color: white;
    margin-left: auto;

}

.team-overlay a i {
    line-height: 40px;
}

.team-item .team-img img {
    width: 100%;

}

.team-info .team-info-title {

    margin: 10px 0;
    text-transform: capitalize;
    color: #222;
    transition: color 0.5s;
}


.team-info .team-info-text {

    color: #999;
    font-size: 14px;
    transition: color 0.5s;
}


.team-item:hover .team-overlay {

    opacity: 1;
    visibility: visible;

}

.team-item.tb-effect {
    z-index: 1;
}

.team-item:hover .team-info-title {

    color: white;
}


.team-item:hover .team-info-text {

    color: var(--main-color);
}