  /* Reset e Base */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'poppins', sans-serif;
  }

  body {
    background: linear-gradient(135deg, #000000dc 0%, #9e8b61 30%);
    color: #fff;
    overflow-x: hidden;
  }

  /* Particles Background */
  #particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;

    left: 0;
    z-index: -1;
  }

  /* Menu Toggle */
  .menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 1.8rem;
    background: rgba(114, 16, 16, 0.577);
    border: none;
    color: #fff;
    z-index: 1001;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
  }

  .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
  }

  .container {
    display: flex;
    min-height: 100vh;
  }

  /* Sidebar */
  .sidebar {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    height: 50px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }

  .sidebar .logo {
    background: linear-gradient( #667eea, #764ba2);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-top: 30px;
    margin-right: 40px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
  }

  .sidebar .logo:hover {
    transform: scale(1) rotate(5deg); 
  }

  .sidebar nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .sidebar nav a {
    writing-mode: initial;
    transform: none;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
    padding: 10px 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
  }

  .sidebar nav a:hover,
  .sidebar nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform:  scale(1.05);
  }

  .sidebar nav a:hover::after {
    content: attr(title);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: none;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .sidebar nav a:hover::after {
    opacity: 1;
  }

  /* Main Content */
  .main {
    margin-left: 80px;
    flex: 1;
    min-height: 100vh;
  }

  .section {
    min-height: 100vh;
    padding: 60px 40px;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
  }

  .section.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  /* Home Section */
  #home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
  }

  .home-content {
    flex: 1;
    min-width: 400px;
    max-width: 600px;
  }

  .home-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #937e7edf, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .home-content h2 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-weight: 400;
  }

  .home-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
  }

  .btn {
    background: linear-gradient(135deg, #bcbec749, #764ba2);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    display: inline-block;
  }

  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
  }

  .btn-full {
    width: 100%;
    text-align: center;
  }

  .contact-info {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
  }

  .contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }

  .contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
  }

  .contact-item strong {
    display: block;
    font-size: 0.9rem;
    color: #667eea;
    margin-bottom: 5px;
  }

  .profile-img {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .profile-img img {
    width: 100%;
    margin-left: 50rem;
    max-width:max-content;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.7s ease;
  }

  .profile-img img:hover {
    transform: scale(1.05);
  }

  /* About Section */
  #sobre {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 40px;
  }

  .about-content {
    max-width: 1000px;
    margin: 0 auto;
  }

  .about-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    text-align: left;
  }

  .about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
  }

  .stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }

  .stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
  }

  .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
  }

  .stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
  }

  /* Skills Section */
  #habilidades {
    flex-direction: column;
    justify-content: center;
  }

  .skills-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    background: linear-gradient(135deg, #fff, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .skills-grid  {
    display: flex;
    flex-direction: row;
    gap: 05px;
    margin-bottom: 50px;
  }

  .skills-grid img {
    width: 100px;
    padding-right: 0px;
    transition: transform 0.3s ease;
  }

  .skills-grid img:hover {
    transform: scale(1.5);
  }


  .skill-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .skill-card:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }

  .skill-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: 20px;
    background: linear-gradient( #aaabb171, #764ba297);
    box-shadow: 0 10px 30px rgba(191, 194, 207, 0.195);
  }

  .skill-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .skill-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
  }

  .skill-level {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
  }

  .progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
  }

  .progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 1.5s ease;
    width: 0%;
  }

  /* Work Section */
  #trabalho {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
  }

  .work-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    background: linear-gradient(135deg, #fff, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .work-content img{

    width: 100px;
    padding-right: 10px;
    transition: transform 0.3s ease;
  }

  .work-content img:hover {
    transform: scale(1.1);
  }

  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
  }

  .project-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .project-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }

  .project-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .project-placeholder {
    font-size: 4rem;
    opacity: 0.7;
  }

  .project-info {
    padding: 25px;
  }

  .project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
  }

  .project-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
  }

  .tech-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
  }

  .project-links {
    display: flex;
    gap: 15px;
  }

  .project-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .project-link:hover {
    color: #fff;
  }

  /* Services Section */
  #servicos {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
  }

  .services-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    background: linear-gradient(135deg, #fff, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .services-grid {
    display: flex;
    flex-direction: row;
    gap: 30px;
  }

  .service-card {
    width: 60%;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
  }

  .service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }

  .service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
  }

  .service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
  }

  .service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .service-features {
    list-style: none;
    text-align: left;
  }

  .service-features li {
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
  }

  .service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
  }

  /* Contact Section */
  #contato {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
  }

  .contact-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(135deg, #fff, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .contact-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
  }
  .contact-content input{
    background-color: #ffffff99;
    width: 30rem;
    height: 2rem;
    border-radius: 17px;
    padding: 10px;
  }
  .contact-content textarea{
    background-color: #ffffffd5;
    height: 3rem;
    width: 60rem;
    margin-top: 2rem;
    border-radius: 10px;
    padding: 10px;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .contact-form {
    width: auto;
    background: rgba(0, 0, 0, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .form-group {
    margin-bottom: 25px;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }

  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: rgba(111, 109, 109, 0.6);
  }

  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
  }

  .contact-info-detailed {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .contact-item-detailed {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }

  .contact-item-detailed:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
  }

  .contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    flex-shrink: 0;
  }

  .contact-details h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 5px;
  }

  .contact-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
  }

  /* Animações */
  .animated-text {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
  }

  .animated-text:nth-child(1) { animation-delay: 0.2s; }
  .animated-text:nth-child(2) { animation-delay: 0.4s; }
  .animated-text:nth-child(3) { animation-delay: 0.6s; }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
  }

  @keyframes fadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Scroll animations */
  .scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
  }

  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Responsive Design */
  @media (max-width: 1024px) {
    .contact-grid {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    
    .skills-grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .projects-grid {
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
  }

  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }

    .container {
      flex-direction: column;
    }

    .sidebar {
      transform: translateX(-100%);
      width: 250px;
      height: 100vh;
      position: fixed;
      top: 0;
      left: 0;
      background: rgba(0, 0, 0, 0.95);
      backdrop-filter: blur(20px);
      padding: 60px 20px 20px;
      transition: transform 0.3s ease-in-out;
    }

    .sidebar.active {
      transform: translateX(0);
    }

    .sidebar nav {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
      margin-top: 30px;
    }

    .sidebar nav a {
      writing-mode: initial;
      transform: none;
      font-size: 1.1rem;
      padding: 15px 20px;
      width: 100%;
      border-radius: 10px;
    }

    .sidebar nav a:hover::after {
      display: none;
    }

    .main {
      margin-left: 0;
      width: 100%;
    }

    .section {
      padding: 40px 20px;
    }

    #home {
      flex-direction: column;
      text-align: center;
      gap: 30px;
    }

    .home-content {
      min-width: auto;
      max-width: none;
    }

    .contact-info {
      justify-content: center;
    }

    .about-stats {
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
    }

    .skills-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .projects-grid {
      grid-template-columns: 1fr;
    }

    .services-grid {
      grid-template-columns: 1fr;
      gap: 25px;
    }

    .contact-form {
      padding: 30px 20px;
    }
  }

  @media (max-width: 480px) {
    .section {
      padding: 30px 15px;
    }
    
    .home-content h1 {
      font-size: 2.5rem;
    }
    
    .home-content h2 {
      font-size: 1.3rem;
    }
    
    .about-content h2,
    .skills-content h2,
    .work-content h2,
    .services-content h2,
    .contact-content h2 {
      font-size: 2.2rem;
    }
    
    .contact-info {
      flex-direction: column;
      gap: 15px;
    }
    
    .contact-item {
      text-align: center;
    }
    .contact-content textarea{
      width: 50%;
    }
  }

  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }
  .repositorio{
    color: #fff;
  }
