@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

/* BASE */
html {
  scroll-behavior: smooth;
}
 
body {
  background-color: #000;
  color: white;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

/* INÍCIO */
#inicio {
  scroll-margin-top: 80px;
  min-height: 100vh; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


/* NAVBAR FIXA */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #000;
  width: 100%;
  height: 9vh;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

/* APRESENTAÇÃO */
main, .content, .principal, section:first-of-type {
  padding-top: 20vh; 
}

/* MENU */
.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* OCULTAR A BARRA */
::-webkit-scrollbar {
  display: none;
}

/* LOGO */
.logo {
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  transition: 
  transform 0.3s ease,
  filter 0.3s ease;
  color: #6a027e;
  font-size: 2rem;
  font-weight: 700;
}

/* EFEITO HOVER */
.logo:hover {
  transform: scale(1.25); 
  filter: brightness(1.2); 
  color: #ab5be9;
}

/* MENU LINKS */
.links {
  display: flex;
  gap: 2rem;
}

.links a {
  color: #ededed;
  font-size: 1.2rem;
  font-weight: 550;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

.links a::before {
  content: "";
  position: absolute;
  bottom: -3px;
  width: 0;
  height: 3px;
  background: #6a027e;
  transition: 0.2s ease;
}

.links a:hover::before {
  width: 100%;
}

.links a:hover {
  color: #6a027e;
}


/* ICONE DO MENU MOBILE */
.menu-icon {
  display: none;
  cursor: pointer;
  color: #ededed;
  font-size: 1.8rem;
}

/* DROPDOWN MENU MOBILE */
.dropdown {
  display: none;
  flex-direction: column;
  background-color: #000;
  position: fixed;
  top: 10vh; 
  right: 0;
  width: 100px;
  height: 100vh;
  padding: 1rem;
  box-shadow: 0 0 10px #6a027e;
  z-index: 9999;
  width: 150px;
  height: 35vh;
}

.dropdown a {
  color: #ededed;
  padding: 10px 0;
  text-decoration: none;
  font-size: 1.2rem;
  border-bottom: 1px solid #6a027e;
  transition: color 0.3s ease;
}

.dropdown a:hover {
  color: #95739b;
}

.dropdown i.fa-xmark {
  align-self: flex-end;
  cursor: pointer;
  margin-top: 10px;
  font-size: 1.5rem;
  color: #6a027e;
}

/* MOSTRAR MENU HAMBURGUER E ESCONDER LINKS DESKTOP NO MOBILE */
@media (max-width: 768px) {
  .links {
    display: none;
  }
  .menu-icon {
    display: block;
  }
}

/* CONTEÚDO PRINCIPAL */
.main-container {
  margin-top: 10vh; 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 4rem;
  gap: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

/* FOTO */
.image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 40px #6a027e;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.1); 
  object-position: -200%;
}

.image:hover {
  transform: scale(1.05);
}


/* TEXTO LADO DIREITO */
.content {
  max-width: 600px;
}

.content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.content h1 span {
  color: #6a027e;
  text-shadow: 0 0 3px #6a027e;
}


/* TYPEWRITER com animação */
.roxo {
  color: #6a027e;
  text-shadow: 0 0 10px #6a027e;
}


/* ÍCONES ALINHADOS EM LINHA, COM HOVER */
.icons {
  display: flex;
  gap: 1.5rem;
}


/* ESTILO DOS ICONES */
.social-links {
  display: flex;
  gap: 20px;
  justify-content: flex-start;  
  margin-top: 30px;
}

.social-links a {
  font-size: 2rem;      
  color: #6a027e;      
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: #ab5be9;         
  transform: translateY(-5px); 
}

/* CONTATO */
#Contato {
  opacity: 0;
  transform: translateY(50px) rotate(-2deg);
  transition: opacity 1s ease, transform 1s ease;
}

#Contato.visible {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* ESPAÇOS */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  box-sizing: border-box;
  background-color: #000; 
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* TÍTULO DA HABILIDADES */
section .title {
  display: flex;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #6a027e; 
  margin-top: 90px; 
}

/*HABILIDADES */
.skill-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-radius: 10px;
  box-sizing: border-box;
  display: flex;
  gap: 10px;
}

.skill-name {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 10px;
  flex-wrap: wrap; /* evita que quebre de forma feia em telas pequenas */
}

#habilidades .title {
  margin-top: -20px;   
  margin-bottom: 100px;
}

.skill-card {
  background-color: #1a1a1a;
  padding: 15px;
  border-radius: 10px;
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(106,2,126,0.6);
}


.skill-card i {
  color: #6a027e !important;
  font-size: 1.5rem;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px; /* ⬅ aumenta o espaço entre os quadros */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Barra */
.skill-bar {
  height: 10px;
  background: #333;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 10px;
}

/* Progresso */
.skill-progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6a027e, #b84cff);
  border-radius: 5px;
  animation: fill 1s ease-out forwards;
}

/* Animação */
@keyframes fill {
  to {
    width: var(--target);
  }
}




.contato {
  text-align: center;
  color: #fff;
  padding: 50px 20px;
  
}

.contato h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 3px;
  color: #6a027e;
  margin-top: -20px;
  margin: 0 auto 20px auto;
  text-align: center;
}
  


.contato hr {
  width: 380px;
  border: 2px solid #6a027e; 
  margin: 0 auto 30px;
  margin-top: -20px;
}

.info-contato {
  margin-bottom: 30px;
  text-align: left;
  display: inline-block;
}

.info-contato p {
  margin: 10px 0;
  font-size: 18px;
}

.info-contato i {
  color: #6a027e; 
  margin-right: 10px;
}

.info-contato a {
  color: #6a027e;
  text-decoration: none;
}

.form-contato {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 0 auto;
  gap: 15px;
}

.form-contato input,
.form-contato textarea {
  padding: 10px;
  border-radius: 5px;
  border: none;
}

.form-contato button {
  background: #6a027e;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}

.form-contato button:hover {
  background: #ab5be9;
}

.projects-section {
  text-align: center;
  padding: 150px 80px;
  background: #000;
  color: #6a027e;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 80px;
  margin-top: 50px;
}

.project-card {
  background: #111;
  border-radius: 10px;
  
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-image {
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  display: block;
  border-bottom: 1px solid #000;
}

.project-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(169,23,225,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.4s ease;
  
}

.project-image:hover .project-hover {
  opacity: 1;
}

.project-hover a {
  background: #000;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;}

  .projects-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 1px; 
  color: #6a027e;
  margin-bottom: 50px;
  text-align: center;
}

.project-hover a:hover {
  background: #fff;
  color: #000;
}

.project-info {
  padding: 15px;
}

.project-tech {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.project-tech span {
  background: #000;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 1.3rem;
  transition: transform 0.3s;
}

.project-tech span:hover {
  transform: scale(1.1);
}

/* Footer */
footer {
  background-color: #111; 
  color: #ccc;            
  text-align: center;
  padding: 15px 20px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-top: 50px; 
  border-top: 1px solid #6a027e; 
}

footer a {
  color: #6a027e;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #ab5be9;
}

/* RESPONSIVIDADE */

/* Tablets e celulares */
@media (max-width: 768px) {

  /* Navbar */
  .navbar {
    padding: 10px 20px;
  }

  .links {
    display: none; /* esconder links desktop */
  }

  .menu-icon {
    display: block; /* mostrar menu mobile */
  }

  /* Hero / Main container */
  .main-container {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .content {
    max-width: 100%;
    text-align: center;
  }

  .content h1 {
    font-size: 2rem;
  }

  .typewriter {
    font-size: 1.4rem;
  }

  .image {
    width: 200px;
    height: 200px;
    margin-top: 30px;
  }

  .social-links {
    justify-content: center;
  }

  /* Skills */
  .skills-container {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 90%;
    margin: 0 auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

 .skill-card {
  max-width: 100%;
  box-sizing: border-box;
}
  .skill-card h3 {
    font-size: 1.2rem;
  }

  .skill-name span:last-child {
    font-size: 0.8rem;
  }

  /* Projetos */
  .projects-section {
    padding: 80px 100px;
  }

  .projects-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-info p {
    font-size: 0.9rem;
  }

  .project-tech span {
    font-size: 1rem;
  }

  /* Contato */
  .contato {
    padding: 120px 20px;
  }

  .form-contato input,
  .form-contato textarea {
    font-size: 0.9rem;
  }

  .form-contato button {
    font-size: 0.9rem;
  }

  .info-contato {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Footer */
  footer {
    font-size: 0.8rem;
    padding: 20px 10px;
  }
}
  /*habilidades*/
@media (max-width: 50px) {
  #habilidades {
    padding: 550px 50px; /* espaço interno suficiente */
    margin: 0 auto;
  }

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px; /* ⬅ aumenta o espaço entre os quadros */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


  .skill-card {
    padding: 10px; /* ajustar o padding interno */
  }

  .skill-card h3 {
    font-size: 1.2rem;
    text-align: center;
  }

  .skill-name span:first-child {
    font-size: 0.9rem;
  }

  .skill-name span:last-child {
    font-size: 0.8rem;
  }

  .skill-bar {
    height: 10px;
  }

  .skill-progress {
    height: 100%;
  }
}

