/*Portada*/

header .logo b{
    color: #1e6f0d;
}

.logo img{
    height: 65px;
    margin: 10px;
    
}

.blog-container-cover{
    width: 100%;
    height: 620px;
    position: relative;
    margin-top: 80px;
    background-image: linear-gradient(50deg,rgba(0, 0, 0, 0.908), rgba(0, 0, 0, 0.481)), url(../img/menu.gif);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.blog-container-cover:before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
}

.container-info-cover{
    max-width: 800px;
    height: 500px;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.container-info-cover h1{
    font-size: 7.3ch;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.container-info-cover p{
    color: #fff;
    font-size: 35px;
    font-weight: 300;
}

.container-info-cover .tex p{
    color: #ffffff;
    font-size: 20px;
}

/*Contenedor de categorias*/

input[type="radio"]{
    display: none;
}

.container-category{
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.container-category label{
    padding: 8px 40px;
    margin: 10px;
    font-size: 15px;
    background: #ffffff;
    border-radius: 5px;
    cursor: pointer;
}

.container-category label:hover{
    opacity: 0.8;
}



/*Post - Publicaciones*/

.container-post{
    max-width: 1500px;
    margin: auto;
}

.posts{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 20px;
    margin-top: 20px;
    padding: 20px;
}

.posts .post{
    background: #fff;
    box-shadow: 0 0 20px -20px black;
    border-radius: 6px;
    overflow: hidden;
    padding-bottom: 10px;
}

.post .ctn-img{
    width: 100%;
}
 
.post .ctn-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.post span{
    display: block;
    margin-top: 10px;
    padding: 0px 20px;
    text-align: justify;
}

.ctn-tag{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-left: 16px;
    margin-top: 10px;
}

.post button{
    margin-top: 20px;
    margin-left: 70px;
    padding: 10px 50px;
    font-size: 20px;
    background: #393737;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.post button:hover{
    opacity: 0.9;
}


/*sistema de filtrado*/

[value="TODOS"]:checked ~ .posts .post[data-category]{
    display: block;
}

[value="PEDAGÓGICO"]:checked ~ .posts .post:not([data-category~="PEDAGÓGICO"]),
[value="POLÍTICO"]:checked ~ .posts .post:not([data-category~="POLÍTICO"]),
[value="ADMINISTRATIVO"]:checked ~ .posts .post:not([data-category~="ADMINISTRATIVO"]),
[value="VUE"]:checked ~ .posts .post:not([data-category~="VUE"]){
    display: none;
}

[value="TODOS"]:checked ~ .container-category [for="TODOS"],
[value="PEDAGÓGICO"]:checked ~ .container-category [for="PEDAGÓGICO"],
[value="POLÍTICO"]:checked ~ .container-category [for="POLÍTICO"],
[value="ADMINISTRATIVO"]:checked ~ .container-category [for="ADMINISTRATIVO"],
[value="VUE"]:checked ~ .container-category [for="VUE"]{
    background: #393737;
    color: #fff;
}

@media screen and (max-width: 1400px){
    .posts{
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1200px){
    .posts{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 900px){
    .posts{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 580px){
    .posts{
        grid-template-columns: repeat(1, 1fr);
    }


}