#pantalla-inicio{
    background: linear-gradient( rgba(0, 0, 0, .9), rgba(0, 0, 0, .1)), url("/img/blog-portada.png");
    background-size: cover;
    background-position: center center;
    height: 60vh;
}

/* pantalla prncipal */
.contenedor-presentacion{
    max-width: 1176px;
    margin-left: 12%;
   margin-right: 9%;
    position: relative;
}
.presentacion{
    max-width: 800px;
    width: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, .75); 
    margin: auto;
    margin-top: 8%;
    padding: 20px;
    color: var(--blanco);
    text-align: left;
      
}
.presentacion h1{
    font-size: 48px;
    margin-bottom: 25px;
    text-align: left;
    display: block;
    color: #fff;
    padding-bottom: 10px;
    margin: 0 0 20px;
    border-bottom: var(--sexto) solid 4px;
}

.presentacion h3{
    display: block;
    color: #fff;
    padding-bottom: 10px;
    margin: 0 0 20px;
    font-size: 16px;
}
.hr1{
    display: block;
    margin: 0 0 25px;
    font-size: 48px;
    border-bottom: var(--sexto) solid 4px
}
.hr2{
    color: #fff;
    display: block;
    margin-bottom: 25px;
    font-size: 21px;
    border-bottom: #a6a9ac solid 1px;
}
.descripcion-inicio{
    color: var(--blanco);
    margin-bottom: 1.5em;
    font-size: 18px;
    line-height: 1.5em; 
    margin-left: 0;
    text-align: justify;
}

/* blog */
#noticias{
    background-color: #f3f3f3;

}
.contenedor-noticias{
    max-width: 1100px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 8px;
    padding-right: 8px;   
}
.contenedor-titulo{
    width: 100%;
    position: relative;
    margin-top: 2em;
    padding-bottom: 1.5rem;
    margin-bottom: 32px;
    border-bottom: var(--sexto) solid 4px;
}
.contenido-titulo{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.contenido-titulo a {
    position: relative;
    display: inline-block;
    background: 0 0;
    padding-right: 16px;
    font-size: 18px;
    line-height: 22px;
    text-decoration: none;
    color: #5d2b8c;
    font-weight: 700;
}
.fa-caret-up {
    transform: rotate(180deg);
}
.titulo-noticia{
    color: #414042;
    font-size: 48px;
    margin: 0;
    display: inline-block;
}


.contenedor-1{
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-right: 18px;
}
.contenedor-1 .contenedor-not{
    width: 100%;
}
/* posible borrado */
.contenedor-2{
    
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
/* --- */


.noticia{
    max-width: auto;

    /* margin: 0 10px; */
    position: relative;
    overflow: hidden;
}
.noticia img{
    height: 439px;
    width: 100%;
    object-fit: cover;
    transition: .5s;

}
.noticia img:hover{
    transform: scale(1.2);
}
.info-noticia{
    position: absolute;
    left: 0;
    background-color: rgba(0, 0, 0, .7);
    color: var(--blanco);
    width: 100%;
    padding: 10px;
    bottom: 0;
    z-index: 1000;
    max-height: 100px;
    transition: .5s;
    align-items: left;
}
.info-noticia span{
    color: #41b3c1;
}

.contenedor-2 img{
    max-height: 160px;
    height: 100%;
    width: 100%;

}
/* posible borrado */
.contenedor-2 .info-noticia{
    max-height: 100px;
}


/* seguna parte de noticias */
.contenedor-seccion-noticias{
    display: grid;
    grid-template-columns: 3fr 1fr;
    width: 100%; 
    align-items: start;
}
.contenedor-1 .info-noticia p{
    font-size: 11.2px;
    margin-left: -5px;
}
.contenedor-1 .info-noticia h4{
    font-size: 14px; 
    margin-left: -5px;
    margin-right: -5px;
}
.contenedor-2 .info-noticia p{
    font-size: 11.2px;  
}
.contenedor-2 .info-noticia h4{
    font-size: 15px;  
}

/* tercera parte de inicio */
.contenedor-seccion-noticias2{
    /* display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; */
    margin-top: 20px;
}
.seccion-2-contenedor{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
}
.seccion-2-noticia{
    
    background-color: #ffffff; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    overflow: hidden; 
    margin: 20px auto; 
}
.seccion-2-noticia a{
    text-decoration: none;
}
.seccion-2-noticia img{
    height: auto;
    width: 100%;
    display: block;
    object-fit: cover;
    transition: .5s;
}
.seccion-2-noticia img:hover{
    transform: scale(1.2);
}
.info-noticia2{
    position: relative;
    text-align: left;
    height: 100%;
    width: 100%;
    display: block;
    padding: 15px;
}
.info-noticia2 h4{
    color: #414042;
    margin: 10px 0;
    font-size: 18px;
}
.info-noticia2 span{
    color: #41b3c1;
}
.card-date{
    background-color: #ececec; 
    padding: 5px 10px; 
    display: inline-block; 
    font-size: 14px;
    color: #666; 
    border-radius: 4px; 
    margin-bottom: 10px; 

}

.leer-mas a{
    margin-top: 10px;
    display: flex;
    align-content: center;
    
}
.leer-mas a p{
    color: #5d2b8c;
    font-size: 18px;
    font-weight: bold;
}
.leer-mas i{
    color: var(--sexto);
    transform: rotate(90deg);
    margin-left: 5px;
    
}
/* .seccion-2-contenedor hr{
    background-color: #f0f0f0;
    opacity: .1;
    margin-top: 15px;
} */
.contenido-visible{
    display: none;
}

/* media querys  */
@media only screen and (max-width: 1100px) {
    .contenido-visible{
        display: block;
    }
    .seccion-2-contenedor{
        grid-template-columns: repeat(2,1fr);
    }
    .contenido-no-visible{
        display: none;
    }
}
@media only screen and (max-width: 768px) {
    .contenedor-seccion-noticias{
        display: grid;
        grid-template-columns: 1fr;
    }
    .contenedor-2 .info-noticia h4{
        font-size: 14px;   
    }
    .contenedor-1{
        margin-right: 0;
    }
    .contenedor-2{
        width: 100%;
        margin: 15px 0;
    }
    .contenido-titulo{
        flex-direction: column;
        margin-bottom: 10px;
    }
    .contenedor-titulo h2{
        margin-bottom: 10px;
    }
    .contenedor-seccion-noticias2{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        margin-top: 20px;
    }
    .seccion-2-contenedor{
        grid-template-columns: repeat(1,1fr);
    }
    .contenido-no-visible{
        display: none;
    }
    
}