@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@300&family=Rubik:wght@300;400;500&family=Varela+Round&family=Bebas+Neue&family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    border: none;
}

body{
    background-color: #E8EFFF;
    background: linear-gradient(135deg, #FFF, #E8EFFF);
}

header{
  transition: 0.7s;
  width: 100%;
  height: 80px;
  margin-top: 30px;
  position: fixed;
  z-index: 1;
  }

  .menu .container__menu .items__menu img{
    width: 300px;
  
  }

  header.abajo{
    background-color: rgba(232,239,255, .9);
    height: 50px;
    margin-top: 0px;
    -webkit-box-shadow: 4px 4px 4px -1px rgba(0,0,0,0.10);
	-moz-box-shadow: 4px 4px 4px -1px rgba(0,0,0,0.10);
	box-shadow: 4px 4px 4px -1px rgba(0,0,0,0.10);
}

header.abajo .container__menu  .logo img{
    border-bottom: 2px solid #2C3F6E;
    transition: .5s;
    width: 150px;
}



  .menu{
    font-family: 'Rubik';
    max-width: 1200px;
    height: 100%;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
  }
  
  .menu .menu__link ul{
      list-style: none;
  }
  
  .menu .menu__link ul li{
    margin-left: 40px;
      display: inline-block;
  }
  
  .menu .menu__link ul li a{
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    color: #2C3F6E;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .menu .menu__link ul li a:hover{
    color: #357fca;
    transition: .5s ;
  }

  .menu__link ul li:last-child a {
    padding-right: 20px;
}


  .menu .container__menu .btn-menu{
	text-decoration: none; /* No subrayar icono*/
	color: #000; /*Color de boton de menú*/
	font-size: 2rem; /* Tamaño de boton menú*/
	display: none; /* No mostrar*/
  padding-right: 40px;
}


#selected{
    border-bottom: 2px solid #2C3F6E;
}

/* Portada */

.container__cover{
    font-family: 'Inter', sans-serif;
    max-width: 100%;
    height: 100vh;  
    padding-left: 20px;
}
.cover{

    max-width: 1200px;
    height: 100vh;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1.4;

}

.container__cover .text{
    max-width: 600px;
}

.container__cover .text h2{
    font-weight: 600;
}

.container__cover .text h2 img {
    display: inline block;
    margin: 0 auto;

  }


.container__cover .text p{
    text-align: justify;
    
    margin-top: 30px;
}

.container__cover .text p span{
   font-weight: 600;
}

.container__cover .text input{
    font-family: 'Inter';
    background-color: #007bff;
	border-radius: 5px;
    border: 1px solid #007bff;
	color: white;
    cursor: pointer;
	padding: 10px 20px;
    margin-top: 40px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
}

.container__cover .text input:hover{
    background-color: #0056b3;
    border: 1px solid #0056b3;
    transition: .5s;
}

.container__cover .svg img{
    width: 600px;
}

#logo_contpaqi{
    width: 130px;
}

/*Portada Porque IAYUDA*/
.container__Sect1 {
    padding-bottom: 100px;
  }
  

.container__Sect1 h2{
    color: #2C3F6E;
    font-family: 'Inter', sans-serif;
    text-align: center;
    letter-spacing: 1px;
    padding-top: 5px;
    padding-bottom: 50px;
}




.container__Sect1 .container__Cards{
    margin: auto;
    text-align: center;
    font-family: 'Inter';
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: space-around;
	width: 100%;
	max-width: 1200px;
}

.container__Sect1 .container__Cards .card{
    width: 300px;
    height: 300px;
    
}

.container__Sect1 .container__Cards .card .icon{
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.container__Sect1 .container__Cards .card img{
    width: 70px;
    
}


.container__Sect1 .container__Cards .card h3{
    padding-top: 25px;
    padding-bottom: 20px;
}

/*Portada Blog*/
.container__Sect2 {
    background-color: #b1c1e9;
    padding-bottom: 100px;
  }

  

  .container__Sect2 .title h2{
    color: #2C3F6E;
    font-family: 'Inter', sans-serif;
    text-align: center;
    letter-spacing: 1px;
    padding-top: 50px;
}

.container__Sect2 .title hr{
    border: none;
    background-color: #00BFF3;
    background: linear-gradient(135deg, #71b7e6, #9b59b6);
	margin: auto;
	margin-top: 10px;
	height: 0.25rem;
	width: 5rem;
}
.container__Sect2 .title .last-update {
    display: block; /* Asegura que ocupe su propia línea */
    text-align: center; /* Centra el texto */
    font-family: 'Inter';
    font-size: 0.9em;
    color: #000;
    margin-top: 20px; /* Espacio después de la línea horizontal */
}

.container__Sect2 .container__posts {
    font-family: 'Inter';
    margin: auto;
    margin-top: 50px;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.tiempo-lectura {
  font-weight: bold; /* Texto en negrita */
  color: #007BFF; /* Color azul para el texto */
  background-color: #E9ECEF; /* Fondo gris claro */
  padding: 5px 10px; /* Padding para hacerlo más legible */
  border-radius: 0px; /* Bordes redondeados */
  display: inline-block; /* Hace que el fondo solo cubra el texto */
  margin-top: -4px; /* Espacio en la parte superior */
}

#post-date {
  color: #666;
  font-size: 0.8em;
  margin-top: -5px;
  margin-bottom: 10px;
}

.container__Sect2 .card h4 {
  color: #2C3F6E;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.2em; /* Ajusta esto según el tamaño de fuente de tus títulos */
  max-height: 2.4em; /* Esto debería ser el doble de tu line-height si quieres dos líneas */
}


.container__Sect2 .post-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Espacio entre el contador y el botón */
    margin-top: 20px;
}


.container__Sect2 .view-all-posts {
    text-align: center; /* Centra el botón */
    margin-top: 30px; /* Espacio por encima del botón */
    width: 100%; /* Ocupa todo el ancho disponible */
}

.container__Sect2 .btn-view-all {
    display: inline-block;
    background-color: #0056b3; /* Color de fondo */
    color: white; /* Color del texto */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none; /* Elimina el subrayado del enlace */
    font-weight: bold;
    font-family: 'Inter';
    letter-spacing: 1px;
}

.container__Sect2 .btn-view-all:hover {
    background-color: #007bff; /* Color al pasar el mouse */
    transition: .5s;
}


.container__Sect2 .container__posts .card {
    background-color: #FFF;
    box-shadow: 4px 4px 4px -1px rgba(0,0,0,0.10);
    height: 520px;
    width: 350px;
}

.container__Sect2 .container__posts .card img {
    width: 100%;
    height: auto; /* Asegura que la imagen mantenga su proporción */
}

.container__Sect2 .container__posts .card h4 {
    margin-top: 12px;
    margin-bottom: 12px;
    text-align: left;
    padding-left: 15px;
}

.container__Sect2 .container__posts .card h4 a{
    color: #2C3F6E;
    text-decoration: none;
}
.container__Sect2 .container__posts .card h4 a:hover{
    color: #357fca;
    transition: .5s ;
    text-decoration: underline;
}

.container__Sect2 .container__posts .card p {
    padding-left: 12px;
    padding-right: 12px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 7;
    -webkit-line-clamp: 7; /* Limita el texto a 3 líneas */
    -webkit-box-orient: vertical;
}

/*NEWSLETTER*/

.container__newsletter {
    color: #FFF;
    background-color: #20202F;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 100%;
    margin: auto;
    font-family: 'Inter', sans-serif;
  }
  
  .container__newsletter .newsletter {
    
    width: 900px;
    padding: 20px;
    text-align: center;
  }
  
  .container__newsletter .newsletter h2 {
    padding-top: 50px;
    padding-bottom: 15px;
  }
  
  .container__newsletter .newsletter hr{
    border: none;
      background-color: #00BFF3;
      background: linear-gradient(135deg, #71b7e6, #9b59b6);
      margin: auto;
      margin-top: -8px;
    margin-bottom: 20px;
      height: 0.10rem;
      width: 25rem;
  }
  
  .container__newsletter .newsletter form {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .container__newsletter .newsletter input[type="text"] {
    background-color: #20202F;
    color: #FFF;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #fff; /* Borde de 1px color blanco */
    border-radius: 5px;
    width: 70%;
    margin-right: 10px;
  }
  
  .container__newsletter .newsletter input[type="text"]:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
  }
  
  .container__newsletter .newsletter input[type="text"]::placeholder {
    color: #888;
  }
  
  .input-correo{
    background-image: url(..//img/logo_email_mail.svg);
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 25px;
  
  }
  
  .btn-submit {
    background-color: red;
    color: #FFF;
    padding: 15px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .btn-submit:hover {
    opacity: .8; /* Cambio de color al pasar el cursor */
  }

/* FOOTER */

  
footer{
    font-family: 'Rubik', sans-serif;
    max-width: 100%;
  padding: 50px 0px;
  /*background-color: #283241;*/
  background-color: #20202F;
    
  }
  
  .container__footer{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;

  }
  
  .box__footer{
  display: flex;
  flex-direction: column;
  padding: 10px 40px;
  }
  
  .box__footer .logo img{
  width: 180px;
  }
  
  .box__footer .terms{
  line-height: 1.5;
  max-width: 350px;
  margin-top: 20px;
  font-weight: 300;
  color: #FFF;
  }
  
  
  .box__footer a{
  color: #FFF;
  margin-top: 10px;
  font-weight: 300;
    text-decoration: none;
    text-transform: uppercase;
  }
  
  .box__footer a:hover{
  opacity: .8;
  }

  .box__footer h3{
    margin-bottom: 10px;
    color: #CCC;
  }

  .popular-tags {
    list-style: none;
    padding: 0;
}

.popular-tags li {
    color: #FFF;
    margin-bottom: 10px;
}

.popular-tags li a {
    text-decoration: none;
    color: #FFF; /* Ajusta el color según tu diseño */
}

.popular-tags li a:hover {
    opacity: .8;
}

@media screen and (max-width: 1199px){
    /*header fijo*/
  
  header{
    background-color: rgba(232,239,255, .9);
      height: 50px;
      margin-top: 0px;
      -webkit-box-shadow: 4px 4px 4px -1px rgba(0,0,0,0.10);
      -moz-box-shadow: 4px 4px 4px -1px rgba(0,0,0,0.10);
      box-shadow: 4px 4px 4px -1px rgba(0,0,0,0.10);
  }
   
  
        /* menú responsivo*/
      .menu .container__menu{
          width: 100%;
      }
  
    .menu .container__menu .items__menu img{
      margin-left: 20px;
      transition: .5s;
      width: 150px;
    }
  
    .menu .container__menu .btn-menu {
      display: block;
      color: #0085B2;
      
      }
  
      .menu .container__menu .items__menu {
        display: flex;
        -ms-align-items: center;
        align-items: center;
        justify-content: space-between;
        
      }
  
      .menu .menu__link {
        position: absolute;
        background: /*#000*/rgba(0,0,0,.9);
        height: 100vh;  /* OJO: VH*/
        width: 100%;
        top: 50px; 
        left: -100%;
        z-index: 20;
        transition: .3s;
      }
      
  
      .menu .menu__link ul li{
        display: block;
      }
  
      .menu .menu__link ul li a{
        color: #FFF;
        display: block;
        /*height: auto;*/
        border-bottom: 2px solid #FFF;
        padding: 15px;
        text-align: center;
        margin: 0;
      }
  
      .menu .menu__link ul li a:hover{
        background-color: #FFF; 
        color: rgba(0,0,0,.8);
        transition: .5s;
        
      }
  
    }

    /* Pantallas medianas */
@media screen and (max-width: 1024px) {
    .container__cover .svg img {
        width: 500px; /* Tamaño más pequeño para pantallas medianas */
    }
}

/* Pantallas pequeñas */
@media screen and (max-width: 768px) {
    .container__cover .svg img {
        width: 400px; /* Tamaño aún más pequeño para pantallas pequeñas */
    }
}

/* Pantallas muy pequeñas */
@media screen and (max-width: 480px) {
    .container__cover .svg img {
        width: 300px; /* Tamaño mínimo para pantallas muy pequeñas */
    }
}