/************************ Team ***************************/
.sup_opening {
    margin: 60px auto 50px;
}

.team {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 60px auto 0;
}

.team_member {
    display: flex;
    justify-content: space-between;
    background-color: var(--white);
    box-shadow: 0px 5px 10px #00000014;
    border-radius: 10px;
    padding: 35px;
    box-sizing: border-box;
    margin-bottom: 45px;
    z-index: 10;
}

.team_member:last-of-type {
    margin-bottom: 0;
}

.team_info {
    width: 300px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: start;
}

.team_member h3,
.team_member p {
    margin-top: 0;
}

.team_member h3 {
    color: var(--light-blue);
}

.team_bio {
    margin-left: 35px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: calc(100% - 235px);
}

.team_image img {
    border-radius: 10px;
    width: 260px;
}

.supporter_image img {
    width: 200px;
}

.team_occupation {
    color: var(--dark-blue);
    font-family: museo-sans-rounded, sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 18px;
    margin-bottom: 0;
    display: flex;
    justify-content: flex-end;
}

.team_link {
    color: var(--yellow);
    margin-left: 5px;
}

@media (max-width: 900px) {
    .team_member {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin-top: 60px;
    }

    .team_member h3 {
        text-align: center;
        margin-top: 25px;
    }

    .team_info {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: start;
        margin-top: -90px;
    }

    .team_bio {
        width: 100%;
        margin-left: 0;
    }

    .team_bio p:last-of-type {
        margin-bottom: 0;
    }

    .team_image {
        display: flex;
        justify-content: center;
    }

    .team_image img,
    .supporter_image img {
        width: 150px;
    }
}

@media (max-width: 600px) {
    .team_occupation {
        display: block;
    }

    .team_link {
        width: 100%;
        margin-left: 0;
    }
}