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

header {
  background-color: #2c3e50;
  color: white;
  padding: 1rem;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
}

nav ul li {
  display: inline;
  margin: 0 15px;
}

nav a {
  color: white;
  text-decoration: none;
}

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

footer {
  text-align: center;
  padding: 1rem;
  background-color: #2c3e50;
  color: white;
}

h1 {
  text-align: center;
  color: #2a5d9f;
  margin-bottom: 30px;
}

.glosario {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 25px;
}

.termino {
  margin-bottom: 25px;
}

.titulo {
  font-size: 1.2em;
  font-weight: bold;
  color: #1b3a6f;
  margin-bottom: 8px;
}

.definicion {
  line-height: 1.6;
  text-align: justify;
}

.icono {
  font-size: 1.2em;
  margin-right: 6px;
  color: #3b82f6;
}

.slider {
  width: 100%;
  max-width: 500px;
  height: 300px;
  margin: 1rem auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slides {
  display: flex;
  width: 100%;
  animation: slide 20s infinite;
}

.slide {
  flex: 1 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  width: 100%;
  height: 90%;
  object-fit: contain;
  border-radius: 12px;
}

@keyframes slide {
  0%   { transform: translateX(0%); }
  20%  { transform: translateX(0%); }
  25%  { transform: translateX(-100%); }
  45%  { transform: translateX(-100%); }
  50%  { transform: translateX(-200%); }
  70%  { transform: translateX(-200%); }
  75%  { transform: translateX(-300%); }
  95%  { transform: translateX(-300%); }
  100% { transform: translateX(0%); }
}
