* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    background: linear-gradient(to bottom, #121212, #1e1e1e, #2a2a2a);
    color: #ccc;
  }
  
  .container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 6vw;
  }
  
  #sobre {
    padding-bottom: 0rem; 
  }
/*Nav*/
    nav {
      background: #363636;
      padding: 1rem 2rem;
      display: flex;
      justify-content: flex-end;
    }
  
    .nav-direita {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 1.5rem;
      width: 100%;
    }
    
    .menu {
      display: flex;
      gap: 1.5rem;
      list-style: none;
      padding: 0;
      margin: 0;
    }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
  }
  
  nav a {
    color: #f4f4f4;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  nav a:hover {
    color: #00ffae;
  }
  

/*Languages*/
.idiomas {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    }

    .idiomas img {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.2s ease;
    }

    .idiomas img:hover {
    transform: scale(1.1);
    }
  
  section {
    padding: 4rem 0;
  }
  
  h2, p {
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .perfil-centro {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
  }

  .foto-perfil {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #00ffae;
  }
  
  .descricao,
  .about {
    text-align: justify;
    line-height: 1.6;
  }
  
  .technology {
    padding-bottom: 1rem;
  }

  .technology-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 6vw;
  }
  
  .technology h3 {
    text-align: left;
    margin-bottom: 1rem;
  }
  
  .technology p {
    text-align: left;
    margin-bottom: 0.5rem;
  }
  
  /* Projetos */
  .projetos-container {
    max-width: 1000px;
    margin: 0 auto;
  }

  .grid-projetos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .card {
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;  
  }
  
  
  .card h3 {
    color: #00ffae;
    margin-bottom: 1rem;
  }
  
  .card p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }
  
  .card a {
    color: #111;
    background: #00ffae;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
  
  /* Contato */
  .icones-contato {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .icones-contato a {
    background-color: #333;
    width: 50px;      
    height: 50px;      
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .icones-contato a:hover {
    transform: scale(1.1);
    background-color: #00ffae;
  }
  
  .icones-contato img {
    width: 22px;        
    height: 22px;        
    filter: brightness(0) invert(1);
  }
  
  /* Rodapé */
  footer {
    text-align: center;
    padding: 2rem;
    background: #222;
  }
  
/* RESPONSIVENESS FOR SMALLER SCREENS */
@media (max-width: 768px) {
    nav {
      flex-direction: row;
      align-items: flex-start;
      gap: 0.5rem;
    }
    
    .nav-direita {
      display: flex;
      flex-direction: row;
      justify-content: flex-end;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
  
    nav ul {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 0.5rem;
      padding-left: 0;
    }
  
    .idiomas {
      align-self: flex-end;
      padding-right: 0.5rem;
    }
  
    .descricao,
    .about {
      padding: 0 1rem;
      text-align: justify;
    }
  
    .technology-container {
      padding: 0 1rem;
    }
  
    .grid-projetos {
      grid-template-columns: 1fr;
    }
  
    .card {
      width: 100%;
    }
  
    .foto-perfil {
      margin: 1.5rem auto;
    }
  
    .icones-contato {
      flex-wrap: wrap;
      gap: 1rem;
    }
  
    footer {
      padding: 1.5rem 1rem;
    }
  }
  
  