.team {
    position: relative;
    padding: 100px 0;
}

.team-content {
    display: block;
    width: 75%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0 24px;
}

.team-content h2, .team-content p {
   text-align: center;
}

.team-list__content h3 {
    font-size: 1.8rem;
}

.team-list__content p {
   font-size: 1.6rem;
   line-height: 1.3;
}

.team .team-list {
    display: grid;
    max-width: 1000px;
    margin: 0 auto;
    grid-template-columns: repeat(3,1fr);
    grid-auto-rows: auto;
    row-gap: 10px;
    column-gap: 10px;
}

.team .team-list .team-list__item {
    position: relative;
    display: flex;
    aspect-ratio: 19/25;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.team .team-list .team-list__item .imgcropCtn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.team .team-list .team-list__item:hover .photoCalme {
    opacity: 0;
    transition: 0.3s all ease-in-out;
}

.photoCalme {
    opacity: 1;
    z-index: 2;
    transition: 0.3s all ease-in-out;
}

.photoFun {
    z-index: 1;
    transition: 0.3s all ease-in-out;
}

.team-list__content {
    z-index: 3;
    opacity: 0;
    display: flex;
    flex-direction: column;
    position: absolute;
    align-items: center;
    justify-content: center;
    padding: 8px;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #AF1867;
    transition: 0.3s all ease-in-out;
}

.team .team-list .team-list__item:hover .team-list__content {
    opacity: 1;
    transition: 0.3s all ease-in-out;
}

.team-list__content h3, .team-list__content p {
    color: white;
    line-height: 1.2;
    text-align: center;
    margin: 0 0 8px 0;
}

.team-list__content a i {
    color: white;
    transition: 0.6s all ease-in-out;
}

.team-list__content a:hover i {
    opacity: 0.5;
    transition: 0.6s all ease-in-out;
}

.team-list__item:nth-child(odd) .team-list__content {
    background: #009BAE;
}

@media(max-width: 992px) {
    .team .team-list {
        grid-template-columns: repeat(2,1fr);
    }
    .team {
        position: relative;
        padding: 0 0 100px 0;
    }
}

@media(max-width: 600px) {
    .team .team-list {
        grid-template-columns: repeat(1,1fr);
    }
}