.team {
    position: relative;
}

.team__background {
    left: 20px;
    top: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background-color: black;
    opacity: 40%;
    position: absolute;
}

.team__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team__content {
    position: absolute;
    left: 20px;
    top: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    z-index: 2;
    padding: 40px;
    justify-content: flex-end;
}

.team__contentText {
    margin-top: 16px;
}

.team__teamMembers {
    gap: 32px;
    align-items: flex-end;
}

.team__teamMembersContainer {
    padding-left: 24px;
    border-left: 1px solid #ffffffb2;
}

.team__teamMemberInfo {
    height: 120px;
    margin-top: 12px;
}

.team__contentTextContainer {
    justify-content: flex-end;
}

.team__teamMembersTitle {
    color: #ffffff99;
    margin-bottom: 24px;
}

.team__teamMemberHigh {
    max-width: 180px;
}

.team__teamMemberLow {
    max-width: 120px;
}

.team__teamMemberHigh img {
    max-width: 180px;
    aspect-ratio: 1/1;
}

.team__teamMemberLow img {
    max-width: 120px;
    aspect-ratio: 1/1;
}

@media (max-width: 1450px) {
    .team__content,
    .team__background {
        left: 8px;
        top: 8px;
        width: calc(100% - 16px);
        height: calc(100% - 16px);
    }

    .team__content {
        padding: 12px;
    }

    .team__image {
        min-height: 800px;
    }

    .team__contentContainer {
        height: 100%;
    }

    .team__contentTextContainer {
        gap: 0;
    }
}

@media (max-width: 550px) {
    .team__teamMembers {
        align-items: unset;
        gap: 16px;
    }

    .team__teamMemberImage,
    .team__teamMemberImage_low {
        height: 120px;
        width: 120px;
    }

    .team__teamMember {
        display: flex;
        gap: 16px;
    }
}
