.mb-4 {
  font-size: xx-large;
  font-family: century gothic;
}

footer {
  background-color: rgb(33,56,119);
}

p {
  color: rgb(255, 255, 255);
}

.bg-dark {
  --bs-bg-opacity: 1;
  background-color: rgb(33,56,119)!important;
  display: block!important;
}
/*ESTILO DEL REPRODUCTOR VIDEO*/
.video-container {
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
}

.video-container iframe,
.video-container video {
  width: 100%;
  height: auto;
  border-radius: 10px; /* esquinas redondeadas opcionales */
}

/*TITULO PRINCIPAL DE SECCIONES RECURSOS PDF*/
.accordion-section h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  background:rgb(33,56,119);     /* azul corporativo */
  padding: 15px 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}



/* ESTILO DEL H3 SECCIONES RECURSOS PDF*/

.accordion-section h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #333;
  border-bottom: 2px solid #3498db; /* subrayado moderno */
  padding-bottom: 5px;
  margin-bottom: 20px;
}


.accordion-section h3::before {
  content: "📌";
  margin-right: 8px;
}

/*AJUSTES CSS PARA EL BOTON DEL NAV VERDE */
.custom-navbar {
  background: rgb(199,215,68);
  font-family: 'Roboto', sans-serif;
  padding-top: 15px;
  padding-bottom: 15px;
}

.custom-link {
  color: #000000 !important;
  border-width: 0 !important;
  padding: 8px 15px;
}

.custom-link.active {
  background: rgb(199,215,68) !important;
}

/*FIN BOTON NAV VERDE*/

/*AJUSTES CSS BANNER CONDUSEF*/

a img {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}
/* Ajuste para dispositivos móviles */
@media (max-width: 768px) {
  .container-banner-movil {
    margin-top: 10px!important; /* ajusta según lo pegado que quieras */
  }
}


/*FIN AJUSTES CONDUSEF*/

/* Ajustes generales */
.titulo-consejos {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.descripcion-consejos {
  font-family: 'Roboto', sans-serif;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.6;
  margin: 0;
}

/* Para pantallas chicas (celulares) */
@media (max-width: 768px) {
  .titulo-consejos {
    font-size: 1.4rem;
    text-align: center;
  }

  .descripcion-consejos {
    font-size: 1rem;
    text-align: center;
    margin-top: 0.8rem;
    padding: 0 15px;
  }

  .consejos-section img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .consejos-section .text-white {
    text-align: center;
    padding: 1.5rem;
  }
  
}

/*INICIO CARRUSEL*/
/* Carrusel */
#carousel-2 {
  height: 60vh; /* altura del carrusel en escritorio */
  position: relative;
  overflow: hidden;
}

/* Imagen del carrusel */
#carousel-2 .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* recorta y mantiene proporción */
  transition: transform 0.5s ease;
}

/* Efecto sutil al pasar mouse */
#carousel-2 .carousel-item img:hover {
  transform: scale(1.05);
}

/* Fondo del texto */
.texto-banner {
  background: rgba(0,0,0,0.5);
  color: #fff;
  max-width: 800px;
  margin: auto;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
}

/* Títulos y párrafo */
.edufin {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.parrafoencontrar {
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.5;
}

/*MOVILES CARRUSEL*/
/* Ajustes para móviles */
@media (max-width: 768px) {
  #carousel-2 {
    height: 45vh; /* carrusel más pequeño */
  }

  .carousel-caption {
    top: 50%; /* centrado vertical en móviles */
    transform: translate(-50%, -50%);
  }

  .edufin {
    font-size: 1.8rem;
  }

  .parrafoencontrar {
    font-size: 1rem;
  }

  .texto-banner {
    padding: 1.2rem;
    max-width: 95%;
  }

  .container-banner-movil {
    margin-top: 0.5rem; /* más pegado al carrusel */
  }
}

/* Ajuste extra para móviles muy pequeños */
@media (max-width: 480px) {
  .edufin {
    font-size: 1.5rem;
  }

  .parrafoencontrar {
    font-size: 0.95rem;
  }

  .container-banner-movil {
    margin-top: 0.3rem; /* todavía más pegado */
  }
}





/*NAV CUIDADO*/

#navcol-1 {
  background-color: rgb(199,215,68);
  border-radius: 0;
  min-height: 88px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  display: block;
}

.diva {
  background-color: #d5ff2d;
  display: block;
}

.edufin {
  color: #d5ff2d;
  font-style: normal;
  font-size: 60px;
  margin-top: 0;
}

.parrafoencontrar {
  font-size: 25px;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  background-color: rgba(33,56, 119, 0.5);
  padding: 15px;
  border-radius: 8px;
 
}

