/*slider*/
.portadas-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%; 
  margin: auto;
}
.portada {
  display: none; 
  width: 100%;
  text-align: center; 
}
.contentSlide {
  width: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  text-align: center;
  color: white;
  text-shadow: -1px -1px 0px #3246c6, 1px -1px 0px #3446c6,
               -1px 1px 0px #3246c6, 1px 1px 0px #3246c6;
}
.contentSlide h1 {
  margin: 0;
  font-size: 3.5rem;
} 
.contentSlide p{
 font-size:1.5rem;
}
.portada img {
  width: 100%; 
  height: 650px; 
  object-fit: cover;
}
.portada.active {
  display: block; /* Show the active slide */
}
@media (max-width: 767px) {
    .portada img {
      height: 450px;
    }
    .contentSlide h1 {
      font-size: 1.6rem;
    }
    .contentSlide p{
      font-size: 1.1rem;
    }
  }
@media (min-width: 768px) and (max-width: 1024px) {
    .portada img {
      height: 550px;
    }
    .contentSlide h1 {
      font-size: 2rem;
    }
    .contentSlide p{
      font-size: 1.5rem;
    }
  }


/*seccion categorias*/
.panelCategorias{
   width: 100%;
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   margin: 1% 0;
}
.categoria{
    border-radius: 25px 25px 25px 25px;
    width: 24%;
    margin:5px;
    background-color: orangered;
    color:white;
    overflow: hidden;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.categoria:hover{
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background-color: rgb(255, 153, 0);
    transform: scale(1.02);
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.5);
}
.categoria img{
    width: 100%;
    border-radius: 25px 25px 0 0;
    transition: transform 0.3s ease;
}
.categoria img:hover{
  transform: scale(1.1);
}
.categoria h2{
  text-align: center;
}







/*sobre nosotros*/
.sobreNosotros {
    width: 100%;
    padding: 2%;
    margin: 2% 0;
    display: flex;
    color: white;
    background-color: #3246C6; 
    box-sizing: border-box;
    background-size: 300% 300%; /* Aumenta el tamaño del fondo */
    animation: circularBackground 4s infinite linear; /* Animación de fondo circular */
}

@keyframes circularBackground {
    0% {
        background-position: 0% 0%; /* Comienza en la esquina superior izquierda */
    }
    25% {
        background-position: 100% 0%; /* Mueve el fondo a la derecha */
    }
    50% {
        background-position: 100% 100%; /* Mueve el fondo a la esquina inferior derecha */
    }
    75% {
        background-position: 0% 100%; /* Mueve el fondo a la esquina inferior izquierda */
    }
    100% {
        background-position: 0% 0%; /* Vuelve al inicio */
    }
}

.sobreNosotros img{
    width: 46%;
    margin:auto;
    border-radius: 15px;
}
.textoSobreNosotros{
    width: 40%;
    padding: 2%;
    margin: auto;
}
.textoSobreNosotros h2{
    text-align: center;
}
.btn-naranja{
  background-color: orangered;
  padding: 2%;
  font-size: 1.1rem;
  color:white;
  border:none;
  border-radius: 15px;
  width: 40%;
  display: flex;
  margin:auto;
  justify-content: center;
  transition: background-color 0.5s ease, transform 0.3s ease;
}
.btn-naranja:hover{
    background-color: rgb(255, 153, 0);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.5);
}










/*Estilo de los circulos*/
.containerConsumeLoNuestro{
  display:flex;
  align-items:center;
  width:600px;
  margin:auto;
 }
 .letrasNuestro{
     text-align:right;
 }
 
 .containerSocial{
     display: flex;
     flex-wrap:wrap;
     width: 80%;
     margin:auto;
   }
   .center {
     position: relative;
     width: 150px;
     height: 150px;
     cursor: pointer;
     border-radius: 100%;
     margin: 100px auto;
     transition: all 0.5s ease;
     box-shadow: 0px 5px 10px #000;
   }
   .center h2 {
     position: relative;
     top: -40%;
     left: 50%;
     transform: translateX(-50%);
     font-size: 1.3em;
     text-align: center;
     color: #333; 
 }
   .center img.center-image {
     border-radius: 100%;
     width: 100%;
     height: 100%;
     object-fit: cover; /* Para que la imagen se ajuste dentro del círculo */
     transition: all 0.5s ease;
     position: absolute; /* Aseguramos que la imagen no afecte el flujo del contenido */
     top: 0;
     left: 0;
     z-index: 1; /* La imagen está debajo del texto */
   } 
   .center:hover img.center-image {
     transform: scale(1.15); /* Efecto de zoom en la imagen */
   }
   .outside {
     display: block;
     position: absolute;
     line-height: 100px;
     text-align: center;
     letter-spacing: 4px;
     box-sizing: border-box;
     font-weight: 300;
     color: #fff;
     font-family: Oswald, sans-serif;
     border-radius: 100%;
     width: 100px;
     height: 100px;
     background: orangered;
     left: 50%;
     top: 50%;
     margin-top: -50px;
     margin-left: -50px;
     transform: rotate(-135deg) translate(-100px) rotate(135deg);
     box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
     transition: all 0.5s ease;
     z-index: 2; /* Asegura que el texto esté encima de la imagen */
     overflow: hidden;
   }
   .center:hover .outside {
     transform: rotate(-45deg) translate(0px) rotate(-315deg) scale(1.15);
     background-color: rgb(255, 153, 0, 0.5);
     width: 150px;
     height: 150px;
     letter-spacing: 10px;
     line-height: 150px;
     margin-top: -75px;
     margin-left: -75px;
 }
 
 
 @media (max-width: 767px) {
    /*circulos*/
    .containerSocial{
     flex-direction:column;
    }
    .center {
     position: relative;
     width: 150px;
     height: 150px;
     cursor: pointer;
     border-radius: 100%;
     margin: 50px auto;
     transition: all 0.5s ease;
     box-shadow: 0px 5px 10px #000;
     background:green;
   }
 
   .containerConsumeLoNuestro{
     flex-direction:column;
        width:380px;
        margin-top:15px;
     }
     .letrasNuestro{
         text-align:center;
         margin-bottom:-55px;
     }
     .letrasNuestro h2{
         margin:5px;
     }
     .letrasNuestro p{
         margin:0;
     }
 }
 
 @media (min-width: 768px) and (max-width: 1024px) {
     .containerSocial{
       width:90%;
       margin-left:0px;
    }
     .center {
     position: relative;
     width: 150px;
     height: 150px;
     cursor: pointer;
     border-radius: 100%;
     margin: 50px auto;
     }
 }







/*seccion de complementos*/
.complementos{
  display: flex;
  justify-content:center;
  margin:auto;
  width:100%;
  flex-wrap: wrap;
}
.contenidoComplemento {
  width: 300px;
  height: 100px;
  border: 1px solid #cdcdcd;
  font-weight: 500;
  border-radius: 25px;
  display: flex;
  align-items:center;
  margin: 10px;
  padding: 10px;
  color:white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  background-position: -100% 0;
  background: linear-gradient(120deg, orangered, orange);
}
.contenidoComplemento:hover {
  color: #333;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.2);
  background: linear-gradient(120deg, #ffffff, orange);
  background-size: 200% 100%; 
  transition: background-position 0.5s ease, color 0.3s ease;
}
.imgComplemento img{
  width: 100px;
  height:auto;
  margin:0;
  object-fit:cover;
}
.textoComplemento {
  font-size: 1.1rem;
  padding:5px;
  margin:auto;
}

@media (max-width: 767px) {
  .contenidoComplemento {
      border-radius: 15px;
      margin:auto;
      margin-bottom: 10px;
  }
  .imgComplemento img{
      width: 90px;
      height:80px;
      margin: auto;
      object-fit: fill;
  }
  .textoComplemento {
      font-size: 0.8rem;
      text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
.categoria{
  width: 40%;
  margin: 3%;
}

.sobreNosotros p {
 font-size: 0.9rem;
 text-align: justify;
}
.btn-naranja{
  width: 60%;
}


.containerSocial{
  display: flex;
  width: 90%;
  margin: auto;
}

}




/*seccion del pdf*/
.title{
  text-align: center;
  margin-top: 4%;
  margin-bottom: 0;
}
.blog-entries {
    margin: 20px;
    width: 50%;
    margin:auto;
}
.blog-entries {
  margin: 20px;
  width: 50%;
  margin:auto;
  background-color:#3246C6; 
  overflow: auto;
  height:250px;
  padding:20px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}
.blog-entry {
  display: flex;
  justify-content: space-between;
  align-items: center; 
  border: 1px solid #ccc; 
  padding: 10px; 
  border-radius: 15px; 
  margin-bottom: 15px; 
  background: linear-gradient(120deg, orangered, orange);
  color:white;
}
.entry-content {
    display: flex;
    align-items: center; 
}
.pdf-download-icon {
    width: 30px; 
    height: auto; 
    margin-right: 10px;
}
.entry-text {
    flex-grow: 1; 
}
.blog-entry button {
    background-color: #3246C6; 
    color: white; 
    border: none; 
    border-radius: 5px; 
    padding: 10px 15px; 
    cursor: pointer; 
    transition: background-color 0.3s; 
}
.blog-entry button:hover {
    background-color: #0056b3;
}
.cabeceraPdf {
    display: flex;
    align-items: center; 
    margin-bottom: 20px; 
}

@media (max-width: 767px) {
    .blog-entries {
    width: 90%;
    }
}




/* Estilos para celulares */
@media (max-width: 767px) {
    .categoria{
        border-radius: 25px 25px 25px 25px;
        width: 80%;
        margin: 3% 0;
        background-color: orangered;
        color:white;
        overflow: hidden;
        box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.2);
        transition: background-color 0.3s ease, transform 0.3s ease;
    }
    .sobreNosotros {
        flex-direction: column;
    }
    .sobreNosotros img{
        width: 100%;
        margin:auto;
        border-radius: 15px;
    }
    .textoSobreNosotros{
        width: 95%;
        padding: 2%;
        margin: auto;
        text-align: justify;
    }
    .btn-naranja{
        font-size: 1rem;
        color:white;
        border:none;
        width: 50%;
        margin-bottom: 10px;
        padding: 3%;
      }







    .containerSocial{
        width: 90%;
    }

}

 @media (min-width: 768px) and (max-width: 1024px) {

    .categoria{
        width: 40%;
        margin: 3%;
    }

    .sobreNosotros p {
       font-size: 0.9rem;
       text-align: justify;
    }
    .btn-naranja{
        width: 60%;
    }

    
    .complementos{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .contenidoComplemento {
        width: 45%;
        margin:auto;
        margin-bottom: 10px;
    }


    .containerSocial{
        display: flex;
        width: 90%;
        margin: auto;
      }
      
 }












