.posts-img {
    background-position: center;
    background-size: cover;
    width: 180px;
    height: 180px;
    flex: none;
    position: relative;
    padding: 10px;
    margin: auto;
}


.posts-img>.img-effects {
    background-position: center;
    background-size: cover;
    background-color: #000;
    width: 180px;
    height: 180px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    text-align: center;
}

.posts-img>.img-effects>img {
    width: 140px;
    height: 180px;
    margin: auto;
}

.posts-img>.img-effects:hover {
    opacity: .7;
    animation: img-opacity .6s;
}

@keyframes img-opacity {
    from {
        opacity: .1;
    }

    to {
        opacity: .7;
    }
}









.posts-container {
    flex: auto;
    padding: 20px;
    width: 440px;
}

.blog-posts {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid;
    border-bottom-style: dashed;
    margin-bottom: 30px;
    background: #fff;
}


.posts-title {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0px;
    padding: 0;
    margin: 0;
    display: flex;

}

.posts-title>a {
    color: #333;
}
.posts-title>a:hover {
    color: #00849a;
    text-decoration: none;
}

.posts-nav {
    margin: 0;
    padding: 16px 0px;
}
.posts-nav-item {
    display: inline;
    padding-right: 6px;
    padding-left: 6px;
    font-size: 12px;
    font-weight: 400;
}

.posts-context {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.posts-btn {
    float: right;
    color: #eee;
    background-color: #333;
    border: 1px solid #333;
    padding: 2px 20px;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 2px;
}

.posts-btn:hover {
    color: #333;
    background-color: #eee;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 2px;
}

@media (max-width:1024px) {
    .posts-img {
        width: 650px;
        height: 650px;
    }
    .posts-img>.img-effects {
        width: 650px;
        height: 650px;
    }

    .posts-img>.img-effects:hover {
        width: 650px;
        height: 650px;
    }

    .posts-img>.img-effects>img {
        width: 400px;
        height: 650px;
    }
    .posts-container {
        width: 650px;
    }
}


@media (max-width:991px) {
    .posts-img {
        width: 470px;
        height: 470px;
    }
    .posts-img>.img-effects {
        display: none;
    }
    .posts-container {
        width: 470px;
    }
}

@media (max-width:768px) {
    .posts-img {
        width: 305px;
        height: 305px;
    }
    
    .posts-container {
        width: 305px;
    }
    .allposts-title {
        width: 345px;
        background: #fff9;
        padding: 24px;
        margin: auto;
        border: 1px solid #333;
    }
}

@media (max-width:568px) {
    .posts-img {
        width: 290px;
        height: 290px;
    }
    .posts-container {
        width: 290px;
    }
    .allposts-title {
        width: 260px;
    }
}




