body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f7fb;
  margin: 0;
  padding: 0;
  color: #333;
}

header {
  background: linear-gradient(135deg, #c3dafe, #e0c3fc);
  color: #2d2d2d;
  text-align: center;
  padding: 40px 20px;
  border-bottom: 4px solid #b794f4;
}

h1 {
  margin: 0;
  font-size: 2.5em;
}

p.subtitle {
  margin-top: 10px;
  font-size: 1.2em;
}

section {
  padding: 30px 20px;
  max-width: 800px;
  margin: auto;
}

.course-list {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.course-list h2 {
  color: #5a67d8;
  margin-bottom: 10px;
}

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

li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 1.1em;
}

li:last-child {
  border-bottom: none;
}

footer {
  text-align: center;
  background-color: #ebf4ff;
  padding: 20px;
  font-size: 0.9em;
  color: #555;
  margin-top: 40px;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-container img {
  height: 80px;
  max-width: 100%;
}

.header-text {
  text-align: center;
}

.header-text h1 {
  margin: 0;
  font-size: 2.5em;
}

.header-text p.subtitle {
  margin-top: 5px;
  font-size: 1.2em;
}

/* --- Responsividad --- */
@media (max-width: 768px) {
  h1 {
    font-size: 2em;
  }
  p.subtitle {
    font-size: 1em;
  }
  .course-list {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 20px 10px;
  }
  .logo-container {
    flex-direction: column;
    gap: 10px;
  }
  .logo-container img {
    height: 60px;
  }
  h1 {
    font-size: 1.8em;
  }
  p.subtitle {
    font-size: 0.95em;
  }
  li {
    font-size: 1em;
  }
}
