/* Team CSS */

.teamBox {
    width: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
}

.teamBox1 {
    width: 100%;
    max-width: 1248px;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 36px;
    padding-top: 36px;
    display: flex;
    flex-wrap: wrap;
}

.teamTitleBox {
    margin-top: 24px;
    margin-bottom: 24px;
    padding-left: 12px;
    width: 100%;
    color: rgb(33, 43, 54);
    text-align: center;
    font-weight: 700;
    line-height: 1.3333333333333333;
    font-size: 1.25rem;

}

@media screen and (min-width: 500px) {
    .teamTitleBox {
        font-size: 2.25rem;
    }
}

.teamMembersBox {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.teamMemberBox {
    flex-basis: 100%;
    display: flex;

}

.teamMemberBox {
    flex-basis: 100%;
    justify-content: center;
}

@media screen and (min-width: 950px) {
    .teamMemberBox {
        flex-basis: 50%;
    }

    .teamMemberBox:nth-child(odd) {
        justify-content: flex-end;
        padding-right: 36px;
    }

    .teamMemberBox:nth-child(even) {
        justify-content: flex-start;
        padding-left: 36px;
    }
}

.teamMemberCard {
    width: 390px;
    height: 260px;
    margin-top: 16px;
    margin-bottom: 16px;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
}

.teamMemberImageBox {
    width: 50%;
    height: 100%;
}

.teamMemberImageBox img {
    width: 100%;
    height: 100%;
}

.teamMemberInfoBox {
    background-color: #bdfad1;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 32px;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.Instructors .teamMemberInfoBox {
    padding-top: 16px;
}

.teamMemberInfoBox div:nth-child(1) {
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
}

.teamMemberInfoBox div:nth-child(2) {
    text-align: center;
    font-size: 0.8rem;
    color: #4a5660;
}

.teamMemberInfoBox div:nth-child(3) {
    text-align: left;
    font-size: 0.9rem;
}

.Instructors .teamMemberInfoBox div:nth-child(1) {
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.Instructors .teamMemberInfoBox div:nth-child(2) {
    text-align: center;
    font-size: 0.7rem;
    color: #4a5660;
}

.Instructors .teamMemberInfoBox div div {
    color: #212B36 !important;
    font-weight: 400 !important;
    text-align: left !important;
    font-size: 0.56rem !important;
}
