@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');
@import url('../components/navbar.css');
@import url('../components/footer.css');

:root{
    --dark-primary: #212121;
    --dark-secondary: #353434;
    --dark-terciary: #454545;
    --light-primary: #FEFAE0;
    --primary-red: #F44336;
    --primary-green: #4CAF50;
}

* {

    margin: 0px;
    padding: 0px;
}

::-webkit-scrollbar{
        border-radius: 20px;
        width: 0.8rem;
}

::-webkit-scrollbar-track{
        background: var(--dark-secondary);
}

::-webkit-scrollbar-thumb{
    background-color: var(--dark-terciary);
    border-radius: 20px;
}


body {


    background-color: #212121;
}

.header {

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
   

}

.logo_header {

    display: flex;
    justify-content: left;

}

.links_header {

    display: flex;
    gap: 20px;

}

.text_logo {

    font-family: Instrument Sans;
    color: #FEFAE0;
    display: flex;
    align-items: center;


}

.text_home {
    font-family: Instrument Sans;
    font-size: 20px;
    color: #FEFAE0;
    text-decoration: none;
    margin: 12px;
    margin-top: 18px;

}

.text_historia {
    font-family: Instrument Sans;
    font-size: 20px;
    color: #FEFAE0;
    text-decoration: none;
    margin: 12px;
    margin-top: 18px;

}

.button_header {

    color: #FEFAE0;
    background-color: #7209B7CC;
    font-family: Instrument Sans;
    font-size: 20px;
    border: #7209B7CC;
    border-radius: 10px;
    width: 150px;
    margin: 10px;
    height: 41.44px;
    cursor: pointer;

}


.title_projetos {

    font-size: 40px;
    text-align: center;
    color: #FEFAE0;
    font-family: Instrument Sans;

}

.logo_projeto {


    display: flex;
    justify-content: center;
    color: #FEFAE0;

}


.linha {
    width: 1000px;
    border-bottom: 1px solid #FEFAE0;
    margin: 0 auto;
}

.conteudo-central,
.conteudo-central1, .conteudo-central2 {

    margin: 50px;
    display: flex;
    flex-direction: row;
    gap: 30px;

    justify-content: center;
    color: #FEFAE0;
}


.conteudo-card,
.conteudo-card1,
.conteudo-card2 {

    border: 3px solid #454545;
    
    border-radius: 20px;
    width: 500px;
     overflow: hidden;
    color: #FEFAE0;
    cursor: pointer;
}

.titulo-card,
.titulo-card1,
.titulo-card2 {

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 5px;
    padding: 15px;
    color: #FEFAE0;
    align-items: center;

}

.nome-card {

    font-family: Instrument Sans;
    font-size: 35px;
}

.data-card {

    font-family: Instrument Sans;
    font-size: 25px;

}


.cor {

    background-color: #212121;
    width: 500px;
    height: 300px;
}

.texto-card,
.texto-card1,
.texto-card2 {

    padding: 8px;
    color: #D9D9D9;
    font-family: Instrument Sans;
    font-size: 25px;
    padding: 20px;

}

.contorno {

    background-color: #454545;

}

/*Modais - Heitor*/

#fundoCard{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: 500ms;
}
#fundoCard.hide{
    opacity: 0;
    pointer-events: none;
}

.modalCard{
    display: flex;
    flex-direction: column;
    font-family: "Instrument Sans", sans-serif;
    font-size: 1.2rem;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65rem;
    height: 35rem;
    max-width: 90%;
    border-radius: 20px;
    z-index: 5;
    background-color: var(--dark-primary);
    overflow-y: scroll;
    transition: 500ms;
}
.modalCard.hide{
    top: 125rem;
    pointer-events: none;
}

.modalCard #fecharModal{
    margin: 1rem;
    padding: 0.5rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.modalCard .descricaoProjeto{
    display: flex;
    align-items: center;
    justify-content: center ;
    gap: 2rem; /* Espaço entre foto e texto */
    flex: 1;    
    border-bottom: 1px solid var(--light-primary);
    margin: 1rem 2rem;
    padding: 3rem;
}

.modalCard .descricaoProjeto .textoModal{
    flex: 1; /* Ocupa todo espaço restante */
    min-width: 0; 
}

.modalCard .descricaoProjeto .fotoModal{
    width: 15rem;
    height: 15rem;
}

.modalCard .descricaoProjeto .fotoModal img{
    width: 15rem;
    border-radius: 50%;
}

.modalCard .participantes{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.modalCard .participantes .tituloParticipantes{
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 2rem;
}

.modalCard .participantes .togglerParticipantes{
    display: flex;
    margin: 1rem;
}

.modalCard .participantes .togglerParticipantes .toggler{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-secondary);
    padding: 1rem 2rem;
    height: 2rem;
    width: 10rem;
    cursor: pointer;
    transition: 500ms background-color;
}

.modalCard .participantes .togglerParticipantes .toggler.t1{
    border-top-left-radius: 1.25rem;
    border-bottom-left-radius: 1.25rem;
    color: var(--primary-red);
}

.modalCard .participantes .togglerParticipantes .toggler.t2{
    border-top-right-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
    color: var(--primary-green);
}

.modalCard .participantes .togglerParticipantes .toggler.t1.active{
    background-color: var(--primary-red);
    color: var(--dark-primary);
    font-weight: 700;
}

.modalCard .participantes .togglerParticipantes .toggler.t2.active{
    background-color: var(--primary-green);
    color: var(--dark-primary);
    font-weight: 700;
}

.participante{
    display: none;
    justify-content: center;
    align-items: center;
    height: 10rem;
    margin: 3rem;
}
.participante.active{
    display: flex;
}

.participante .fotoParticipante{
    display: flex;
    justify-content: center;
    background-color: var(--dark-terciary);
    padding: 1rem;
    height: 100%;
    border-top-left-radius: 1.25rem;
    border-bottom-left-radius: 1.25rem;
}

.participante .textoParticipante{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    width: 30rem;
    height: 100%;
    padding: 1rem;
    background-color: var(--dark-secondary);
    border-top-right-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
}

.participante .textoParticipante .social{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    i{
        font-size: 2rem;
        padding: 0.5rem;
        margin: 0.2rem;
        cursor: pointer;
    }
}