body {
  background-color: #fff; /* Fondo blanco */
  color: #333; /* Texto oscuro */
}

body.dark-mode {
  background-color: #121212; /* Fondo oscuro */
  color: #e0e0e0; /* Texto claro */
}

body.dark-mode .audio-item {
  background-color: #333; /* Fondo oscuro para los audios */
  border: 1px solid #444; /* Borde oscuro para los audios */
}

body.dark-mode .audio-meta p {
  color: #ccc; /* Texto claro en los detalles */
}

/* Cambiar fondo de botones */
body.dark-mode .btn-dark {
  background-color: #444;
  color: #fff;
}



body.dark-mode .audio-item {
  border: 1px solid #444; /* Borde de los audios más oscuro */
}

/* Cambiar color de los títulos y enunciados de los audios */
body.dark-mode .audio-details h5,
body.dark-mode .audio-meta p {
  color: #ffffff; /* Texto blanco brillante para los detalles */
}

/* Cambiar el fondo del reproductor de audio en modo oscuro */
body.dark-mode .audio-player {
  background-color: #333; /* Fondo más oscuro para el reproductor */
}

/* Botón WhatsApp en modo oscuro */
body.dark-mode .btn-whatsapp-custom {
  background-color: #25d366; /* Botón WhatsApp en modo oscuro */
  color: #fff; /* Texto blanco */
}


/* Estilos para enlaces (si los hay) */
body.dark-mode a {
  color: #ffcc00; /* Color brillante para enlaces en modo oscuro */
}

h2.dark-mode {
    color: #ffcc00; /* Color brillante para enlaces en modo oscuro */

}
  /* Estilo para el reproductor de audio */
audio {
  background-color: #b47415;
  border-radius: 8px;
  padding: 4px;
}

/* Contenedor principal de cada audio */
.audio-item {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.75rem;
  background-color: #fff;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.audio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Imagen del audio */
.audio-thumb {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.audio-thumb:hover {
  transform: scale(1.05);
}

/* Detalles del audio */
.audio-details {
  flex-grow: 1;
}

.audio-details h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.audio-meta p {
  margin-bottom: 0.3rem;
  color: #555;
  font-size: 1rem;
}

/* Reproductor */
.audio-player {
  margin-top: 0.5rem;
  width: 100%;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
  .audio-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .audio-thumb {
    width: 100%;
    height: auto;
    max-height: 200px;
  }

  .audio-details {
    width: 100%;
    margin-top: 1rem;
  }

  .audio-meta p {
    font-size: 0.95rem;
  }
}
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgb(20, 22, 3);
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}


  .sticky-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1rem;
    color: #ffc107;
  }

  .sticky-header h2:hover{
    color: #ffc107;

  }
  
/* Botón Modo Oscuro más moderno */
.sticky-header .btn-dark {
  background-color: #343a40;
  border: none;
  transition: background-color 0.3s ease;
}
.sticky-header .btn-dark:hover {
  background-color: #495057;
}
  .dark-mode {
    background-color: #121212 !important;
    color: white !important;
  }
  
  .dark-mode .audio-item {
    background-color: #1e1e1e;
    border: 1px solid #333;
  }
  
  .dark-mode .audio-details h2,
  .dark-mode .audio-meta p {
    color: white;
  }
  .dark-mode h2{
    color: rgb(241, 240, 240);
    font-weight: bold;

  }
.container {
  background-color:  #121212 !important;

}
/* Estilo moderno para barra de búsqueda */
.input-group {
  max-width: 400px;
  margin: 1rem auto;
}

.input-group .form-control {
  border-radius: 30px 0 0 30px;
  border: 1px solid #ced4da;
  padding: 0.5rem 1rem;
}

.input-group .btn-dark {
  border-radius: 0 30px 30px 0;
  padding: 0.5rem 1rem;
}

.btn-whatsapp-custom {
  background-color: #25d366;
  color: white !important;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
}

.btn-whatsapp-custom:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* Responsive: en pantallas pequeñas, reduce y centra mejor */
@media (max-width: 576px) {
  .btn-whatsapp-custom {
    padding: 8px 12px;
    font-size: 0.9rem;
    justify-content: center;
  }

  .whatsapp-icon {
    width: 24px !important;
    margin-right: 0.3rem;
  }

  .whatsapp-text {
    font-size: 0.9rem;
    text-align: center;
  }
}
/* Animación al hacer scroll */
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



#whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease;
  background-color: #25d366;
  color: white;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border: none;
}

/* Mostrar botón cuando esté activo */
#whatsapp-float.show {
  opacity: 1;
  transform: translateY(0);
}
.logo-animado {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.logo-animado:hover {
  transform: scale(1.1) rotate(3deg);
  opacity: 0.9;
}

