#opening {
    margin-top: -380px;
}

.team_member_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.team_shift {
    margin-top: -250px;
}

.staff_member {
    display: flex;
    flex-direction: column;
    width: 340px;
    padding: 20px;
    margin-top: 0;
    box-sizing: border-box;
}

.staff_member_thumbnail {
    margin-top: -40px;
    box-shadow: 0px 3px 6px #00000029;
}

.staff_member_excerpt {
    padding: 35px 0 0 0;
}

.staff_member .button1 {
    margin: 20px 0 0 0;
    width: 100%;
}

.team_member_text {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 390px);
    background-color: var(--pale-blue);
    border: 10px solid var(--white);
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0px 3px 6px #00000029;
    margin-top: 200px;
}

.team_member_text i {
    font-size: 30px;
    color: var(--light-blue);
}

.team_member_text i:last-child {
    margin-top: auto;
}

.team_member_text p {
    margin: 0;
    padding: 20px;
}

@media (max-width: 1250px) {
    .team_shift {
        margin-top: -180px;
    }
}

@media (max-width: 900px) {
    #opening {
        margin-top: -150px;
    }

    .team_member_wrapper {
        flex-direction: column-reverse !important;
        margin-top: 50px;
    }

    .team_member_text {
        width: 100%;
        margin-top: 50px;
    }

    .staff_member {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .staff_member_excerpt {
        text-align: right;
    }

    .dsl_excerpt {
        padding: 55px 0 0 0;
    }

    .staff_member_thumbnail {
        width: 250px;
        margin-right: 20px;
    }
}

@media (max-width: 600px) {
    .staff_member {
        flex-direction: column;
    }

    .staff_member_excerpt {
        text-align: left;
        padding: 35px 0 0 0;
    }

    .staff_member_thumbnail {
        width: 100%;
        margin-right: 0;
    }

    .team_member_text i {
        display: none;
    }

    .team_member_text p {
        padding: 0;
    }
}