body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

.main-title {
  text-align: center;
  color: #004080;
  margin: 30px 0 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.subtitle {
  text-align: center;
  color: #555;
  margin: 4px 0;
  font-size: 0.95rem;
}

h1, h2, h3 {
  color: #004080;
}

h3 {
  margin-left: 0.5rem;
}

p {
  line-height: 1.6;
  margin: 15px 0;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#indice {
  background-color: #333;
  padding: 20px;
  color: white;
  margin: 20px;
  border-radius: 5px;
}

#indice ul {
  list-style: none;
  padding-left: 0;
}

#indice li {
  margin: 8px 0;
}

#indice a {
  color: white;
}

#indice a:hover {
  color: #ddd;
}

.article {
  margin: 20px;
  padding: 20px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.article h2 {
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.article h3 {
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.article p {
  margin: 10px 0;
}

.article strong {
  color: #004080;
}

.back {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #007bff;
}

.back:hover {
  text-decoration: underline;
}

.article img {
  display: block;
  margin: 15px auto;
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  border: 1px solid #ddd;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

table th, table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

table th {
  background-color: #004080;
  color: white;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

pre {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 12px;
  overflow-x: auto;
  font-size: 0.85rem;
}

code {
  font-family: Consolas, Monaco, 'Courier New', monospace;
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
}

.buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #004080;
  color: white;
  border-radius: 5px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #0066cc;
  text-decoration: none;
}
