#team {
    background: url(https://images.unsplash.com/photo-1519501025264-65ba15a82390?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxleHBsb3JlLWZlZWR8M3x8fGVufDB8fHx8&w=1000&q=80);
    position: relative;
    background-size: cover;
    background-position: bottom;
}

.background-color {
    min-width: 100%;
    min-height: 100%;
    background-color: var(--main-color);
    opacity: .8;
    position: absolute;
}

#our-team-id {
    position: absolute;
    top: -5em;
    width: 5em;
    height: 5em;
}

#team .title-staff {
    margin: 1em 0;
    padding: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3em;
}

#team .title-staff h2 {
    color: var(--second-color);
    font-size: clamp(2.3em, 5vw, 3.5em);
    text-transform: uppercase;
    z-index: 2;
}

#team .title-staff p {
    color: var(--second-color);
    font-size: clamp(1.1em, 2vw, 1.4em);
    text-align: center;
    z-index: 2;
}

#team .staff {
    padding: .5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

#team .staff .person {
    display: grid;
    grid-template-rows: repeat(5, auto);
}

#team .staff .person .img-people-container {
    display: grid;
    grid-template-rows: 2fr 1fr;
}

#team .staff .person .img-people-container .img-container {
    max-width: 15em;
    background-color: var(--second-color);
    margin: auto;
    border-radius: 50%;
    padding: .8em;
    position: relative;
    justify-self: center;
}

#team .staff .person .img-people-container .img-container .quotes {
    min-width: 4em;
    min-height: 4em;
    background-color: var(--second-color);
    border-radius: 50%;
    position: absolute;
    top: 20px;
    left: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

#team .staff .person .img-people-container .img-container .quotes i {
    transform: scale(3);
}

#team .staff .person .img-people-container .img-container img {
    min-height: 12em;
    min-width: 12em;
    border-radius: 50%;
    transform: translateY(.7em) translateX(.3em);
}

#team .staff .person .img-people-container .name-duty-container {
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

#team .staff .person .img-people-container .name-duty-container h3 {
    color: var(--second-color);
    font-size: clamp(2em, 2.5vw, 2em);
}

#team .staff .person .img-people-container .name-duty-container h5 {
    color: var(--second-color);
    font-size: clamp(1.1em, 2vw, 1.3em);
    font-weight: 300;
}

#team .staff .person .about-person {
    padding: .5em;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    z-index: 2;
}

#team .staff .person .about-person .text-about-container {
    min-height: 22em; 
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#team .staff .person .about-person .text-about-container p {
    color: var(--second-color);
    text-align: center;
    font-family: var(--quotes-font);
    font-style: italic;
    font-size: clamp(1.1em, 1vw, 1.5em);
    font-weight: 300;
    line-height: 1.5em;
    letter-spacing: 2px;
}

#team .staff .back-forth-container {
    padding: 1em 2em;
    display: flex;
    gap: 3em;
    align-self: center;
}

#team .staff .back-forth-container i {
    border: 1px solid var(--second-color);
    border-radius: 50%;
    transform: scale(3);
    transition: 450ms;
    color: var(--second-color);
}

#team .staff .back-forth-container i:hover {
    background-color: var(--second-color);
    color: var(--main-color);
    cursor: pointer;
}

#team .staff .btn-see-all {
    font-weight: 800;
    color: var(--second-color);
    margin-bottom: 2em;
    transition: 650ms;
}

#team .staff .btn-see-all:hover {
    color: var(--main-color);
    cursor: pointer;
}

@media (min-width: 400px) {
    #team .staff .person .img-people-container .img-container {
        min-width: 15em;
        max-height: 15.5em;
    }

    #team .staff .person .img-people-container .img-container img {
        min-width: 100%;
    }

    #team .staff .person .about-person .text-about-container {
        min-height: 17em;
    }
}

@media (min-width: 500px) {
    #team .staff .person .about-person .text-about-container {
        min-height: 10em;
    }
}

@media (min-width: 600px) {
    #team .staff .person .about-person .text-about-container {
        min-height: 14em;
    }
}

@media (min-width: 800px) {
    #team .staff .person {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: none;
        gap: 4em;
    }

    #team .staff .person .img-people-container {
        margin-left: 4em;
    }

    #team .staff .person .about-person .text-about-container {
        min-height: 16em;
    }
}

@media (min-width: 1000px) {
    #team .staff .person {
        max-width: 50em;
        /* max-height: 30em; */
    }

    #team .staff .person .about-person .text-about-container {
        min-height: 25em;
    }
}