.team-grid-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-self: center;
    align-items: center;
    width: 60%;
}

.team-grid-title {
    color: #00003C;
    text-align: center;
    margin-top: 2rem;
}

.team-grid-desc {
    color: #00003c;
    text-align: center;
    font-size: large;
}

.team-grid-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 2rem;
}

.headshot {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.5s ease;
    box-shadow: 0 10px 10px -2px #534e4e;
}

.team-single-img-left {
    margin-right: 3rem;
}

.team-single-center {
    display: flex;
    flex-direction: column;
    justify-self: center;
    width: 100%;
}

.team-single-center-name-stack {
    display: flex;
    gap: 10px;
}

.team-single-center-name {
    color: #f3731c;
    text-align: start;
    font-size: 2.3rem;
}

.team-single-center-linkedin {
    align-self: center;
}

.team-single-center-title {
    color: #00003c;
    font-weight: bold;
    font-size: x-large;
    text-align: start;
    margin-bottom: 0;
}

.team-single-center-email {
    color: #00003c;
    font-size: 1.4rem;
    text-decoration: underline;
    text-align: start;
    margin-bottom: 0;
}

.team-single-center-name-stack-flipped {
    display: flex;
    justify-content: end;
    gap: 10px;
}

.team-single-center-name-flipped {
    color: #f3731c;
    text-align: end;
    font-size: 2.3rem;;
}

.team-single-center-title-flipped {
    color: #00003c;
    font-weight: bold;
    font-size: x-large;
    text-align: end;
    margin-bottom: 0;
}

.team-single-center-email-flipped {
    color: #00003c;
    font-size: 1.4rem;
    text-decoration: underline;
    text-align: end;
    margin-bottom: 0;
}

.team-single-img-right {
    margin-left: 3rem;
}

.team-grid-header-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-self: center;
    align-items: center;
}

.team-grid-title-mobile {
    color: #00003C;
    text-align: center;
    margin-top: 2rem;
    font-size: 1.8rem;
}

.team-grid-desc-mobile {
    color: #00003c;
    text-align: center;
    width: 80%;
    font-size: 1.2rem;
}

.team-grid-body-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.team-single-left-mobile {
    width: 10%;
}

.team-single-right-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    padding-bottom: 2rem;
}

.team-single-right-name-mobile {
    color: #f3731c;
    text-align: center;
    font-size: 1.6rem;
    margin: 0px;
}

.team-single-right-title-mobile {
    color: #00003c;
    font-weight: bold;
    font-size: large;
    text-align: center;
    margin-bottom: 0;
}

.team-single-center-email-mobile {
    color: #00003c;
    font-size: 1rem;
    text-decoration: underline;
    text-align: center;
    margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
    .headshot {
        width: 150px;
        height: 150px;
        box-shadow: 0 5px 10px -2px #534e4e;
    }
}