  :root {
    --bg-dark: #0f0f0f;
    --text-light: #f1f1f1;
    --primary: #00ffff;
    --secondary: #ff00ff;
    --accent1: #00ff00;
    --accent2: #ff4500;
    --accent3: #ffff00;
    --accent4: #1e90ff;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }

  body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
  }

  header {
    background-color: #000;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  #navbar {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary);
    animation: glow 2s ease-in-out infinite alternate;
  }

  .logo span {
    color: var(--accent2);
  }

  .nav-link {
    display: flex;
    gap: 20px;
    text-decoration: none;
  }

  .nav-link li{a
    list-style: none;
  }


  .nav-link a {
    color: var(--text-light);
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s;
    text-decoration: none;
    list-style: none;
  }

  .nav-link a:hover {
    color: var(--accent3);
    transform: scale(1.1);
  }

  .hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding: 80px 10%;
    background: linear-gradient(145deg, #121212, #1a1a1a);
  }

  .hero-text h1 {
    font-size: 3rem;
    color: var(--primary);
  }

  .hero-text h2 {
    font-size: 2rem;
    color: var(--accent1);
    margin-bottom: 10px;
  }

  .hero-text p {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 20px;
  }

  .hero-image img {
    width: 250px;
    border-radius: 50%;
    border: 4px solid var(--accent2);
    box-shadow: 0 0 20px var(--accent2);
    transition: transform 0.5s ease;
  }

  .hero-image img:hover {
    transform: rotate(5deg) scale(1.05);
  }


  .social-links {
    display: flex;
    gap: 15px;
  }

  .social-links a {
    color: var(--secondary);
    font-size: 1.6rem;
    transition: transform 0.3s, color 0.3s;

  }

  .social-links a:hover {
    color: var(--primary);
    transform: scale(1.3);
  }

  .experiencia {
    padding: 60px 10%;
    background-color: #1a1a1a;
  }

  .section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--accent4);
  }

  .timeline-item {
    background: #000;
    border-left: 5px solid var(--primary);
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 10px;
    transition: transform 0.3s;
  }

  .timeline-item:hover {
    transform: translateX(5px);
  }

  .timeline-item .date {
    color: var(--accent3);
    font-weight: bold;
  }

  .skills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .skills li {
    background-color: var(--accent1);
    color: #000;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
  }

  .projects {
    padding: 60px 10%;
    background-color: #111;
  }

  .projects h2 {
    color: var(--accent2);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
  }

  .project-card {
    background: #1f1f1f;
    border-left: 5px solid var(--accent4);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    transition: box-shadow 0.3s ease;
  }

  .project-card:hover {
    box-shadow: 0 0 15px var(--accent4);
  }

  .project-info h3 {
    color: var(--primary);
  }

  .project-tech span {
    background-color: var(--accent3);
    color: #000;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-right: 10px;
  }

  .project-links a {
    color: var(--secondary);
    margin-right: 15px;
    transition: color 0.3s;
  }

  .project-links a:hover {
    color: var(--accent1);
  }

  footer {
    background-color: #000;
    color: var(--text-light);
    padding: 20px 0;
    text-align: center;
  }

  .footer-content .social-links a {
    color: var(--primary);
    margin: 0 10px;
    font-size: 1.4rem;
    transition: color 0.3s;
  }

  .footer-content .social-links a:hover {
    color: var(--accent2);
  }

  @keyframes glow {
    from {
      text-shadow: 0 0 5px var(--primary);
    }
    to {
      text-shadow: 0 0 20px var(--primary), 0 0 30px var(--secondary);
    }
  }

  @media (max-width: 768px) {
    .hero {
      flex-direction: column;
      text-align: center;
    }

    .nav-link {
      flex-direction: column;
      gap: 10px;
      align-items: center;
    }

    .hero-image {
      margin-top: 20px;
    }
  }
  @media (max-width: 480px) {
    .hero-text h1 {
      font-size: 2.5rem;
    }

    .hero-text h2 {
      font-size: 1.8rem;
    }

    .hero-image img {
      width: 200px;
    }

    .section-title {
      font-size: 2rem;
    }

    .timeline-item {
      padding: 15px;
    }

    .project-card {
      padding: 15px;
    }
  }

  #contacto {
  background: #1a1a1a;
  padding: 60px 10%;
  text-align: center;
}
#contacto h2 {
  font-size: 2.5rem;
  color: var(--accent2);
}
#contacto form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  gap: 15px;
}
#contacto input, #contacto textarea {
  padding: 10px;
  border: none;
  border-radius: 8px;
  background-color: #333;
  color: white;
  font-size: 1rem;
}
#contacto button {
  background-color: var(--primary);
  color: black;
  font-weight: bold;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
#contacto button:hover {
  background-color: var(--accent4);
}

/* FOOTER */
footer {
  background-color: #000;
  color: var(--text-light);
  text-align: center;
  padding: 20px 0;
}
.footer-content .social-links a {
  color: var(--primary);
  margin: 0 10px;
}
.footer-content .social-links a:hover {
  color: var(--accent2);
}
