body {
  margin: 0;
  padding-top: 20px;
  background-color: #f5f5f5;
}

.no-courses {
  text-align: center;
  margin-top: 150px;
  margin-bottom: 500px;
}

.no-courses p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.go-membership-btn {
  background-color: #ff9800;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.go-membership-btn:hover {
  background-color: #e68900;
}



.category-section {
  margin-bottom: 40px; /* Espacio entre categorías */
  padding: 20px;
  background: #ffffffa2; /* Fondo diferente */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dark-mode .category-section{
  background-color: #333;
}

/* Título de cada categoría */
.category-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #222;
  margin-bottom: 15px;
  text-transform: uppercase;
  border-left: 5px solid #FF9000;
  padding-left: 10px;
}

.dark-mode .category-title{
  color: #ffffff;
}

/* Contenedor de cursos con scroll horizontal */
.course-list {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 10px;
  scrollbar-width: thin; /* Soporte para Firefox */
  scrollbar-color: #FF9000#f5f5f5;
}

/* Personalizar scrollbar en navegadores Webkit */
.course-list::-webkit-scrollbar {
  height: 8px;
}

.course-list::-webkit-scrollbar-track {
  background: #ff0c0c00;
  border-radius: 10px;
}

.course-list::-webkit-scrollbar-thumb {
  background: #007bff;
  border-radius: 10px;
}

/* Estilos de las cards */
.course-card {
  flex: 0 0 250px; /* Ancho fijo para cada card en el scroll horizontal */
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  background-color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.course-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.course-image {
  width: 100%;
  height: 160px;
  object-fit: fill;
  border-bottom: 1px solid #ddd;
}

.course-title {
  padding: 10px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333;
}
