* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #1e2228;
  color: #fff;
  font-family: 'Courier New', monospace;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 30px 80px;
  align-items: center;
}

.logo {
  color: #4cffb0;
}

nav a {
  color: #ccc;
  margin-right: 20px;
  text-decoration: none;
}

nav a.active {
  color: #4cffb0;
}

.btn-outline {
  background: transparent;
  border: 1px solid #4cffb0;
  color: #4cffb0;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: rgba(76, 255, 176, 0.1);
}

/* HERO */
.hero {
  display: flex;
  justify-content: space-between;
  padding: 80px;
  align-items: center;
}

.hero-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  max-width: 400px;
  color: #aaa;
  margin-bottom: 30px;
  line-height: 1.5;
}

.btn-primary {
  background: #4cffb0;
  border: none;
  padding: 12px 24px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  color: #1e2228;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #3dd99c;
  transform: translateY(-2px);
}

.hero-image img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #252a31;
}

/* ABOUT */
.about {
  padding: 80px;
}

.about-container {
  max-width: 1000px;
}

.about-text h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 0.95rem;
  color: #aaa;
  max-width: 800px;
}

/* SKILLS */
.skills {
  padding: 80px;
}

.skills h2 {
  margin-bottom: 40px;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
}

.skill-card {
  background: #252a31;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.skill-card span {
  display: block;
  color: #fff;
  font-size: 14px;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(76, 255, 176, 0.2);
}

/* --- ESTILOS RESPONSIVOS --- */

@media (max-width: 768px) {
  /* NAVBAR */
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  nav {
    margin-top: 15px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }

  nav a {
    margin-right: 0;
    margin-bottom: 10px;
    display: block;
    padding: 5px 10px;
    font-size: 0.9rem;
  }

  /* HERO */
  .hero {
    flex-direction: column;
    padding: 60px 20px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .hero-image {
    margin-top: 40px;
    order: -1;
  }

  .hero-image img {
    width: 200px;
    height: 200px;
  }

  /* ABOUT */
  .about {
    padding: 60px 20px;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }

  .about-text p {
    font-size: 0.9rem;
  }

  /* SKILLS */
  .skills {
    padding: 60px 20px;
  }

  .skills h2 {
    font-size: 28px;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
  }

  .skill-card {
    padding: 20px 15px;
  }

  .skill-card img {
    width: 50px;
    height: 50px;
  }

  .skill-card span {
    font-size: 12px;
  }
}

@media (max-width: 500px) {
  .about-text h2 {
    font-size: 1.6rem;
  }

  .about-text p {
    font-size: 0.9rem;
  }
}