* {
  box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(to bottom right, #003E52, #4092A1, #AABCAF);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;

}


main {
    flex:1;
}

header {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    z-index: 5;
}

.main-container {
    width: 90%;
    margin: auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
  }

  .izq {
    width: 70%;
  }

  .der {
    width: 30%;
  }


.izq-contenido {
    flex: 1; 
    max-width: 50%;  
    padding: 10px;
  }
  
 
  .der-contenido {
    flex: 1; 
    max-width: 50%;
    padding: 10px;
  }

.logo-header {
    max-height: 150px;  
    width: auto;        
    display: block;
    margin: 0 auto;   
    margin-top: 1%;  
}

.info-section {
    display: flex;
    align-items: flex-start; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    margin-bottom: 50px;
    gap: 20px;
  }

.slide-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.logos-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 10px; 
}
.logos-container img {
    max-width: 100%;
    width: 100px;
    height: auto;
    margin: 10px;
}

.slide-text {
    max-width: 500px;
    text-align: center;
}

h2 {
    color: white;
}



footer {
    text-align: center;
    background-color: #AABCAF;
    position: relative;
    padding: 10px;
    flex-shrink: 0;
    z-index: 1;
    display: flex;
    flex-direction: row; 
    justify-content: center; 
    align-items: center; 
    gap: 10%; 
}

.social-icon {
    display: inline-block; 
    margin-top: 2%;
}

.social-icon a img {
  max-width: 100%;
    width: 45px; 
    height: auto; 
}



/* Barra de navegación */
.navbar {
    background-color: rgba(0, 0, 0, 0.3);
    width: 90%;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    z-index: 10; 
    border-radius: 15px;
    margin: 0 auto;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #AABCAF;
}

.dropdown-content {
  overflow: hidden;
  max-width: 250px;
}

/* Barra gris con el título */
.barra-gris {
    background-color: #AABCAF;
    padding: 20px;
    text-align: center;
  }

  .barra-gris-portafolio {
    background-color: #AABCAF;
    padding: 20px;
    text-align: center;
    width: 99%;
  }
  
  .card-image img {
   height: 350px;
}

.catalogo-infantil .card {
  margin: 0;
}

.catalogo-infantil .col {
  padding: 0 12px;
  margin-bottom: 24px;
}

.card.horizontal {
  display: flex;
}

.foto-perfil {
  width: 15%;
}

.foto-perfil img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.texto{
  margin: 0.3rem 0;
  margin-bottom: 3px;
}
  
  .titulo-blog {
    margin: 0;
    font-size: 24px;
    color: #333;
  }
  
  .blog-cards-container {
  margin-top: 20px;
  height: 340px;             
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;           
  scroll-snap-type: y mandatory;
}

.blog-cards-container .col {
  flex: 0 0 auto;
}

.blog-cards-container .card {
  scroll-snap-align: start;
}

.blog-titles-list.collection {
  width: 90%;
  max-width: 100%;
  margin: 0 auto;
  margin-top: 5%;
}


/* Contenedor de la tarjeta */
.bio-card {
  width: 100%;           /* ocupa toda la columna */
  max-width: 500px;      /* ancho máximo deseado */
  margin: 0 auto;        /* centrado horizontal */
  overflow: scroll;
}

/* Imagen dentro de la tarjeta */
.bio-card .card-image img {
  width: 100%;           /* se ajusta al ancho de la card */     
  max-height: 200px;     /* altura máxima deseada */
  object-fit: contain; 
  margin-top: 7%; 
}
  
  /* Estilo general de las tarjetas */
  .card {
    box-shadow: none; 
    border-radius: 8px;  
    height: auto;
    max-height: 500px; 
    width: 100%; 
    display: flex;
    flex-direction: column;
  }
  
  
  .card-content {
    flex-grow: 1;
    padding: 5px;
  }
  
  .card-title {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
  }
  
  .card-content p {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
  }
  
  .card-action {
    padding: 5px;
    background-color: #f0f0f0;
    text-align: center;
  }
  
  .card-action a {
    color: #003E52; 
    font-weight: bold;
    text-decoration: none;
  }
  
  .card-action a:hover {
    color: #4092A1; 
  }
  
 .barra-gris-moviles {
  display: none;
 }
 

 .drop-down-movil {
   display: none;
 }

  @media (max-width: 768px) {

    .navbar {
      width: 100%; 
      padding: 5px 10px; 
      border-radius: 10px; /
  }

  .nav-links {
      flex-direction: row; 
      align-items: center;
      gap: 5px; /
  }

  .nav-links li {
      margin: 0; 
  }

  .ocultar{
    display: none !important;
  }
  
    .ocultarPC{
      display: none;
    }

    .drop-down-movil {
      display: block !important; 
  }

  .dropdown-content {
    width: 200px !important;
    height: 140px !important;
  }
    /* Contenedor de las tarjetas */
.blog-cards-container {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Para centrar */
  gap: 20px; /* Espacio entre tarjetas */
}

/* Estilo general de las tarjetas */
.card {
  box-shadow: none; 
  border-radius: 8px; 
  height: auto;
  max-height: 600px; 
  width: 100%; 
  max-width: 320px; /* Limita el ancho */
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;
}

/* Imagen dentro de la tarjeta */
.card img {
  width: 100%;
  max-height: 400px; /* Ajusta altura */
  object-fit: cover;
}


/* Contenido de la tarjeta */
.card-content {
  flex-grow: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

/* Título */
.card-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

/* Descripción */
.card-content p {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  display: block; 
}

    .slogan{
      font-size: 17px !important;
    }

    body {
      overflow-x: hidden;
      width: 100%;
  }

   .logo-header{
    width: 90%;
    margin-top: 3%;
   }

    .main-container {
        display: flex;
        flex-direction: column;
        width: 100%;
    }


    .der {
        width: 100%;
    }

    .izq {
      width: 100%;
    }

    .blog-cards-container .card {
        width: 90%;
        margin: 0 auto;
    }

    .barra-gris-moviles {
      display: block;
      background-color: #AABCAF;
      padding: 20px;
      text-align: center;
    }
  }


