body.nuestra-historia{
    background-color: #6f4fa0;
}


.navbar-dark {
  background-color: #343a40;
}
.carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.footer-dark {
  background-color: #3ab4e7;
  color: #ffffff;
  padding: 20px 0 0;
}
.footer-dark a{
  color: #ffffff;
  font-weight: 600;
}

.nav-item a{
  font-weight: 600;
}

nav ul li a.active {
  background-color: #f39c12;
  color: #fff;
  border-radius: 5px;
}

/* Estilo para los enlaces cuando no están activos */
nav ul li a:hover {
  background-color: #6f4fa0;
  color: #fff;
}

  .accordion-button {
      background-color: #d8b4ef;
      color: #4b0082;
      font-weight: bold;
    }
    .accordion-button:not(.collapsed) {
      background-color: #ba8cd9;
      color: #ffffff;
      box-shadow: inset 0 -1px 3px rgba(0, 0, 0, 0.2);
    }
    .accordion-body {
      background-color: #eeddfc;
      color: #4b0082;
    }


    .accordion-header {
      background-color: #d8b4ef;
      color: #4b0082;
      padding: 10px;
      cursor: pointer;
      font-weight: bold;
      border: 1px solid #ba8cd9;
    }
    .accordion-header.active {
      background-color: #ba8cd9;
      color: #ffffff;
    }
    .accordion-content {
      display: none;
      background-color: #eeddfc;
      padding: 15px;
      color: #4b0082;
      border: 1px solid #ba8cd9;
      border-top: none;
    } 


    .content-personajes{
         display: flex;
          justify-content: center; /* Centrar horizontalmente */
          align-items: center;    /* Centrar verticalmente */
          height: 100vh;          /* Ajusta la altura del contenedor si es necesario */

    }



    .accordion .card {
      border: none;
      margin-bottom: 10px;
    }
    .accordion .card-header {
      background-color: #d8b4ef;
      color: #4b0082;
      font-weight: bold;
      padding: 0;
    }
    .accordion .btn-link {
      display: block;
      width: 100%;
      text-align: left;
      color: #4b0082;
      font-size: 1.2rem;
      text-decoration: none;
      padding: 10px 20px;
    }
    .accordion .btn-link:hover {
      text-decoration: none;
      color: #ffffff;
      background-color: #ba8cd9;
    }
    .accordion .card-header .btn-link[aria-expanded="true"] {
      color: #ffffff;
      background-color: #ba8cd9;
    }
    .accordion .card-body {
      background-color: #eeddfc;
      color: #4b0082;
      padding: 20px;
    }

.dropdown-item:focus, .dropdown-item:hover {
    color: #6f4fa0 !important;
   
}

.carousel-control-prev {
    left: -85px !important;
    margin-top: -65px !important;
}

.top-header {
    background-color: #6f4fa0;
    padding: 10px 0;
    font-size: 14px;
}
.top-header a {
    color: #000;
    margin-left: 10px;
}
.top-header .social-icons a {
    margin-left: 5px;
}

.navbar-nav{
  margin: 0 auto;
}

.carousel-inner {
height: 650px;
}
.carousel-inner2 {
height: 245px;
}

.carousel-inner img {
height: 570px;
object-fit: inherit;
}

.carousel-item {
  position: relative;
}


.btn-perso{
    margin: 0 auto;
    display: block;
    width: 230px;
}
.title_section{
    text-align: center;
    color: #ffffff;
}

.text_section{
    width: 60%;
    margin: 0 auto;
    font-size: 20px;
    text-align: center;
    color: #ffffff;
}

.contenedor {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 100px;
}

.imagenes {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.margin-nube{
    margin-top: -100px;
    position: relative;
    z-index: 9999;
}

.bg-kids{
    background-color: #3ab4e7;
}
.menu-kids a{
    color: #ffffff !important;
    font-size: 20px;
}

.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-color: rgba(0, 0, 0, 0.5); /* Color negro con 50% de opacidad */
  z-index: 1;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: red;
}

.carousel-control-next-icon {
    margin-top: -65px;
    margin-right: -170px;
}


.center-img{
    text-align: center;
    margin: 0 auto;
    display: block;
}

.img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px; /* Ajusta la altura del contenedor según sea necesario */
  overflow: hidden;
  position: relative;
   /* border: solid;*/
}

.img-container img {
  max-width: 80%; /* Ajusta el tamaño de la imagen según sea necesario */
  max-height: 100%;
  transition: transform 0.3s ease;

}

.img-container img:hover {
  transform: scale(1.1); /* Ajusta el nivel de zoom según sea necesario */
}

.img-fluid{
  padding: 7px;
}

.card-img-top {
  height: 150px; /* Ajusta la altura de la imagen */
  object-fit: cover; /* Asegura que la imagen cubra el contenedor sin distorsión */
}

.banner-img img:hover {
  transform: scale(1.1); /* Escala la imagen al 110% al pasar el ratón */
}

.banner-img img {
  transition: transform 0.3s ease; /* Suaviza la transición */
}

.btn-outline-success-top {
    color: #fe2b29;
    border-color: #fe2b29;
}

.btn-outline-success-top:hover {
    color: #fff;
    background-color: #fe2b29;
    border-color: #fe2b29;
}


.btn-outline-success-white {
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline-success-white:hover {
    color: #000;
    background-color: #ffffff;
    border-color: #ffffff;
}

.card-img-top {
    height: 170px;
    width: 170px;
    object-fit: cover;
    border-radius: 50% 50% 50% 50%;
    border: solid;
    margin: 0 auto;
}

.testimonio{
    background-color: #ffffff;
    border-radius: 5px 5px 5px 5px;
    overflow: hidden;
    border-top-width: 10px;
    border-top-color: #373768;
    padding-top: 60px !important;
    padding-right: 27px !important;
    padding-left: 27px !important;
    background-color: #ffffff;
}

.image-box {
        position: relative;
        overflow: hidden;
    }
    .image-box img {
        width: 100%;
        height: auto;
    }
    .title {
        position: absolute;
        bottom: 10px;
        left: 10px;
        color: white;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 5px;
        font-size: 1.5em;
    }
   

   .box-image {
     display: flex;
      align-items: center;  /* Centra verticalmente */
      justify-content: center;  /* Centra horizontalmente */
      height: auto;  /* Altura automática basada en el contenido */

    }

    .box-image img {
       width: 100%;  /* La imagen ocupará el 60% del ancho del contenedor */
      
    }

    .titulo-directivo{
      font-family: 'Rubik', Helvetica, Arial, Lucida, sans-serif;
      font-weight: 700;
      font-variant: small-caps;
      color: #ffffff !important;
      letter-spacing: 5px;
      line-height: 1.2em;
    }


    .icon-list {
      list-style-type: none; /* Elimina los puntos predeterminados */
      padding: 0; /* Elimina el padding del ul */
    }

    .icon-list li {
      position: relative;
      padding-left: 25px; /* Espacio para el icono */
      margin-bottom: 10px; /* Espacio entre elementos */
    }

    .icon-list li::before {
      content: "\f00c"; /* Código Unicode del icono (check en este caso) */
      font-family: "Font Awesome 5 Free"; /* Especifica la fuente */
      font-weight: 900; /* Asegura el peso del icono */
      position: absolute;
      left: 0;
      top: 0;
      color: #000; /* Color del icono */
    }


   .banner {
      background: url('../images/banner3.png') no-repeat center center/cover;
      height: 70vh; /* Altura completa de la pantalla */
      position: relative;
      display: flex;
      align-items: center;
    }

    .banner-content-data {
      background: url('../images/product_bg.jpg') no-repeat center center/cover;
      height: 30vh; /* Altura completa de la pantalla */
      position: relative;
      display: flex;
      align-items: center;
    }


    .banner-content {
      color: white;
      width:  65%;
      margin: 0 auto;
    }

    .btn-custom {
      color: #6a1b9a; /* Morado */
      background-color: white;
      font-weight: bold;
      border-radius: 5px;
      transition: background-color 0.3s, color 0.3s;
    }

    .btn-custom:hover {
      background-color: #6a1b9a;
      color: white;
    }

    .title-banner-personajes{
        font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    }

    .title-content-personajes{
        color: #632181;
    }

    .texto-personajes-content{
       color: #7a7a7a
    }

    .banner-content-personaes {
      color: white;
      width:  85%;
      margin: 0 auto;
      font-weight: 500px;
    }

    .title-personajes-box{
        bottom: 10px;
        left: 10px;
        color: white;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 5px;
        font-size: 1.5em;
        text-align: center;
    }

    .bg-personajes{
        background-color: #6f4fa0;
    }

    /* Estilos para el botón de WhatsApp */
    .whatsapp-btn {
      position: fixed;
      bottom: 20px; /* Ajusta la distancia desde el borde inferior */
      right: 20px; /* Ajusta la distancia desde el borde derecho */
      background-color: #25d366; /* Color verde de WhatsApp */
      color: white;
      padding: 15px;
      border-radius: 50%;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      font-size: 24px;
      text-align: center;
      transition: background-color 0.3s ease;
      z-index: 1000; /* Asegura que el botón esté siempre visible */
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
    }

    /* Cambiar el color cuando el usuario pasa el cursor sobre el botón */
    .whatsapp-btn:hover {
      background-color: #128c7e;
    }

    /* Estilo para el icono */
    .whatsapp-btn i {
      margin: 0;
    }

/* Docentes */

.card {
    position: relative;
    width: 18rem;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    overflow: hidden;
    transition: transform 0.3s ease;
    width: 97%;
}

.card:hover {
    transform: scale(1.05);
}

.card-description {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-description {
    opacity: 1;
}


/* Archivos */

.download-icon {
    font-size: 50px;
    color: #007bff;
}
.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card-title {
    margin-top: 10px;
    text-align: center;
}
.btn-download {
    margin-top: auto;
}

@media (min-width: 780px) {
  .new-card{
    width: 25% !important;
      max-width: 25% !important;
      flex: 20% !important;
  }



}

/* Estilos para el contenedor masonry */
.masonry {
    display: flex;
    flex-wrap: wrap;
    margin: -10px; /* Espacio negativo para ajustar el margen */
}

/* Estilos para los ítems dentro del contenedor masonry */
.masonry .item {
    flex: 1 0 21%; /* Ajuste de tamaño de los ítems */
    margin: 10px; /* Espacio alrededor de los ítems */
    box-sizing: border-box;
}

.masonry .item img {
    width: 100%;
    display: block;
    border-radius: 10px; /* Bordes redondeados para las imágenes */
}

/* Media query para pantallas más pequeñas */
@media (max-width: 780px) {
    .masonry .item {
        flex: 1 0 46%; /* Ajuste de tamaño de los ítems para pantallas pequeñas */
    }

    .nubes{
        display: none;
    }

    .carousel-inner img {
        height: auto;
        object-fit: inherit;
    }

    .gallery a{
        margin: 0 auto;
    }

    .banner-content {
       width: 85%;
    }

    .menu-kids{
        margin-left: 10px;
    }

    .text_section {
        width: 100%;
        margin: 0 auto;
        font-size: 20px;
        text-align: center;
        color: #ffffff;
    }

    .carousel-control-prev, .carousel-control-next{
        display: none;
    }

    .contenedor{
        height: auto;
            padding: 20px 35px;
    }

    #caras{
        display: none;
    }

    .carousel-inner {
    height: auto;
}
}

/* MAsonry */

.grid-gallery {
  display: grid;
  grid-auto-rows: 200px;
  grid-gap: 1rem;
  grid-auto-flow: row dense;
}
@media all and (min-width: 320px) {
  .grid-gallery {
    grid-template-columns: 1fr;
  }
}
@media all and (min-width: 768px) {
  .grid-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media all and (min-width: 1024px) {
  .grid-gallery {
    grid-template-columns: repeat(6, 1fr);
  }
}
.grid-gallery__item:nth-child(11n+1) {
  grid-column: span 1;
}
.grid-gallery__item:nth-child(11n+4) {
  grid-column: span 2;
  grid-row: span 1;
}
@media all and (min-width: 320px) {
  .grid-gallery__item:nth-child(11n+4) {
    grid-column: span 1;
    grid-row: span 1;
  }
}
.grid-gallery__item:nth-child(11n+6) {
  grid-column: span 3;
  grid-row: span 1;
}
.grid-gallery__item:nth-child(11n+7) {
  grid-column: span 1;
  grid-row: span 2;
}
.grid-gallery__item:nth-child(11n+8) {
  grid-column: span 2;
  grid-row: span 2;
}
.grid-gallery__item:nth-child(11n+9) {
  grid-row: span 3;
}
.grid-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-gallery__image{
  cursor: pointer;
}
.modal-img {
    width: 100%;
}

/* Galeria page */

.card-custom {
    position: relative;
    color: white;
    text-align: center;
    background-size: cover;
    background-position: center;
    height: 300px;
}
.card-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Controla la opacidad aquí */
    z-index: 1;
}
.card-custom-content {
    position: relative;
    z-index: 2;
}


/* Temario */
 .card-lateral {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.card-lateral-icon {
    font-size: 2rem;
    margin-right: 15px;
    color: #007bff;
}
.card-lateral-content {
    flex: 1;
}