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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

body{
    background-color: black;
    color: white;
}

.header {
  background-color: #004502;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #00ff6a;
}

.typing {
  display: inline-block;
  overflow: hidden; 
  white-space: nowrap;
  border-right: 2px solid #00ff6a; 
  animation: typing 2s steps(12, end), blink 0.75s step-end infinite;
}


@keyframes typing {
  from { width: 0; }
  to { width: 12ch; }
}

@keyframes blink {
  50% { border-color: transparent; }
}


.navbar {
  display: flex;
  gap: 25px;
}

.navbar a {
  position: relative;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.navbar a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #00ff6a;
  transition: width 0.3s;
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

.navbar a:hover,
.navbar a.active {
  color: #00ff6a;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #004502;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
  }

  .navbar.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

.Informations {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(100vh - 80px);
  padding: 0 5%;
}

.contatos {
  flex: 1;
  padding-right: 40px;
}

.contatos h1 {
  font-size: 2em;
  color: #e1e1e1;
  margin-bottom: 15px;
}

.contatos h3 {
  font-size: 2em;
  color: #e1e1e1;
  margin-bottom: 15px;
}

.contatos p {
  font-size: 1.1em;
  line-height: 1.6;
}

.minhafoto {
  flex: 1;
  display: flex;
  justify-content: center;
}

.minhafoto img {
  width: 75%;
  height: 80%;
  
  border-radius: 35px;
  object-fit: cover;
  box-shadow: rgba(0, 255, 4, 0.4) 0px 5px, rgba(0, 255, 4, 0.3) 0px 10px, rgba(0, 255, 4, 0.2) 0px 15px, rgba(0, 255, 4, 0.1) 0px 20px, rgba(0, 255, 4, 0.05) 0px 25px;
}

.social-media {
  margin-top: 30px;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #004502;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.social-media a:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.social-media img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.social-media a:nth-child(1):hover { background: #0d72f7; } 
.social-media a:nth-child(2):hover { background: linear-gradient(45deg, #feda75, #f82182, #ba27f4, #3f4fff); }
.social-media a:nth-child(3):hover { background: #0077b5; }
.social-media a:nth-child(4):hover { background: #161616; } 
.social-media a:nth-child(5):hover { background: #25d366; }
.social-media a:nth-child(6):hover { background: #bd0c0c; }

.social-media a:hover img {
  filter: brightness(0) invert(1);
}

.button-container {
  display: flex;
  justify-content: flex-start;
}

.button {
  position: relative;
  width: 260px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: 2px solid #004502;      
  background-color: #004502;     
  overflow: hidden;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-top: 45px;
}

.button, .button__icon, .button__text {
  transition: all 0.3s ease;
}

.button .button__text {
  transform: translateX(22px);
  color: #000000;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.button .button__icon {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  background-color: #015b04;     
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.button .svg {
  width: 22px;
  fill: #000000;
}

.button:hover {
  background: #004502;            
  border-color: #004502;
}

.button:hover .button__text {
  color: transparent;
}

.button:hover .button__icon {
  width: 100%;
  right: 0;
  background-color: #00ac14;     
}

.button:active .button__icon {
  background-color: #007a0f;
}

.button:active {
  border-color: #007a0f;
}

.minhas-habilidades {
  text-align: center;
  color: #ffffff;
  padding: 60px 20px;
  background-color: #000; 
}

.minhas-habilidades h1 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #00ff66;
  letter-spacing: 1px;
}

.habilidades-grupo {
  margin-bottom: 60px;
}

.habilidades-grupo h2 {
  color: #00ff66;
  font-size: 1.4rem;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.carrossel {
  display: flex;
  flex-wrap: wrap;           
  justify-content: center;     
  gap: 25px;                   
  max-width: 1000px;
  margin: 0 auto;
}

.habilidade {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 102, 0.15);
  border-radius: 10px;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;                        
  transform: translateY(30px);        
  animation: fadeUp 0.8s ease forwards;
}

.habilidade:nth-child(1) { animation-delay: 0.1s; }
.habilidade:nth-child(2) { animation-delay: 0.2s; }
.habilidade:nth-child(3) { animation-delay: 0.3s; }
.habilidade:nth-child(4) { animation-delay: 0.4s; }
.habilidade:nth-child(5) { animation-delay: 0.5s; }
.habilidade:nth-child(6) { animation-delay: 0.6s; }
.habilidade:nth-child(7) { animation-delay: 0.7s; }
.habilidade:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efeito hover */
.habilidade:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 255, 102, 0.3);
}

.habilidade img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 8px;
}

.habilidade p {
  font-size: 0.9rem;
  color: #e0e0e0;
  margin: 0;
}

@media (max-width: 900px) {
  .carrossel {
    gap: 18px;
  }
  .habilidade {
    width: 100px;
    height: 100px;
  }
  .habilidade img {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 600px) {
  .carrossel {
    gap: 14px;
  }
  .habilidade {
    width: 90px;
    height: 90px;
  }
  .habilidade img {
    width: 38px;
    height: 38px;
  }
  .habilidades-grupo h2 {
    font-size: 1.2rem;
  }
}


.softskiiii {
  text-align: center;
  margin: 60px auto;
  color: #ffffff;
  padding: 0 20px;
  font-size: 2rem;
}

.softskills-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto; 
  padding: 0 20px;
}

.softskill-row {
  display: flex;
  justify-content: center;
  gap: 20px; 
  flex-wrap: wrap;
}

.softskill {
  flex: 1 1 30%;
  max-width: 300px;
  background-color: #022702;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: rgba(0, 255, 4, 0.4) 0px 2px, rgba(0, 255, 4, 0.3) 0px 7px, rgba(0, 255, 4, 0.2) 0px 12px, rgba(0, 255, 4, 0.1) 0px 17px, rgba(0, 255, 4, 0.05) 0px 22px;
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0;
  transform: translateY(50px);
}

.softskill h4 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: #d4d2d2;
}

.softskill p {
  font-size: 0.95rem;
  color: #ffffff;
}

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

@media (max-width: 900px) {
  .softskill {
    flex: 1 1 45%;
    max-width: 45%;
  }
}

@media (max-width: 600px) {
  .softskill {
    flex: 1 1 100%;
    max-width: 100%;
  }
}



.meusprojetos {
  width: 90%;
  max-width: 1000px;
  margin: 80px auto;
  color: #e1e1e1;
  text-align: center;
}

.meusprojetos h1 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #ffffff;
}

.projeto {
  background-color: #022702;
  border-radius: 16px;
  box-shadow: rgba(0, 255, 4, 0.4) 0px 5px,
              rgba(0, 255, 4, 0.3) 0px 10px,
              rgba(0, 255, 4, 0.2) 0px 15px,
              rgba(0, 255, 4, 0.1) 0px 20px,
              rgba(0, 255, 4, 0.05) 0px 25px;
  margin-bottom: 60px;
  padding: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0;
  transform: translateX(80px);
  transition: all 1s ease;
}

.projeto.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-left { transform: translateX(-80px); }
.fade-right { transform: translateX(80px); }

.projeto-midia {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; 
}

.projeto-galeria {
  display: flex;
  gap: 15px; 
  flex-wrap: wrap;
  justify-content: center;
}

.projeto-galeria img {
  width: 400px;  
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 255, 4, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.projeto-galeria img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 255, 4, 0.7);
}

.projeto video {
  width: 400px; 
  height: 200px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 255, 4, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.projeto video:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 255, 4, 0.7);
}

.projeto-info {
  flex: 1 1 45%;
  text-align: left;
  padding: 20px;
}

.projeto-info h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

.projeto-info p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.projeto-links a {
  display: inline-block;
  position: relative;
  margin-right: 15px;
  text-decoration: none;
  color: #00ff6a;
  font-weight: bold;
  padding-bottom: 3px;
  transition: color 0.3s ease;
}

.projeto-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #00ff6a;
  transition: width 0.3s ease;
}

.projeto-links a:hover {
  color: #fff;
}

.projeto-links a:hover::after {
  width: 100%;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
}

/* Cores específicas para cada tecnologia */
.tag.html { background-color: #e44d26; }
.tag.css { background-color: #264de4; }
.tag.js { background-color: #f0db4f; color: #000; }
.tag.audio { background-color: #ff4c4c; }
.tag.git { background-color: #f1502f; }
.tag.react { background-color: #61dafb; color: #000; }
.tag.node { background-color: #3c873a; }


@media (max-width: 800px) {
  .projeto {
    flex-direction: column;
    padding: 20px;
  }

  .projeto-info {
    text-align: center;
    padding: 10px 0;
  }

  .projeto-galeria img,
  .projeto video {
    width: 90%;
    max-width: 350px;
  }
}

#btnTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #00ff1a;
  color: #000;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 255, 4, 0.5);
  display: none;
   transition: all 0.3s ease;
   z-index: 1000;
}

#btnTop:hover {
   background-color: #00cc55;
   box-shadow: 0 0 25px rgba(0, 255, 4, 0.8);
   transform: scale(1.1);
}

.section-contact {
  background-color: #001a00;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.section-contact .section-title {
  font-size: 2rem;
  margin-bottom: 15px;
}

.section-contact .contact-description {
  font-size: 1rem;
  margin-bottom: 30px;
}

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

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1rem;
}

.contact-form button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: #04ff04;
  color: #001a00;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #02cc02;
}

.contact-form .form-feedback {
  font-size: 0.9rem;
  color: #ff4444;
  margin-top: 10px;
}

