/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;}

@media (prefers-color-scheme: dark) {
    :root {
      --bg-principal: #121212;
      --texto-principal: #f8f9fa;
      --elemento-primario: #1e1e1e;
      --texto-elemento-primario: #ced4da;
      --cor-accento: #64b5f6;
    }
  }
  html, body {
    min-height: 100vh;
    background-size: cover;
      overflow-x: hidden;

    
}

body {
  padding-top: 200px;
  overflow-y: scroll;
  font-family: 'Poppins', sans-serif;
  background-color: #1a237e;
  background-image: radial-gradient(circle, #ff8a0020 2px, transparent 2px),
                    radial-gradient(circle, #da1b6020 2px, transparent 2px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

  
  .destaque {
    color: var(--cor-accento);
  }

/* Corpo */
body {
    padding-top: 200px;
    overflow-y: scroll;
    font-family: 'Poppins', sans-serif;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
  .elemento {
    background-color: var(--elemento-primario);
    color: var(--texto-elemento-primario);
  }
/* Cabeçalho */
header {
    padding-top: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;/*garante que o menu fique sempre por cima*/
    left: 0;
    background:#f8bbd0;/* Cor de fundo rosa suave */
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.menu {
    list-style: none;
    display: flex;
    gap: 16px;
  
}

.menu li a {
    text-decoration: none;
    color: black;
    font-size: 16px;
}

/* Container principal */
.container {
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
    padding-top: 80px;
    width: 100%;
    padding: 2rem;
    
    
}

/* Foto */
.foto-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Espaço entre a foto e o texto */
}

.foto {
    width: 500px;
    height: 500px;
    border-radius: 50%;
  object-fit: cover; /* Corta a imagem para caber no círculo */
   border: 3px solid #f8bbd0; /* Rosa forte */
  margin-bottom: 1rem; /* Espaço entre a foto e o texto */
}
.intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.textos {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ola-titulo { /* Ou .nome-principal */
  font-family: 'Poppins', sans-serif; /* Fonte moderna */
  font-size: 2.5em; /* Tamanho maior (ajuste se necessário) */
  font-weight: 700; /* Texto mais forte */
  background: linear-gradient(90deg, #ff8a00, #da1b60); /* Degradê bonito */
  -webkit-background-clip: text; /* Aplica o gradiente ao texto */
  -webkit-text-fill-color: transparent; /* Deixa o fundo (gradiente) visível */
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); /* Sombra suave */
  text-align: center; /* Se você quiser centralizar o nome */
 align-items:center ;
 display:flex;
 flex-direction: column;
  color: #333; /* Adicione uma cor de texto padrão, se o gradiente não funcionar */
}

/* Botão de currículo */
.botao-curriculo {
        display: inline-block;
        align-items: center;
        margin-top: 10px;
        padding: 12px 24px;
        background: linear-gradient(90deg, #ff8a00, #da1b60); /* Degradê bonito */
        color: white;
        text-decoration: none;
        font-weight: bold;
        font-size: 1.1em;
        border-radius: 18px;
        transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
        
    }
    
    .botao-curriculo:hover {
        transform: scale(1.05);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        align-items: center;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    }
    
/* Descrição */
.descricao {
  max-width: 600px;
  line-height: 1.6;
}

.barra {
    background-color: rgba(0, 0, 0, 0.0); /* Cor de fundo da barra */
    font-size: 40px;
    font-weight: 300;
    margin-right: 10px;
    vertical-align: middle;
    display: flex;
  
    gap: 10px;
}

h2 {
    font-size: 2em;
    font-weight: bold;
}


.front-end {
    color: #FF1493; /* Rosa forte */
    font-weight: bold;
}


/* Seção Projetos */
.titulo-projetos {
 display: block;/* garante que ocupa uma linha inteira */
  text-align: center; /* Centraliza o texto */
  margin-bottom: 50px !important;/*força espacamento maior*/
  font-size: 3em; /* Tamanho maior (ajuste se necessário) */
  font-weight: 600; /* Texto mais forte */
}


.projeto-item {
  width: 500px; /* Ajuste conforme necessário */
    height: 350px; /* Aumentando a altura */
    display: flex; /* Layout lado a lado */
    align-items: center; /* Alinhamento vertical ao centro */
    border-radius: 15px ; /* Opcional: Borda para visualização */
    padding: 15px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2); /* Sombra suave */
    margin-bottom: 20px;
    background-color :#f8bbd0;/* Cor de fundo rosa suave */
    filter: brightness(1.2); /* Aumenta o brilho em 20% */
    overflow: hidden; /* Importante para alguns efeitos de hover */
    transition: 0.3s ease-in-out; /* Transição para um efeito de sombra no hover (opcional) */
    
  }
  
  .projeto-item:hover {
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2); /* Efeito de sombra no hover (opcional) */
 transform: scale(1.02); /* Efeito de crescimento no hover (opcional) */
  }
  
  .projeto-imagem {
      max-width: 90%;
      height: auto;
      border-radius: 10px;
    }
  
  
  .projeto-item:hover .projeto-imagem {
    transform: scale(1.05); /* Exemplo de efeito na imagem ao passar o mouse (opcional) */
  }
  
  .projeto-imagem img {
    display: block;
    max-width: 90%;
    height: auto;
    border-radius: 5px; /* Opcional: Bordas arredondadas */
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1); /* Opcional: Sombra na imagem */
  }
  
  .projeto-descricao {
    flex-grow: 1;
    /* Outros estilos para a descrição, se necessário */
  }
  
  /* Estilos para os botões (já definidos anteriormente) */
  .projeto-botoes {
    margin-top: 15px;
  }
  
  .projeto-botoes a {
    display: inline-block;
    padding: 8px 12px;
    margin-right: 8px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .projeto-botoes a.preview {
    background-color: #0000CD;
    color: #fff;
    border: 1px solid #0000CD;
    border-radius: 15px; /* Bordas arredondadas */
  }
  
  .projeto-botoes a.preview:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    border-radius: 20px; /* Bordas arredondadas */
  }
  .projeto-botoes a.codigo {
    display: inline-block;
    background-color: white !important; /* Garante que fique branco */
    color: black !important; /* Texto preto */
    border: 2px ; 
    border-radius: 18px;
    padding: 10px 20px; /* Ajuste o espaçamento interno */
    text-decoration: none;
    font-weight: bold;
    transform: all 0.3s ease; /* Transição suave */
   
}

.projeto-botoes a.codigo:hover {
    background-color: #f0f0f0 !important; /* Um branco um pouco mais escuro no hover */
    border-radius: 20px; /* Bordas arredondadas */
  }


 
  .projeto.em-breve {
    background-color: #333; /* Cor diferente para destacar */
    color: #fff;
    opacity: 0.7; /* Deixa um pouco transparente */
    text-align: center;
    padding: 50px;
    border-radius: 18px;
    font-size: 1.2em;
    font-style: italic;
}

/* Ajuste no espaçamento entre seções */
section {
    padding: 60px 20px;
}
     

/* Seção Sobre Mim */

  
.sobre {
  background: none; /* Remove o fundo */
  box-shadow: none; /* Remove a sombra */
  padding: 0; /* Remove o espaçamento interno */

}

.sobre-container {
  background: none !important; /* Remove qualquer cor de fundo */
  box-shadow: none !important; /* Remove a sombra */
  padding: 0 !important; /* Remove o espaçamento interno */
  border: none !important; /* Remove qualquer borda */
  
}


/* Ajustando a imagem */
.sobre-img {
    width: 150px; /* Mantém o tamanho pequeno */
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ccc;
    flex-shrink: 0; /* Impede que a imagem diminua muito */
}

/* Ajustando o texto */
#sobre .sobre-texto p {
    color: #333; /* Ou outra cor escura de sua preferência */
    opacity: 1; /* Garante que não haja transparência */
  
}
.sobre.ativo .descricao p {
    display: block;
}


.tecnologias {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: auto; /* Mantém os ícones sempre no final */
  padding-top: 10px;
}

.tecnologias i {
  font-size: 40px; /* Ajusta o tamanho dos ícones */
  transition: transform 0.3s ease-in-out;
}

/* Cores específicas para cada tecnologia */
.tecnologias .fa-html5 { color: #E34F26; }  /* Vermelho HTML */
.tecnologias .fa-css3-alt { color: #1572B6; } /* Azul CSS */
.tecnologias .fa-js { color: #F7DF1E; } /* Amarelo JS */
.tecnologias .fa-react { color: #61DAFB; } /* Azul React */

.tecnologias i:hover {
  transform: scale(1.2); /* Efeito de zoom ao passar o mouse */
}
.redes-sociais {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.redes-sociais a {
  font-size: 40px;
  color: rgba(0, 0, 0, 0.6); /* Preto meio transparente */
  text-decoration: none;
  transition: transform 0.3s ease-in-out, color 0.3s ease;
}

.redes-sociais a:hover {
  transform: scale(1.2);
  color: black; /* Fica preto sólido no hover */
}
.avatar-flutuante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 120px;
  z-index: 999;
  animation: flutuar 3s ease-in-out infinite;
}

.avatar-flutuante img {
  width:100%;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.balao-fala {
  position: absolute;
  bottom: 120px;
  right: 0;
  background-color: #fff;
  color: #333;
  padding: 10px 15px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  font-size: 14px;
  font-weight: bold;
  opacity: 0;
  animation: aparecer 2s ease-out forwards;
}

/* Setinha do balão */
.balao-fala::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 20px;
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

/* Animações */
@keyframes flutuar {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes aparecer {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 992px) {
  .intro {
    flex-direction: column;
    gap: 20px;
  }

  .foto {
    width: 400px;
    height: 400px;
  }

  .projeto-item {
    flex-direction: column;
    width: 90%;
    height: auto;
    text-align: center;
  }

  .projeto-imagem,
  .projeto-descricao {
    max-width: 100%;
  }

  .projeto-imagem img {
    max-width: 90%;
    margin-bottom: 15px;
  }
}

/* Telas menores que 825px (celulares grandes) */
@media (max-width: 825px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 10px;
  }

  .menu {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .ola-titulo {
    font-size: 2em;
    text-align: center;
  }
  
  }

  .botao-curriculo {
    padding: 10px 18px;
    font-size: 1em;
  }

  .titulo-projetos {
    font-size: 2em;
  }

  .projeto-botoes a {
    padding: 8px 12px;
    font-size: 0.9em;
  }

  .avatar-flutuante {
    width: 80px;
    bottom: 15px;
    right: 15px;
  }

  .balao-fala {
    font-size: 12px;
    bottom: 90px;
    padding: 8px 12px;
  }

  .descricao {
    padding: 0 10px;
  }

  .foto {
    width: 200px;
    height: 200px;
  }

  .tecnologias {
    flex-wrap: wrap;
    gap: 15px;
  }


/* Telas menores que 480px (celulares pequenos) */
@media (max-width: 480px) {
  .ola-titulo {
    font-size: 1.6em;
  }
  
  }

  .foto {
    width: 150px;
    height: 150px;
  }

  .projeto-item {
    padding: 10px;
  }

  .projeto-botoes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .projeto-botoes a {
    width: 100%;
    text-align: center;
  }
