body, html {
  margin: 0;
  padding: 0;
  height: 100%;
}

    /* Estilos del contenedor del spinner */
    #spinner-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #2C103D;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 10000;
    }

    /* Estilos del spinner */
    .spinner {
      width: 80px;
      height: 80px;
      border: 10px solid rgba(255, 255, 255, 0.2);
      border-top: 10px solid #ffffff;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    /* Animación del spinner */
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Estilos de texto */
    .spinner-text {
      color: #ffffff;
      font-size: 1.2rem;
      margin-top: 1rem;
      text-align: center;
    }

.navbar{
  height: 80px;
  z-index: 1000;
}

.nav-link {
  color: white !important; /* Forzar el color blanco de los enlaces */
}

.nav-link:hover {
  color: #ddd !important; /* Cambiar color al hacer hover */
}

.absolute-top{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
/* Contenedor del slider */
.slider-container {
  height: 100vh; /* La imagen ocupa toda la pantalla */
  background-image: url('../image/slider/slider-01.png'); /* Reemplaza con la imagen de tu slider */
  background-size: cover; /* Ajusta la imagen para cubrir el contenedor */
  background-position: center; /* Centra la imagen */
  position: relative; /* Permite que el contenido esté encima */
  display: flex;
  justify-content: flex-end; /* Alinea el contenido hacia la derecha */
  align-items: center;
  padding-right: 50px; /* Espacio entre el borde derecho y el texto */
  color: white; /* Texto en blanco para mejor contraste */
  text-align: right; /* Alinea el texto a la derecha */
}

/* Contenido dentro del slider */
.slider-content {
  z-index: 1; /* Asegura que el contenido esté visible sobre la imagen */
  position: relative;
}

.slider-content h1 {
  font-size: 4rem;
  font-weight: bold;
}

.slider-content p {
  font-size: 1.5rem;
}

/* Fondo oscuro semitransparente sobre la imagen para mejorar la legibilidad */
.slider-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro con transparencia */
  z-index: 0;
}

/* Estilos del reproductor */
.radio-player {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #2C103D; /* Fondo oscuro */
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5); /* Sombra para el reproductor */
}

/* Información de la radio (logo y detalles) */
.radio-info {
  display: flex;
  align-items: center;
}

.radio-logo {
  width: 50px;
  height: auto;
  margin-right: 15px;
}

.radio-details h4, .radio-details p {
  margin: 0;
}

.radio-details h4 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: bold;
}

.radio-details p {
  font-size: 14px;
  color: #ccc;
}

/* Botones del reproductor */
.radio-controls {
  display: flex;
  align-items: center;
}

#playPauseBtn {
  background-color: transparent;
  border: none;
  font-size: 40px; /* Tamaño del icono */
  color: white;
  cursor: pointer;
  padding: 0;
}

#playPauseBtn:hover {
  color: #ddd;
}

/* Barra de progreso */
.progress-container {
  position: relative;
  flex: 1; /* Hace que la barra se ajuste al ancho */
  height: 5px;
  background-color: rgba(255, 255, 255, 0.2); /* Fondo tenue de la barra */
  margin-left: 20px;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #f4e7f4; /* Color de la barra de progreso */
  transition: width 0.3s ease; /* Transición suave al cambiar el progreso */
}

.volume-control {
  margin-top: 10px;
}

.volume-control input[type="range"] {
  -webkit-appearance: none;
  width: 100px;
  height: 6px;
  background: #582553; /* Color de fondo de la barra */
  border-radius: 5px;
  outline: none;
  transition: background 0.3s;
}


/* Color del "thumb" o perilla */
.volume-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: #fdfbfc; /* Color del thumb */
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}


/* Contact info */
.card{
  margin-top: 50px;
  height: 200px;
  background-color: #2C103D;
}

.contact-info-item{
 border: #ccc solid 1.5px;
 margin: 15px;
 
}
/* Estilos adicionales para darle un toque elegante */
.contact-form {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
  border: none;
  border-bottom: 2px solid #2C103D;
  border-radius: 0;
  background-color: #f8f9fa;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: #2C103D;
  box-shadow: none;
}

.contact-form .btn-primary {
  background-color: #2C103D;
  border: none;
  transition: background-color 0.3s ease;
}

.contact-form .btn-primary:hover {
  background-color: #622786;
}

/* Footer */
footer{
  background-color:#2C103D;
  height: 275px;
}

.menu-footer li a{
  color: #ddd;
  text-decoration: none;
  margin-right: 20px;
  font-size: 1.5em;
}

.redes-sociales span a{
  color: #ddd;
  
}

.redes-sociales span{
  margin-right: 20px;
}

 

 /* Estilo para el botón */
 .back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #571858;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

/* Flecha hacia arriba */
.back-to-top:hover {
  background-color: #431344;
}

/* Boton whatsapp */
.btn-whatsapp{
  background-color: #4caf50;
  width: 100px;
  height: 100px;
  border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  -ms-border-radius: 50% !important;
  -o-border-radius: 50% !important;
  position: fixed;
  bottom: 100px;
  right: 0;
}

/* Mostrar el botón cuando el usuario hace scroll */
.show {
  opacity: 1;
}

 /* Media queries para ajustar el diseño en pantallas pequeñas */
 @media (max-width: 768px) {
  .menu-footer {
    flex-direction: column !important;
    
  }

  .copyright{
    background-color:#2C103D;
  }

  .redes-sociales{
    background-color:#2C103D;
  }
}

@media (max-width: 480px) {
  .slider-container {
    height: 100vh; /* Menor altura en dispositivos móviles */
    text-align: center; /* Centra el texto en pantallas muy pequeñas */
    padding: 0 10px; /* Menor padding */
    justify-content: center; /* Centra el contenido en pantallas pequeñas */
  }

  .slider-container h1 {
    font-size: 1.5rem; /* Ajusta el tamaño del título */
  }

  .slider-container p {
    font-size: 0.9rem; /* Ajusta el tamaño del párrafo */
  }
}