/* Reset some default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 20px;
  color: #333;
}

h1.titulo-principal {
  text-align: center; /* Asegura que el texto esté centrado */
  font-size: 32px; /* Ajusta el tamaño del texto */
  margin: 0 auto; /* Aplica márgenes automáticos para centrar el elemento */
  width: 100%; 
  line-height: 1.5; /* Mantén el espacio vertical adecuado */
  font-weight: bold; /* Resalta el título */
  color: #009eb3; /* Color del título */
}

h1:first-of-type {
  margin-top: 20px; /* Ajusta el espacio superior para el primer h1 */
}

h1:nth-of-type(2) {
  margin-top: 20px; /* Aplica el mismo margen superior al segundo h1 */
}

main {
  padding: 2rem;
  background: white;
  margin: 2rem auto;
  width: 90%;
  max-width: 1200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 7px;
}

/* Títulos de sección */
main h2 {
  color: #009eb3;
  border-bottom: 2px solid #009eb3;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.content {
  max-width: 900px;
  margin: 0 auto;
}

.section {
  margin-bottom: 40px;
}

.section h2 {
  font-size: 1.8em;
  color: #009eb3;
  margin-bottom: 10px;
}

.section h3 {
  font-size: 1.2em;
  margin: 10px 0;
}

p {
  margin-bottom: 10px;
  font-size: 1em;
}

ol {
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1em;
}

ol li {
  margin-bottom: 8px;
}

table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
}

th, td {
  padding: 8px;
  text-align: left;
  border: 1px solid #ccc;
}

th {
  background-color: #f4f4f4;
}

/* Nueva sección para 'Sujetos pasibles' */
.section h2:first-of-type {
  margin-top: 0; /* Eliminar margen superior para el primer h2 (Sujetos pasibles) */
}

.section h2 {
  color: #009eb3;
  margin-bottom: 15px;
}

ol {
  font-size: 1em;
}

