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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #333;
  line-height: 1.6;
}

header {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

section {
  background: white;
  margin: 2rem auto;
  padding: 2.5rem;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

section h2 {
  color: #2a5298;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  border-bottom: 3px solid #667eea;
  padding-bottom: 0.5rem;
}

ul {
  list-style: none;
  text-align: left;
}

ul h2 {
  color: #667eea;
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
}

li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

#sobre-mi p {
  text-align: justify;
  color: #555;
  line-height: 1.8;
}

button {
  padding: 12px 30px;
  border: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  cursor: pointer;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

button:active {
  transform: translateY(0);
}

#correo {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #667eea;
  font-weight: 600;
}

/* Media Queries - Celulares y tablets */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.8rem;
  }

  header p {
    font-size: 0.95rem;
  }

  section {
    margin: 1rem;
    padding: 1.5rem;
    max-width: 100%;
  }

  section h2 {
    font-size: 1.4rem;
  }

  ul h2 {
    font-size: 1.1rem;
  }

  button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  #sobre-mi p {
    text-align: left;
    font-size: 0.95rem;
  }
}

/* Media Queries - Celulares pequeños */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  header {
    padding: 1.5rem 1rem;
  }

  header h1 {
    font-size: 1.5rem;
  }

  header p {
    font-size: 0.85rem;
  }

  section {
    margin: 0.8rem;
    padding: 1rem;
    border-radius: 8px;
  }

  section h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  ul h2 {
    font-size: 1rem;
    margin-top: 1rem;
  }

  li {
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    font-size: 0.9rem;
  }

  button {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  #correo {
    font-size: 0.95rem;
  }
}
