@media (min-width: 1500px) {
    .container {
      max-width: 100%; /* Garante que os elementos não excedam a largura do viewport */
      margin: 0 auto; /* Centraliza o conteúdo, evitando espaço extra nas laterais */
      padding: 0;
    }
  
    /* Para garantir que nenhum elemento individual esteja expandindo além da tela */
    .container, .element {
      box-sizing: border-box; /* Garante que o padding e border não aumentem o tamanho do elemento */
    }
  }


@media (max-width: 1400px) {

    .projetos {
 
        margin: 6% 2.3%; 

    }
}



@media (max-width: 1255px) {

    .presentation-container { 
        gap: 20px; 
        padding: 0 18px; 
    }

    .presentation-texto h1 {
        font-size: 5rem;
        letter-spacing: 4px;
    }

    .texto-quemsoueu {
        
        padding: 10px;
        gap: 2px;
    }
    
    .texto-quemsoueu h3 {
        font-size: 1.5rem;
        letter-spacing: 5px;
    }
    
    .texto-quemsoueu p {
        
        font-size: 0.9rem;
    }

    .formacao {
        margin: 8% 8%;
    }

    .faculdade-texto h2 {

        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .faculdade-texto p {
     
        font-size: 1.1rem;

    }

    .graduacao {
        padding: 40px;
        gap: 15px;
    }

    .curso {

        gap: 0px;
    }

    .alura, .preditiva {
        padding-left: 8px;
    }
    
    
    
    .alura img {
        max-width: 60%; 

    }
    
    .preditiva img {
        max-width: 80%; 

    }
    
    .curso-texto {

        gap: 8px;
    
    }
    
    .curso-texto h3 {
    
        font-size: 1.3rem;
    }
    

    .alura ul {
    
        font-size: 1rem;

    }  
    
    .projetos {
 
        margin: 6% 2.3%; 
        
    }

    .projetos-web {
  
        height: 650px;
        gap: 0;
        padding: 55px;
    
    }

    .projetos-freela {

        gap: 0px;
        padding: 2px 2px;
    }

    .projetos-web h4 {
 
        font-size: 1.4rem;

    }
    
    
    .projetos-web p {
        font-size: 0.8rem;
    }

    .footer h3 {
    
        font-size: 2.6rem;
        margin-right: 20px;
    
    }
    
    .contatos {
        
        padding: 50px 0;
    
    }
    
    .redes {
        padding: 0 80px;
        gap: 40px;
    }
      
    #linkedin, #insta, #git {
        margin: 0;
        padding: 0;
    }
      
    .redes i {
        font-size: 6rem;
    }

    .curriculo h6 {

        font-size: 1.6rem;
    }
    
    .curriculo i {
        font-size: 6rem;
    }
    
  
    .telefones h6 {
 
        font-size: 1.6rem;
        padding-bottom: 20px;

    }
    
    .telefones ul {
        font-size: 3.8rem;
        gap: 30px;
    }
    
    .telefones ul li {
        margin-bottom: 20px; 
        font-size: 1.6rem;
    }
    
    

}

@media (max-width: 1040px) {

    .presentation-container { 
        gap: 20px; 
        padding: 0px 16px; 
    }

    .presentation-texto h1 {
        font-size: 4.5rem;
        letter-spacing: 3.5px;
    }

    .formacao {
        margin: 6% 6%;
    }

    .faculdade-texto h2 {

        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .faculdade-texto p {
     
        font-size: 1.1rem;

    }

    .graduacao {
        padding: 20px;
        gap: 5px;
    }

    .projetos {
 
        margin: 6% 2.3%; 
        
    }

    .projetos-web {
  
        height: 600px;
        gap: 0;
        padding: 50px;
    
    }

    .projetos-freela {

        gap: 0px;
        padding: 2px 2px;
    }

    .projetos-web h4 {
 
        font-size: 1.4rem;

    }
    
    
    .projetos-web p {
        font-size: 0.7rem;
    }

    

}



@media (max-width: 1000px){

    .background-image {
        background-image: url(/images/mobile/cpd.png);
        background-size: 100% 100%; /* Ajuste para o tamanho desejado */
        background-position: center;
        background-repeat: no-repeat;
    }

    .presentation-container { 
        gap: 20px; 
        padding: 0px 14px; 
    }

    .presentation-texto h1 {
        font-size: 4.2rem;
        letter-spacing: 3.2px;
    }

    .foto {
   
        width: 350px;
        height: 450px;
    }

    .quemsoueu {
        padding: 5% 5%; 
        gap: 30px;
    }

    .texto-quemsoueu {
        
        padding: 10px;
        gap: 2px;
    }
    
    .texto-quemsoueu h3 {
        font-size: 1.3rem;
        letter-spacing: 4px;
    }
    
    .texto-quemsoueu p {
        
        font-size: 0.9rem;
    }

    .cursos-extra {
        gap: 0;
    }

    .curso-titulo h2 {
        margin-top: 0;
        margin-bottom: 0;
    }

    .alura, .preditiva {
        padding-left: 6px;
    }
    
    
    
    .alura img {
        max-width: 50%; 

    }
    
    .preditiva img {
        max-width: 70%; 

    }
    
    
    .curso-texto h3 {
    
        font-size: 1.1rem;
    }

    .projetos {
 
        margin: 6% 2%; 
        
    }

    .projetos-web {
  
        height: 580px;
        gap: 0;
        padding: 30px;
    
    }

    .projetos-freela {

        gap: 0px;
        padding: 2px 2px;
    }

    .projetos-web h4 {
 
        font-size: 1.3rem;

    }
    
    
    .projetos-web p {
        font-size: 0.7rem;
    }

    .footer h3 {
    
        font-size: 2.5rem;
        margin-right: 20px;
    
    }
    
    .contatos {
        
        padding: 50px 0;
    
    }
    
    .redes {
        padding: 0 80px;
        gap: 40px;
    }
      
 
    .redes i {
        font-size: 5rem;
    }

    .curriculo h6 {

        font-size: 1.5rem;
    }
    
    .curriculo i {
        font-size: 5rem;
    }
    
  
    .telefones h6 {
 
        font-size: 1.5rem;
        padding-bottom: 20px;

    }
    
    .telefones ul {
        font-size: 3.6rem;
        gap: 30px;
    }
    
    .telefones ul li {
        margin-bottom: 20px; 
        font-size: 1.5rem;
    }
    


}

@media (max-width: 900px){

    nav{
        display: none;
    }

    #menu-icon {
        display: block; /* Exibe o ícone do menu */
        position: fixed;
        top: 30px;
        right: 80px;
        z-index: 110; /* Certifica que o ícone fica acima do menu */
        font-size: 50px;
        color: #1564C0;
    }



    .mobile-menu {
        display: none; /* Esconde o menu mobile por padrão */
        position: absolute;
        background-color: rgba(0, 0, 0, 0.8);
        color: white;
        top: 50px; /* Ajuste para aparecer logo abaixo do ícone */
        left: 0;
        width: 100%;
        z-index: 100;
        padding: 10px 20px 10px 0;
        border: 1px solid #1564C0;
        border-radius: 10px;
        transform: translateY(-10px); 
    }

    .mobile-menu.active {
        display: flex; /* Mostra o menu quando ativo */
        flex-direction: column; /* Coloca os itens em colunas */
    }
    
    .mobile-menu ul {
        display: flex; /* Usa flexbox para alinhar em colunas */
        flex-direction: column; /* Coloca os itens em colunas */
        padding: 0; /* Remove o padding */
        margin: 0; /* Remove a margem */
        list-style: none; /* Remove os marcadores da lista */
    }
    
    .mobile-menu li {
        width: 100%; /* Cada item ocupa a largura total */
        text-align: left;
        padding: 10px; /* Adiciona espaçamento interno */
        border-bottom: 1px solid #ddd; /* Adiciona uma linha separadora */
    }
    
    .mobile-menu a {
 
        color: white;
        font-size: 1.2rem; /* Tamanho da fonte (ajuste conforme necessário) */
        text-decoration: none; /* Remove o sublinhado dos links */
      
    }
    
    .mobile-menu a:hover {
        color: #1564C0;
        cursor: pointer;
    }

    .presentation-container { 
        gap: 20px; 
        padding: 0px 14px; 
    }

    .presentation-texto h1 {
        font-size: 4rem;
        letter-spacing: 3px;
    }

    .foto {
   
        width: 350px;
        height: 450px;
    }

    .quemsoueu {
        padding: 5% 5%; 
        gap: 30px;
    }

    .texto-quemsoueu {
        
        padding: 5px;
        gap: 1px;
    }
    
    .texto-quemsoueu h3 {
        font-size: 1rem;
        letter-spacing: 4px;
    }
    
    .texto-quemsoueu p {
        
        font-size: 0.8rem;
    }

    .formacao {
        margin: 6% 6%;
    }

    .faculdade-texto h2 {

        font-size: 1.8rem;
        letter-spacing: 1.8px;
    }
    
    .faculdade-texto p {
     
        font-size: 1rem;

    }

    
    .alura, .preditiva {
        padding-left: 5px;
    }
    
    
    
    .alura img {
        max-width: 50%; 

    }
    
    .preditiva img {
        max-width: 70%; 

    }
    
    
    .curso-texto h3 {
    
        font-size: 1rem;
    }

    .preditiva ul {

        font-size: 0.8rem;

    
    }
    
    .alura ul {
   
        font-size: 1rem;

    }

    .projetos {
        gap: 20px;
        width: 95%;
    }

    .projetos-titulo {
        display: inline-block; /* Mantém o comportamento inline, mas permite controle de dimensões */
        width: 100%; /* Ocupa toda a largura do contêiner pai */
        padding: 10px 0; /* Ajusta o espaço interno */
        box-sizing: border-box; /* Garante que o padding não aumente o tamanho do elemento */
        margin: 0; 
    }

    .projetos-titulo h2 {
        
        font-size: 4rem;
        letter-spacing: 3px;
        flex-direction: column;

        
    }
    
    .projetos-titulo span {
        font-size: 2rem;
        align-items: center;
        padding: 0 20px;
    }

    .projetos-web {
        padding: 180px;
        width: 100%;
        max-width: 500px;
        height: 1200px;
        margin: 0;
    
    }

    .projetos-freela {
        flex-direction: column;
        column-gap: 0px;
        padding: 2px 10px;
        
    }

    .projetos-web h4 {

        font-size: 3rem;
        padding-top: 20px;
    }
    
    
    .projetos-web p {
        font-size: 1.6rem;
        padding-bottom: 20px;
    }
    
    .projetos-web a {
        font-size: 2rem;
        padding-bottom: 0;
    }

    .projetos-imagem {
        padding: 10px 0;
    }
    
    .projetos-imagem img {
    
        max-width: 95%; 
        height: auto; 
        object-fit: contain;
        /* teste */
        padding: 2px 0; 
    
    }

    .projetos.show .projetos-web#projeto1 {
        animation: slideIn 8s ease forwards; 
    }
    
    .projetos.show .projetos-web#projeto2 {
        animation: slideInFromRight 8s ease forwards;
    }
    
    .projetos.show .projetos-web#projeto3 {
        animation: slideIn 8s ease forwards;
    }



  
}

@media (max-width: 800px){

    .presentation-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Alinha o texto à esquerda */
        max-width: 100%;
        gap: 0;
        column-gap: 0;
        max-width: 100%;
    }

    .presentation-texto {
        align-self: flex-start; /* Garante que o texto esteja à esquerda */
    }

    .presentation-texto h1 {
        padding-top: 50px;
        font-size: 5rem;
        letter-spacing: 4px;
        margin: 0;
        margin-bottom: 0;
    }

    .foto {
        margin-top:  20px;
        align-self: flex-end; /* Coloca a foto à direita */
        width: 600px;
        height: 600px;
        max-width: 80%;
    }

    .quemsoueu {

        display: flex; 
        flex-direction: column;
        margin-top: 100px;
        padding: 5% 5%; 
        gap: 30px;
   
    }
    
    .texto-quemsoueu {
        padding: 20px;
        gap: 5px;

    }
    
    .texto-quemsoueu h3 {

        font-size: 2.5rem;
        letter-spacing: 5px;
    }
    
    .texto-quemsoueu p {

        font-size: 1.6rem;
    }
    

    .graduacao {
 
        display: flex;
        flex-direction: column-reverse;
 
    }

    .faculdade-foto {
        width: 90%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 5px;
    }
    
    .faculdade-foto img {
        max-width: 100%; 
        height: auto; 
        object-fit: contain;
        border-radius: 20px;
        border: 3px solid #1564C0;
        /*
        animation: slideIn 8s ease forwards;
        */
    }
    
    .faculdade-texto {
    
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    
    }
    
    .faculdade-texto h2 {
    
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .faculdade-texto p {
     
        font-size: 1.5rem;

    }
    

    .curso {

        display: flex;
        flex-direction: column;
        gap: 40px;

    }

    .curso-texto {
        display: inline-block;
    } 

    .alura, .preditiva {
        padding-left: 0px;
    }


    .projetos {
        gap: 20px;
        width: 95%;
    }

    .projetos-titulo h2 {
        
        font-size: 3.2rem;
        letter-spacing: 2.5px;
        flex-direction: column;

        
    }
    
    .projetos-titulo span {
        font-size: 1.6rem;
        align-items: center;
        padding: 0 20px;
    }

    .projetos-web {
        padding: 150px;
        width: 100%;
        max-width: 400px;
        height: 1000px;
        margin: 0;
    
    }

    .projetos-freela {
        flex-direction: column;
        column-gap: 0px;
        padding: 2px 8px;
        
    }

    .projetos-web h4 {

        font-size: 2.5rem;
        padding-top: 50px;
    }
    
    
    .projetos-web p {
        font-size: 1.2rem;
        padding-bottom: 18px;
    }
    
    .projetos-web a {
        font-size: 1.8rem;
        padding-bottom: 0;
    }

    .projetos-imagem {
        padding: 18px 0;
    }
    
    .projetos-imagem img {
    
        max-width: 90%; 
        height: auto; 
        object-fit: contain;
        /* teste */
        padding: 2px 0; 
    
    }

 
    .footer h3 {
    
        font-size: 2rem;
        margin-right: 20px;
    
    }
    
    .contatos {
        
        padding: 50px 0;
    
    }
    
    .redes {
        padding: 0 80px;
        gap: 40px;
    }
      
 
    .redes i {
        font-size: 4rem;
    }

    .curriculo h6 {

        font-size: 1rem;
    }
    
    .curriculo i {
        font-size: 4rem;
    }
    
  
    .telefones h6 {
 
        font-size: 1.2rem;
        padding-bottom: 20px;

    }
    
    .telefones ul {
        font-size: 3rem;
        gap: 30px;
    }
    
    .telefones ul li {
        margin-bottom: 20px; 
        font-size: 1.2rem;
    }

}


@media (max-width: 700px){
    .background-image {
        background-image: url(/images/mobile/cpd3.png);
    }

    .presentation-texto h1 {

        font-size: 3rem;
        letter-spacing: 3px;
    }

    .foto {

        width: 400px;
        height: 400px;
        max-width: 50%;
        margin-right: 50px;
    }

    .imagem-quemsoueu img { 
 
        width: 90%;

    }

    .texto-quemsoueu .imagem-quemsoueu {
        width: 70%;
    }

    .texto-quemsoueu h3 {

        font-size: 1.8rem;

    }
    
    .texto-quemsoueu p {
        font-size: 1rem;
    }


    .faculdade-foto {
        width: 80%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 5px;
    }
    
    .faculdade-texto {
    
        width: 80%;
        gap: 10px;
    
    }
    
    .faculdade-texto h2 {
    
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .faculdade-texto p {
     
        font-size: 1rem;

    }
    

    .curso-titulo h2 {
        font-size: 1.5rem;
    }

    .curso-texto h3 {
    
        font-size: 0.9rem;
    }

    .preditiva ul {

        font-size: 0.7rem;

    
    }
    
    .alura ul {
   
        font-size: 0.9rem;

    }

    

    .projetos {

        max-width: 100%;
  
    }

    .projetos-titulo h2 {
        
        font-size: 2rem;
        letter-spacing: 2px;
        flex-direction: column;
        padding-top: 40px;

        
    }
    
    .projetos-titulo span {
        font-size: 0.9rem;
        align-items: center;
        padding: 0 10px;
    }

    .projetos-web {
        padding: 90px;
        width: 100%;
        max-width: 200px;
        height: 450px;
        margin: 0;
    
    }

    .projetos-freela {
        flex-direction: column;
        column-gap: 0px;
        padding: 2px 3px;
        
    }

    .projetos-web h4 {

        padding-top: 0;
        font-size: 0.9rem;
    }
    
    
    .projetos-web p {
        font-size: 0.6rem;
    }
    
    .projetos-web a {
        font-size: 0.6rem;
        padding-bottom: 0;
    }

    .projetos-imagem {
        padding: 18px 0;
    }
    
    .projetos-imagem img {
    
        max-width: 70%; 
        height: auto; 
        object-fit: contain;
        /* teste */
        padding: 2px 0; 
    
    }

    .footer h3 {
    
        font-size: 1.5rem;
        margin-right: 15px;
    
    }
    
    .contatos {
        
        padding: 50px 10px;
    
    }
    
    .redes {
        padding: 0 80px;
        gap: 30px;
    }

 
 
    .redes i {
        font-size: 2.5rem;
    }

    .curriculo h6 {

        font-size: 1rem;
    }
    
    .curriculo i {
        font-size: 3rem;
    }
    
  
    .telefones h6 {
 
        font-size: 1rem;
        padding-bottom: 10px;

    }
    
    .telefones ul {
        font-size: 0.7rem;
        gap: 20px;
    }
    
    .telefones ul li {
        margin-bottom: 10px; 
        font-size: 0.6rem;
    }
}

@media (max-width: 500px){
    .background-image {
        background-image: url(/images/mobile/cpd4.png);
    }

    .presentation-texto h1 {

        font-size: 2.8rem;
        letter-spacing: 2.5px;
    }

    .imagem-quemsoueu img { 
 
        width: 90%;

    }

    .texto-quemsoueu .imagem-quemsoueu {
        width: 60%;
    }

    .texto-quemsoueu h3 {

        font-size: 1.5rem;

    }
    
    .texto-quemsoueu p {
        font-size: 0.8rem;
    }

    .faculdade-texto h2 {
    
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    
    .faculdade-texto p {
     
        font-size: 0.8rem;

    }

    .curso-titulo h2 {
        font-size: 1.3rem;
    }

    .curso-texto h3 {
    
        font-size: 0.7rem;
    }

    .preditiva ul {

        font-size: 0.5rem;

    
    }
    
    .alura ul {
   
        font-size: 0.8rem;

    }

    .projetos-titulo h2 {
        
        font-size: 1.5rem;
    

        
    }
    
    .projetos-titulo span {
        font-size: 0.7rem;
  
    }

    .redes i {
        font-size: 3rem;
    }

    .curriculo h6 {

        font-size: 1rem;
    }
    
    .curriculo i {
        font-size: 3rem;
    }
    
  
    .telefones h6 {
 
        font-size: 1rem;
        padding-bottom: 10px;

    }
    
    .telefones ul {
        font-size: 1rem;
        gap: 20px;
    }
    
    .telefones ul li {
        margin-bottom: 10px; 
        font-size: 0.9rem;
    }

    .contatos {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 50px;
    }

    

}

@media (max-width: 400px){
    .background-image {
        background-image: url(/images/mobile/cpd4.png);
    }

    .presentation-texto h1 {

        font-size: 2.3rem;
        letter-spacing: 2px;
    }

    .quemsoueu {
        padding: 0 1px;
        margin: 0;
    }

    .imagem-quemsoueu img { 
 
        width: 90%;

    }

    .texto-quemsoueu .imagem-quemsoueu {
        width: 60%;
    }

    .texto-quemsoueu h3 {

        font-size: 1.2rem;

    }
    
    .texto-quemsoueu p {
        font-size: 0.7rem;
    }

    .faculdade-texto h2 {
    
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    
    .faculdade-texto p {
     
        font-size: 0.8rem;

    }

    .curso-titulo h2 {
        font-size: 1.1rem;
    }

    .curso-texto h3 {
    
        font-size: 0.5rem;
    }

    .preditiva ul {

        font-size: 0.4rem;

    
    }
    
    .alura ul {
   
        font-size: 0.8rem;

    }

    .projetos-titulo h2 {
        
        font-size: 1.5rem;
    

        
    }
    
    .projetos-titulo span {
        font-size: 0.7rem;
  
    }

    

}