:root {
    --primary-color: #0066FF;
    --main-color3: #149DFF;/*#70A9FF;*/
    --font-color: #C8C6C2;
    --gray-color: #8C8C8C;
}

.content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.content .apresentation {
    width: 100%;
}

.content .image img {
    width: 30rem;
    display: block;
    background-image: none;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 10rem var(--main-color3));
}

.content .image {
    padding: 20rem 0;
    display: flex;
    justify-content: center;
    position: relative;
}

.content .title {
    display: block;
    position: absolute;
    z-index: 3;
    top: 49%;
    color: var(--main-color3);
    font-size: 9em;
    text-align: center;
}


#team {
    max-width: 100%;
}

#team .container .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10rem;
    width: 100%;
}

.text-apresentation {
    font-size: 2rem;
    text-align: center;
    width: 80%;
    padding: 1rem 0 10rem 0;
    border-bottom: 0.2rem solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(0.25turn, black, var(--font-color), black);
}

.text-apresentation p {
    display: block;
    width: 60rem;
    margin: auto;
    margin-bottom: 2.5rem;
}

#team .container .section-title h3 {
    font-size: 3.5rem;
    color: var(--main-color3);
    margin-bottom: 4rem;
    text-align: center;
}

#team .container .section-title h3::before {
    content: '/';
}

/* ----------------------------
members names above the cards
-------------------------------*/
#team .container .member-names {
    display: flex;
    margin-bottom: 4rem;
    align-items: center;
    justify-content: center;

}

#team .container .member-names div{
    display: block;
    position: relative;

    /*Estas propriedades vão funcionar melhor aqui que no <span>*/
    color: var(--gray-color);
    text-align: center;
    text-decoration: none;

    z-index: 1;
}

/*Link content/conteúdo do link*/
#team .container .member-names div span{
    display: block;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    width: 7rem;
    cursor: pointer;

    border: 0.1rem solid var(--gray-color);
    border-radius: 2rem;

    background-color: #000;
    z-index: 1;
}

#team .container .member-names div::before{
    content: '';
    display: block;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;

    position: absolute;
    top: 30%;
    left: 40%;

    z-index: -1;

    box-shadow: 0 0 2rem 1rem var(--font-color);
}

/* When the links is in hover state: 
   Quando os links estão em estado de hover: */
#team .container .member-names div:hover {
    color: #fff;
    }
#team .container .member-names div:hover span {
        border-color:#fff;
        transform: scale(1.1);
        transition: all 0.5s ease-in-out;
        
    }



/* ----------------------------
cards path
-------------------------------*/

#team .container .mt-4{
    background-image: url('../img/team/path1.png');
    background-repeat: round; /*Ajusta a imagem para o tamanho que precisamos*/
    background-origin: border-box;

    width: 60rem;

    align-items: center;
    justify-self: center;
    z-index: 2;
}

#team .container .img-folder2, #team .container .img-folder1 {
    position: relative;
    width: 50rem;
}

#team .container #pasta-atras-pesquisadores{
    top: -4.5rem;
}

#team .container .img-folder1 {
    position: absolute;
    top: 14.5rem;
    right: 14rem;
}

#team .container .img-folder2 {
    position: absolute;
    top: 0px;
    right: 2rem;
}

/* Member name*/
#team .mt-4 h4 {
    position: absolute;
    padding: 1.5rem 1.5rem 1.5rem 3.5rem;
    width: 45%;
    line-height: 2.3rem;
    font-size: 1.7rem;
    color: var(--main-color3);
   
}

#team .mt-4 .member {
    padding: 8rem 4rem 6rem;
    display: flex;
    gap: 3rem;

}
#team .mt-4 .member .pic{
    width: 20rem;
    height: 20rem;
    overflow: hidden;
    border-radius: 1rem;
}

#team .mt-4 .member .pic img {
    min-height: 100%;
    min-width: 100%;
    
}

#team .mt-4 .member .member-info {
    font-size: 1.6rem;
    width: 30rem;
    align-self: center;
}

#team .mt-4 .email-member {
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    width: fit-content;
    align-self: center;
    border: 0.1rem solid var(--gray-color);
    border-radius: 2rem;
    color: var(--gray-color);
    text-decoration: none;
}

/* --------------------------
carousel team
-----------------------------*/

#team .container .c-cards {
    display: flex;
    width: 100%;
    height: fit-content;
    justify-content: center;
    gap: 2rem;
}

#team .container .carousel {
    display: flex;
    gap: 1rem;
    box-sizing: content-box;
    padding: 5rem 0;
    margin-bottom: 10rem;
    position: relative;
    width: 65rem;
    height: 30rem;
}

.container .c-cards .carousel .card-carousel {
    width: 100%;
    height: fit-content;
    position: absolute;
    top: 0.5rem;
    filter: opacity(0);
    transition: all 0.1s ease-in-out;
}

@keyframes slidepath {
    from {
        transform: translateX(-10px);
    }

    to {
        transform: translateX(0);
    }
}

#team .container .c-cards .carousel .ative {
    filter: opacity(1);
    animation: slidepath 1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

#team .container .carousel::-webkit-scrollbar {
    display: none;
}

#team .container .c-cards .arrow1 {
    transform: rotate(145deg);
    align-self: center;
    font-size: 5rem;
    filter: drop-shadow(0 0 0.7rem var(--font-color));
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

#team .container .c-cards .arrow1:hover {
    align-self: center;
    font-size: 5rem;
    filter: drop-shadow(0 0 0.7rem var(--font-color));
    cursor: pointer;
    transform: scale(1.05) rotate(180deg);
    
}

#team .container .c-cards .arrow2 {
    transform: rotate(-40deg);
    align-self: center;
    font-size: 5rem;
    filter: drop-shadow(0 0 0.7rem var(--font-color));
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

#team .container .c-cards .arrow2:hover {
    align-self: center;
    font-size: 5rem;
    filter: drop-shadow(0 0 0.7rem var(--font-color));
    cursor: pointer;
    transform: scale(1.05);
}

/*
---------------------------
#    Team medium screen    #
#          Laptop          #
---------------------------*/
@media (min-width: 769px) and (max-width: 1024px) {
    .content .image img {
        width: 30rem;
    }

    .content .title {
        font-size: 8rem;
    }

    #about-content .text-apresentation p {
        width: 60vw;
    }

    #about-content .text-apresentation {
        font-size: 1.7rem;
    }

    #team .container .img-folder1 {
        position: absolute;
        top: 15rem;
        width: 50rem;
        right: 7%;
    }

    #team .container .member-names {
        flex-wrap: wrap;
        flex-wrap: wrap;
        row-gap: 1rem;
    }

    #team .container #aluisio {
        width: 90%;
    }

    #team .container .img-folder2 {
        right: -3%;
    }

    #team .container .c-cards .carousel .card-carousel{
        width: 100%;
    }
}


/*
---------------------------
#    Team medium screen    #
#          tablet          #
---------------------------*/
@media (min-width: 481px) and (max-width: 768px) {
    .content .image img {
        width: 20rem;
    }

    .content .title {
        font-size: 7rem;
    }

    #team-content .text-apresentation p {
        width: 70vw;
    }

    #team-content .text-apresentation {
        font-size: 1.5rem;
    }

    #team .container .mt-4 {
        width: 90%;
    }

    #team .mt-4 .member .pic {
        width: 15rem;
        height: 15rem;
    }

    #team .mt-4 .member .member-info p {
        font-size: 1.3rem;
    }

    #team .container .mt-4, #team .container .carousel {
        width: 90%;
    }

    #team .container .img-folder1 {
        position: absolute;
        top: 15rem;
        width: 42rem;
        right: 7%;
    }

    #team .mt-4 h4 {
        font-size: 1.4rem;
        padding: 1.5rem 0 0 2rem;
    }

    #team .container .member-names {
        flex-wrap: wrap;
        flex-wrap: wrap;
        row-gap: 1rem;
    }

    #team .container #aluisio {
        width: 90%;
    }

    #team .container .img-folder2 {
        right: -3%;
        top: 6px;
        width: 55vw;
        height: 30rem;
    }

    #team .container .c-cards .carousel .card-carousel{
        width: 100%;
    }

    #team .container .c-cards .arrow1, #team .container .c-cards .arrow2 {
        font-size: 3rem;
    }

    #team .container .c-cards .arrow2:hover {
        transform: scale(1.01);
    }
}


/*
---------------------------
#    Team small screen    #
#      smartphones        #
---------------------------*/
@media (min-width: 320px) and (max-width: 480px) {
    #team .container .section-title h3 {
        font-size: 2.3rem;
    }

    /* ----------------------------------
    members names above the cards - Small Screens
    -------------------------------------
    */
    #team .container .member-names {
        flex-wrap: wrap;
        row-gap: 2rem;
        width: 90%;
        justify-content:space-evenly;
    }

    #team .container .member-names div{
        font-size: 1.2rem;
    }

    #team .container .member-names div span{
        width: 8rem;
    }

    /* 
    ----------------------------
    cards path - Small
    ----------------------------
    */
    #team .container .mt-4{
        width: 28rem;
        height: 34rem;
    }

    #team .container .img-folder {
        width: 24rem;
        height: 30rem;
        right: 0px;
    }


    #team .container .img-folder1 {
        position: relative;
        top: 0px;
        left: 40px;
    }

    #team .container #aluisio {
        position: relative;
        top: -295px;

        margin-bottom: -295px;
    }

    #team .container .img-folder2 {
        top: 0px;
        left: 50px;
    }



    #team .mt-4 h4 {
        padding: 1rem;
        width: 50%;
        line-height: 2.3rem;
        font-size: 1.7rem;
    }

    #team .mt-4 .member {
        padding: 10rem 1rem 2rem;

    }

    #team .mt-4 .member .pic{
        width: 10rem;
        height: 10rem;
    }

    #team .mt-4 .member .member-info {
        font-size: 1.4rem;
        width: 100%;

        margin-top: -4rem;
    }

    /*O conteúdo do card de Thiago é o maior e chega a transbordar do card*/
    #team #thiago .member-info p{
        font-size: 1.3rem;
    }

    #team .mt-4 .email-member {
        font-size: 1.2rem;
        max-width: 10rem;
        word-break: break-all;
    }


    /* --------------------------
    carousel team - small screen
    -----------------------------*/
    #team .container .carousel {
        width: 27rem;
        height: 22rem;
    }
    
    #team .container .c-cards .arrow1,
    #team .container .c-cards .arrow1:hover,
    #team .container .c-cards .arrow2, 
    #team .container .c-cards .arrow2:hover {
        font-size: 2rem;
    }

    #team .container .c-cards .arrow1 {
        position:absolute; 
        bottom: 0;
        left: 45%;
    }
    #team .container .c-cards .arrow2 {
        position:absolute; 
        bottom: 0;
        right: 40%;
    }

    /*Para a diferença entre as setas nos tamanhos de tela não ficar tão grande.*/
    @media (min-width: 320px) and (max-width: 359px) {
        #team .container .c-cards .arrow1 {
            left: 120px;
        }
        #team .container .c-cards .arrow2 {
            right: 120px;
        }
    }
        
    @media (min-width: 420px) and (max-width: 480px) {
        #team .container .c-cards .arrow1 {
            left: 180px;
        }
        #team .container .c-cards .arrow2 {
            right: 180px;
        }
    }


    



}