@font-face {
    font-family: Estilo1;
    src: url(../fonts/Montserrat-Regular.ttf);
}
@font-face {
    font-family: Estilo2;
    src: url(../fonts/Roboto-Light.ttf);
}
@font-face {
    font-family: Estilo3;
    src: url(../fonts/Roboto-Italic.ttf);
}

@font-face {
    font-family: Estilo4;
    src: url(../fonts/Roboto-Regular.ttf);
}

/*Estilos de los bloques de noticias*/
body{
    width: 100%;
}
.news{
    width: 100%;
    height: 200%;
    box-sizing: border-box;
    position: relative;
}
.post-list{
    display: flex;
    min-height: 110vh;
    align-items: center;
    padding: 30px 15 px;
}
.content{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    max-width: 1100px;
    margin: auto;
}

.post-img-1{
    background:url(../img/Foto1.png);
    width: 60%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: .2s;
}

.post-img-2{
    background:url(../img/Foto3.png);
    width: 60%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: .2s;
}

.post-img-3{
    background:url(../img/Foto2.png);
    width: 60%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: .2s;
}

.post{
    box-shadow: 0 1px 6px 1px rgba(0, 0, 0, .1);
    overflow: hidden;
    transition: .2s;
}

.post:hover{
    transform: translateY(-4px);
    box-shadow: 0 1px 14px 2px rgba(0, 0, 0, .15);
}

.post-header{
width: 100%;
height: 210px;
overflow:hidden;
cursor: pointer;
background-color: #f39200;
}

.post:hover .post-img-1,
.post:hover .post-img-2,
.post:hover .post-img-3{
 transform: scale(1.1);
}

.post-body{
    padding: 15px;
    text-align: center;
}
.post-body span{
    display: inline-block;
    color: #999;
    margin-bottom: 10px;
    font-family: Estilo3;
}

.post-body h2{
    margin-bottom: 10px;
    font-family: Estilo2;
}

.post-body p{
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: justify;
    font-family: Estilo4;
    font-size: 10px;
    
}

.post-body .post-link{
    display:block;
    text-decoration: none;
    background: #e6007e;
    color: #ffffff;
    width: 50%;
    margin: auto;
    border-radius: 10px;
    box-shadow: 1px 2px 6px 1px rgba(0, 0, 0, .1);
    transition: .2s;
}

.post-body .post-link:hover{
    background:hotpink;
    box-shadow: 1px 2px 6px 1px rgba(0, 0, 0, .2);
    transform: translateY(-2px);
}

@media (max-width: 840px){
    .content{
        grid-template-columns: repeat(2, 1fr);
    }
    .post-list{
        min-height: 210vh;
    }


}


