/* Reset básico */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Links padrão */
a {
  color: #61dafb;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover,
a:focus {
  color: #21a1f1;
  outline: none;
}

/* Layout geral do body */
body {
  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #1e1e1e 0%, #121212 100%);
  height: 100%;
}

/* HEADER */
.heade-line {
  padding: 2rem 3rem;
  background: #121212;
  box-shadow: 0 2px 10px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Navegação lateral (menu) */
nav {
  width: 100%;
  max-width: 960px;
  margin-bottom: 1.5rem;
}

.side-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  list-style: none;
}

.side-bar li a {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.side-bar li a:hover,
.side-bar li a:focus {
  background-color: #61dafb;
  color: #121212;
  outline: none;
}

/* Nome no header */
.heade-line > h1 {
  font-size: 2.8rem; 
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 0.3rem;
  color: #61dafb;
  user-select: none;
  text-transform: uppercase;
  text-shadow: 0 0 10px #61dafb99;
}

/* Sobre mim */
.sobre-mim {
  font-size: 1.15rem;
  max-width: 600px;
  text-align: center;
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Links sociais */
.link {
  display: flex;
  gap: 2rem;
}

.link a {
  font-size: 1rem;
  padding: 0.5rem 1.2rem;
  border: 1.8px solid #61dafb;
  border-radius: 25px;
  color: #61dafb;
  transition: all 0.3s ease;
  user-select: none;
  font-weight: 600;
}

.link a:hover,
.link a:focus {
  background-color: #61dafb;
  color: #121212;
  outline: none;
}

/* TECNOLOGIES */
.tecnologies {
  max-width: 960px;
  margin: 3rem auto;
  padding: 1.5rem 2rem;
  background: #222;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(97, 218, 251, 0.3);
  color: #81d4fa;
  font-weight: 600;
  font-size: 1.3rem;
  text-align: center;
  
  /* Animação de borda pulsante */
  border: 3px solid #61dafb;
  animation: pulseBorder 3s ease-in-out infinite;
}

/* Animação keyframes para o efeito pulse */
@keyframes pulseBorder {
  0%, 100% {
    box-shadow: 0 0 10px #61dafb, 0 0 20px #61dafb88, 0 0 30px #61dafb55;
    border-color: #61dafb;
  }
  50% {
    box-shadow: 0 0 25px #21a1f1, 0 0 40px #21a1f188, 0 0 60px #21a1f144;
    border-color: #21a1f1;
  }
}

/* Container das logos com flexbox */
.tech-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

/* Logos com tamanho fixo igual */
.tech-logos img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 0 2px #61dafbaa);
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  border-radius: 12px;
  background-color: #121212;
  padding: 8px;
}

/* Hover suave nas logos */
.tech-logos img:hover,
.tech-logos img:focus {
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px #21a1f1cc);
  outline: none;
}

/* EXPERIENCIAS */  
.experiencias {
  max-width: 960px;
  margin: 3rem auto;
  padding: 1.5rem 2rem;
  background: #1f1f1f;
  border-radius: 12px;
  box-shadow: inset 0 0 15px #0d47a1;
}

.experiencia{
  font-size: 20px;
}
.experiencias .experiencia p{
  font-size: 20px;
}
.listagem {
  list-style: none;
  display: flex ;
  /* .h1-experiencias: repeat(auto-fit, minmax(280px, 1fr)); */
  flex-direction: column;
  gap: 1.5rem;
}

.listagem .experiencia {
  background: #2c2c2c;
  padding: 1rem 1.3rem;
  border-radius: 8px;
  box-shadow: 0 0 8px #0d47a1aa;
  transition: transform 0.25s ease;
  cursor: default;
}

.listagem .experiencia:hover,
.listagem .experiencia:focus {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px #0d47a1cc;
}

.listagem p {
  color: #b0bec5;
  font-size: 0.95rem;
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* caixinhas das ferramentas e tecnologias que foram utilizadas :*/

.tech-stack {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-stack span {
   background-color: #0d47a1; 
  /*background-color: #12121212; */
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(13, 71, 161, 0.4);
  white-space: nowrap;
}


/* PROJECTS */
.projects {
  max-width: 960px;
  margin: 3rem auto 5rem;
  padding: 2rem;
  background: #181818;
  border-radius: 12px;
  box-shadow: 0 0 20px #0288d1aa;
}

.h1-projetos {
  color: #81d4fa;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  text-align: center;
  text-shadow: 0 0 5px #0288d1;
}

.list-projects-container {
  overflow-x: auto;
  display: flex;
  gap: 1.5rem;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
}

.list-projects {
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap; /* impede quebra de linha */
}

.list-projects li.projeto {
  flex: 0 0 280px; /* largura fixa de cada card */
  background: linear-gradient(135deg, #212121, #121212);
  border: 2px solid #0288d1;
  padding: 1.5rem;
  border-radius: 12px;
  color: #81d4fa;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 0 15px #0288d1aa;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: grab;
}

.list-projects li.projeto:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px #64b5f6;
}

.img-projects {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid #0288d1;
}

.list-projects p {
  color: #b0bec5;
  margin: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.list-projects a {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #64b5f6;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.list-projects a:hover {
  border-color: #64b5f6;
}

/* Chrome, Edge, Safari */
.list-projects-container::-webkit-scrollbar {
  height: 10px; /* altura da barra horizontal */
}

.list-projects-container::-webkit-scrollbar-track {
  background: #121212; /* cor do fundo da barra */
  border-radius: 5px;
}

.list-projects-container::-webkit-scrollbar-thumb {
  background: #0288d1; /* cor do “polegar” da barra */
  border-radius: 5px;
  border: 2px solid #181818; /* espaço entre thumb e track */
}

.list-projects-container::-webkit-scrollbar-thumb:hover {
  background: #64b5f6; /* hover azul claro */
}

/* Firefox */
.list-projects-container {
  scrollbar-width: thin;
  scrollbar-color: #0288d1 #121212;
}


/* FOOTER */
.footer {
  padding: 2rem 3rem;
  background: #121212;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  border-top: 1px solid #222;
  margin-top: auto;
}

.footer .imagens {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.3rem;
}

.footer .umas-imagens img {
  height: 48px;
  width: auto;
  filter: brightness(0.7);
  transition: filter 0.3s ease;
  user-select: none;
  cursor: default;
}

.footer .umas-imagens img:hover,
.footer .umas-imagens img:focus {
  filter: brightness(1);
  outline: none;
  cursor: pointer;
}

/* Responsividade simples */
@media (max-width: 700px) {
  .side-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .link {
    flex-direction: column;
    gap: 1rem;
  }

  .listagem {
    grid-template-columns: 1fr;
  }

  .list-projects {
    grid-template-columns: 1fr;
  }
}

.h1-experiencias {
  font: 30px;
  color: #61dafb;
  padding: 5px;
  margin: 5px;
}

/* formacao */
.formacao-academica {
  max-width: 960px;
  margin: 3rem auto;
  padding: 1.5rem 2rem;
  background: #1f1f1f;
  border-radius: 12px;
  border: 2px solid #61dafb;
  box-shadow: 0 0 15px rgba(97, 218, 251, 0.3);
  animation: pulseBorder 3s ease-in-out infinite;
}

.h1-formacao {
  font-size: 2rem;
  font-weight: 700;
  color: #61dafb;
  margin-bottom: 1.5rem;
  text-align: center;
  text-shadow: 0 0 10px #61dafb99;
}

.lista-formacao {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.item-formacao {
  background: #2c2c2c;
  padding: 1rem 1.3rem;
  border-radius: 8px;
  box-shadow: 0 0 8px #0d47a1aa;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.item-formacao:hover,
.item-formacao:focus {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px #0d47a1cc;
}

.item-formacao h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #81d4fa;
}

.item-formacao .instituicao {
  font-size: 20px;
  color: #64b5f6;
  font-weight: 500;
}

.item-formacao .periodo {
  color: #b0bec5;
  font-style: italic;
}

.item-formacao p {
  color: #ccc;
  font-size: 1.3rem;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* foto perfil */
.heade-line {
  padding: 2rem 3rem;
  background: #121212;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  position:initial;
  top: 0;
  z-index: 100;
}

/* Navegação no topo, centralizada */
nav {
  width: 100%;
  max-width: 960px;
  margin-bottom: 2rem;
}

.side-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  list-style: none;
}

.side-bar li a {
  font-weight: 600;
  font-size: 1.7rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.side-bar li a:hover,
.side-bar li a:focus {
  background-color: #61dafb;
  color: #121212;
  outline: none;
}

/* Container principal que organiza foto e info lado a lado */
.perfil-e-info {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 960px;
  width: 100%;
}

/* Foto de perfil */
.foto-perfil {
  width: 200px;
  height: 200px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00bfff;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.6);
  animation: brilhoBorda 3s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.foto-perfil:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 191, 255, 0.9);
}

/* Animação da borda brilhante */
@keyframes brilhoBorda {
  0%, 100% {
    border-color: #00bfff;
    box-shadow:
      0 0 10px #00bfff,
      0 0 20px #00bfff99,
      0 0 30px #00bfff55;
  }
  50% {
    border-color: #21a1f1;
    box-shadow:
      0 0 20px #21a1f1,
      0 0 40px #21a1f188,
      0 0 60px #21a1f144;
  }
}
.foto-perfil:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 191, 255, 0.9);
}

/* Container do texto e links ao lado da foto */
.info-perfil {
  flex: 1;
  color: #e0e0e0;
}

/* Nome */
.info-perfil > h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
  color: #61dafb;
  user-select: none;
  text-transform: uppercase;
  text-shadow: 0 0 10px #61dafb99;
}

/* Sobre mim */
.sobre-mim {
  font-size: 2.1rem;
  max-width: 700px;
  line-height: 1.5;
  color: #ccc;
  margin-bottom: 1.5rem;
}

/* Links sociais */
.link {
  display: flex;
  gap: 1.5rem;
}

.link a {
  font-size: 1rem;
  padding: 0.5rem 1.2rem;
  border: 1.8px solid #61dafb;
  border-radius: 25px;
  color: #61dafb;
  transition: all 0.3s ease;
  user-select: none;
  font-weight: 600;
}

.link a:hover,
.link a:focus {
  background-color: #61dafb;
  color: #121212;
  outline: none;
}

/* Responsividade para telas menores */
@media (max-width: 720px) {
  .perfil-e-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .info-perfil > h1 {
    font-size: 2.2rem;
  }
  .sobre-mim {
    max-width: 100%;
  }
  .link {
    justify-content: center;
  }
}


.btn-curriculo {
  background-color: #181818;
  font-size: 1rem;
  padding: 0.5rem 1.2rem;
  border: 1.8px solid #61dafb;
  border-radius: 25px;
  color: #61dafb;
  transition: all 0.3s ease;
  user-select: none;
  font-weight: 600;

}

.btn-curriculo :hover,
.btn-curriculo:focus{
  background-color: #61dafb;
  color: #121212;
  outline: none;
}



/* diminuir header */


/* responsividade celular */
@media (max-width: 720px) {
  .heade-line {
    position: initial;
    /* background-color:black; */
    height: 425px; /* menor para mobile */
    background-color: #121212;
  }

  .link {
    display: flex;
    flex-direction: row;
    border-radius: 5px;
  }
  .sobre-mim{
    display: none;
  }

  .side-bar{
    display: none;
  }
  
  .side-bar{
    font-size: 1rem;
  }
  .foto-perfil{
    width: 150px;
    height: 150px;
  }

  .menu {
    display: block;
    align-items: initial;
    justify-content: initial;
  }

  /* Espaço para o conteúdo ficar abaixo do header */
  /*main */
  section, 
  .tecnologies, 
  .experiencias, 
  .projects, 
  .form,
  .formacao-academica {
    padding-top: 80px; /* mesmo valor da altura do header */
  }
}



/* contatos perto do footer */
.contatos {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  color: #61dafb;
  transition: all 0.3s ease;
  user-select: none;
  font-weight: 600;
}

/* #0f0f0f, #242222 */
/* estilizacao sobre mim */
.sobre-section {
  background: linear-gradient(to right, #121212, #121212);
  padding: 60px 20px;
  font-family: 'Inter', sans-serif;
  color: #e0e0e0;
}

.sobre-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.sobre-img img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(2, 53, 129, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sobre-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(6, 114, 238, 0.8)
}

.sobre-texto {
  max-width: 600px;
}

.sobre-texto h2 {
  font-size: 2rem;
  color: #fdfdfd;
  margin-bottom: 15px;
  border-left: 4px solid #ffffff;
  padding-left: 12px;
}

.sobre-texto p {
  font-size: 1.50rem;
  line-height: 1.7;
  color: #cccccc;
}

.sobre-texto p::first-letter {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.3rem;
}

/* Responsivo */
@media (max-width: 768px) {
  .sobre-container {
    flex-direction: column;
    text-align: center;
  }

  .sobre-texto h2 {
    border-left: none;
    padding-left: 0;
  }

   
}

/* soft skills section */

/* Seção Soft Skills */
.soft-skills {
  background-color: #121212; /* Azul bem escuro */
  color: #e0e0e0;
  padding: 60px 20px;
  text-align: center;
}

.soft-skills h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #ffffff; /* Azul tecnológico */
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.skill-card {
  background: #121212;
  padding: 30px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.skill-card i {
  font-size: 2.5rem;
  color: #61dafb;
  margin-bottom: 15px;
}

.skill-card h3 {
  font-size: 1.2rem;
  margin: 0;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,170,255,0.3);
}

/* ==========publicacao===========*/ 
.publicacoes {

  max-width: 100%;
  /*margin: 3rem auto; */
  margin : 0px;
  display: flex;
  gap: 1.5rem;
  padding: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.card {
  flex: 0 0 280px; /* largura fixa mínima */
  background: #1f1f1f;
  border-radius: 12px;
  box-shadow: inset 0 0 15px #0d47a1, 0 0 8px rgba(13, 71, 161, 0.4);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 20px #0d47a1, 0 0 15px rgba(13, 71, 161, 0.6);
}

.publi-data {
  font-size: 0.85rem;
  color: #81d4fa;
  margin-bottom: 0.5rem;
}

.publi-titulo {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.publi-descricao {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.4;
}

/* Estilização da barra de rolagem */
.publicacoes::-webkit-scrollbar {
  height: 8px;
}

.publicacoes::-webkit-scrollbar-thumb {
  background: #0d47a1;
  border-radius: 4px;
}

.publicacoes::-webkit-scrollbar-track {
  background: #121212;
}

#h1-public {
  margin: 0px 5px 0px;
}


/* ==========formulario de contato ===== */

.contato {
  max-width: 600px;
  margin: 3rem auto;
  padding: 1.5rem 2rem;
  background: #1f1f1f;
  border-radius: 12px;
  box-shadow: inset 0 0 15px #0d47a1, 0 0 8px rgba(13, 71, 161, 0.4);
  text-align: center;
}

.contato h2 {
  color: #81d4fa;
  margin-bottom: 1rem;
}

.contato-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contato-form input,
.contato-form textarea {
  background-color: #121212;
  border: 2px solid rgba(13, 71, 161, 0.4);
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 0.95rem;
  color: #fff;
  outline: none;
  transition: border-color 0.3s ease;
}

.contato-form input:focus,
.contato-form textarea:focus {
  border-color: #0d47a1;
  box-shadow: 0 0 8px #0d47a1;
}

.contato-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contato-form button {
  background-color: #0d47a1;
  border: none;
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.contato-form button:hover {
  background-color: #1565c0;
  box-shadow: 0 0 10px rgba(13, 71, 161, 0.8);
}

/* Responsividade */
@media (max-width: 720px) {
  .contato {
    padding: 1rem;
  }
}


/* logica de menu e sidebar */

.menu-icone {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #333;
  padding: 10px;
}
@media screen and (max-width: 768px) {
  .side-bar {
    flex-direction: column;       /* vertical */
    position: fixed;              /* fixa na tela */
    top: 0;
    left: -250px;                 /* esconde fora da tela */
    width: 200px;
    height: 100vh;
    background-color: #333;
    padding-top: 60px;
    gap: 1.5rem;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  /* Quando o menu está ativo */
  .side-bar.active {
    left: 0;                      /* desliza para dentro */
  }

  .side-bar li a {
    color: #fff;
    font-size: 1.5rem;
  }

  .menu-icone {
    display: block;               /* mostra o ícone */
    cursor: pointer;
  }
}

/* doidera */
@media screen and (max-width: 768px) {
  .side-bar {
    position: fixed; /* importante */
    top: 0;
    left: -250px;   /* escondida inicialmente */
    width: 200px;
    height: 100vh;
    background-color: #333;
    flex-direction: column;
    padding-top: 60px;
    gap: 1.5rem;
    transition: left 0.3s ease;
    z-index: 1000;  /* acima do header */
  }

  .side-bar.active {
    left: 0;
  }
}

/*.experiencia {
  display: flex;
  justify-content: space-between;
  margin: 5px;
} */

.experiencia img{
  display: flex;
  align-items: initial;
  width: 100px;
  height: 100px;
  margin: 5px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  object-fit: cover;
  /*border: 3px solid #00bfff; */
  /*box-shadow: 0 0 20px rgba(0, 191, 255, 0.6); */
  /*animation: brilhoBorda 3s ease-in-out infinite; */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}