.divprincipal {
    background: none;
    box-shadow: #ccc 1px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 40%;
    position: relative;
    text-align: left;
    flex-direction: column;
    gap: 10px;
    margin: 8px;
}

.titulo-neuro {
    font-size: 35px;
    font-weight: bold;
    color: black;
    text-shadow: #ccc 1px;
}

.subt-neuro {
    font-size: 20px;
    margin: 0;
}

.titulo-neuro2 {
    margin-bottom: 30px;
    color: white;
    font-size: 30px;


}

.texto-neuro {
    color: white;
    font-size: 15px;
    text-align: justify;
    line-height: 30px;
}

.sobre-diego {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: row;
    gap: 90px;
}

.sobre-diego img {
    width: 35%; 
    border-radius: 20px; 
    box-shadow: #ffffff;
}
.sec2-neuro,
.secp-curriculo {
    background-color: #ebebea;
    padding: 80px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.titulo-sec2,
.titulo-sec3,
.titulo-secp {
    font-size: 28px;
    font-weight: bold;
}

.subt-sec2,
.subt-sec3,
.subt-secp {
    font-size: 20px;
    font-weight: bold;
}

.texto-sec2,
.texto-sec3,
.texto-secp {
    font-size: 18px;
}

.cards-neuro,
.cards-curriculo {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin: 30px 0px 30px 0px;

}

card {
    background-color: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 350px;
    /* Define uma largura fixa para todos os cards */
    min-height: 350px;
    border-radius: 20px;
}

card img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

card p {
    font-size: 14px;
    padding-top: 3px;
}

card h1 {
    font-size: 15px;
    font-weight: bold;
}

.sec3-neuro {
    background-image: url("../img/back_neuro.jpg");
    padding: 80px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    color: white;
}

.sec4-neuro {
    color: white;
    align-content: center;
    background-image: url('../img/neuroeconomista_back2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 70px 40px 70px 40px;
    height: 100%;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 40px;
}

.sec4-cp {
    color: white;
    align-content: center;
    background: rgb(59,133,158);
    background: linear-gradient(77deg, rgba(59,133,158,1) 0%, rgba(11,51,87,1) 46%, rgba(7,29,61,1) 98%);
    padding: 70px 40px 70px 40px;
    height: 100%;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 40px;
}


.card-xp {
    background-color: white;
    background-color: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 350px;
    /* Define uma largura fixa para todos os cards */
    min-height: 250px;
    border-radius: 20px;;
    margin-top: 0px;
    transition: transform 0.3s ease-in-out;
}

.card-xp:hover {
    transform: scale(1.05);
}

.card-xp iframe {
    width: 100%;
    border-radius: 20px; /* Arredonda a parte de cima */
}

.card-xp video {
    margin-bottom: 5px !important;
    border-radius: 10px; /* Aproxima o vídeo do conteúdo abaixo */
}

.card-xp h1 {
    font-size: 15px;
    margin: 5px 0 !important; /* Reduz o espaço em cima e embaixo do título */
}

.card-xp p {
    font-size: 14px;
    margin: 3px 0 !important; /* Deixa o parágrafo mais coladinho ao título */
}

.sec1-curriculo {
    color: white;
    align-content: center;
    background-image: url('../img/back1_pessoal.jpg');
    background-size: cover;
    background-position: center;
    background-attachment:fixed;
    padding: 70px 40px 70px 40px;
    height: 100%;
    z-index: -1;
    justify-content: left;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.lista-curriculo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
.titulolista_cp {
    min-width: 240px;
    max-width: 100%;
    padding: auto;
    text-align: justify;
    margin-bottom: 40px;
    font-size: 40px;
  }
  
.sec5-neuro { 
    padding: 40px 150px 40px 150px;
    background-color: #000000;

}

.secp-neuro {
    display: flex;
    flex-direction: column;
    align-items: flex-start ; 
    justify-content:center;
    background-image: url('../img/neuroeconomista\ back.jpg'); 
    height: auto;
    min-height: 100vh;
    margin-top: 60px; 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 30px 0px 100px 40px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
}

.btao-n {
    background-color: #1794fa;
    color: white;
    border-radius: 15px;
    padding: 18px 32px 18px 32px;
    border: #1794fa solid 0.1px;
    font-weight: bold;
  }
  
  .btao-n:hover {
    transition: 1s;
    border: #B1F901 solid 0.1px;
    background-color: #B1F901;
    color: black;
  }

  .secp-neuro-img{
    width: 20%;
  }
  
  .sec2-curriculo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #051528;
    padding: 30px;
    
  }

  .card-texto {
    background-color: #092142;
    padding: 30px;
    border-radius: 5px;
    color: #fff;
    height: 225px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

  .card-preco {
    background-color: black;
    padding: 30px;
    border-radius: 5px;
    height: 350px;
    width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .card-preco > h1 {
    font-size: 90px;
    font-weight: bold;
    color: #ffffff;
  }

  .card-preco > h2 {
    font-size: 25px;
    color: #ffffff;
  }

  .card-preco > h3 {
    font-size: 13px;
    color: #ffffff; 
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
  }
@media (max-width: 800px) {

    .divprincipal {
        padding: 30px 20px 10px 10px;
        width: 80%;
        text-align: center;
        gap:30px;
        color: white;
    }

 .sec2-curriculo {
        flex-direction: column;
    }

    .card-preco {
        width: 100%;
    }
    .secp-neuro {
        margin: 0px;
        padding: 0px;
        height: 30%;
        min-height: 100vh;
        width: 100%;
        justify-content: flex-start;
        background-size: cover;
        background-position: top 50% right 45%;
        align-items: flex-start;
    }
    .secp-neuro-img {
        visibility: hidden;
    }
    .titulo-neuro {
        font-size: 20px;
        font-weight: bold;
        color: white;
        text-shadow: #ccc 1px;
    }

    .subt-neuro {
        font-size: 20px;
        margin: 0;
    }

    .titulo-neuro2 {
        padding: 30px;
        color: white;
        font-size: 25px;
        text-align: center;

    }

    .sobre-diego {
        flex-direction: column;
        margin: 0;
        padding: 15px;
        justify-content: center;
        align-items: center;
        display: flex;
        gap: 10px;
    }
    
    .sobre-diego img {
        width: 100%; 
        border-radius: 20px; 
        box-shadow: #ffffff;
    }

    .texto-neuro {
        color: white;
        font-size: 15px;
        text-align: justify;
        line-height: 25px;
    }

    .sec2-neuro {
        padding: 20px;
        text-align: justify;
        
    }

    .secp-curriculo {
        text-align: justify;
        padding: 20px;
    }

    .titulo-sec2, .titulo-sec3, .titulo-secp {
        font-size: 20px;
    }

    .subt-sec2, .subt-sec3, .subt-secp {
        font-size: 16px;
        }

    .texto-sec2, .texto-sec3, .texto-secp {
        font-size: 14px;
    }

    .cards-neuro,
    .cards-curriculo {
        display: flex;
        flex-direction: column;
        gap: 30px;
        justify-content: center;
        align-items: center;
        margin: 0px;

    }

   
    .sec3-neuro {
        background-image: url("../img/back_neuro.jpg");
        padding: 80px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 20px;
        color: white;
    }

    .sec4-neuro, sec4-cp {
        color: white;
        align-content: center;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        padding: 70px 40px 70px 40px;
        height: 100%;
        z-index: -1;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 40px;
    }

    .sec5-neuro {
        padding: 0px;
    }
    .card-xp {
        background-color: white;
        border-radius: 15px;
        height: 250px;
        width: 80%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease-in-out;
    }

    .card-xp:hover {
        transform: scale(1.05);
    }

    .card-xd {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
    }

    .card-xd img {
        width: 28%;
        height: 100%;
        border-radius: 10px;
        object-fit: cover;
        object-position: center;
    }

    .lista-curriculo {
        flex-direction: column;
        gap: 50px;
    }

    
    .titulolista_cp {
        text-align: center;
        font-size: 30px;
      }
    
      
}