@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");
body{
    margin: 0;
    padding: 0;
}
.blog-container{
    width: 100%;
}
.blog-row{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.blog{
    width: calc(40%);
    min-width: 350px;
    height: 400px;
    display: flex;
    flex: 1 0 40%;
    background-color: #222;
    background-size: cover;
    background-position: center center;
    position: relative;
    margin-bottom: 20px;
    transition: .2s all ease-in-out;
}

.blog::after{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #1118;
    bottom: 0;
    left: 0;
    transition: .2s all ease-in-out;
}
.blog h2{
    color: #779E93;
    z-index: 8;
    position: absolute;
    bottom: 90px;
    left: 20px;
    font-size: 16pt;
}
.blog p{
    color: rgb(255, 255, 255);
    z-index: 8;
    font-size: 10pt;
    width: 95%;
    position: absolute;
    bottom: 50px;
    left: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; 
    overflow:hidden;
}
.blog a{
    color: #f1f1f1;
    position: absolute;
    display: block;
    width: 150px;
    text-align: center;
    bottom: 10px;
    right: 20px;
    padding: 10px 7px;
    text-decoration: none;
    border-radius: 0.3rem;
    background-color: #779E93;
    z-index: 9;
    transition: all .2s ease-in-out;
}
.blog a:hover{
    background-color: #333;
    box-shadow: 0 0 10px #fff;
}
.blog span{
    z-index: 8;
    color: #f1f1f1;
    position: absolute;
    top:20px;
    left: 20px;
    visibility: hidden;
    display: none;
}
.blog span i{
    color: #3498DB;
}
.empty-blog{
    width: calc(40%);
    min-width: 450px;
    height: 10px;
    display: flex;
    flex: 1 0 40%;
}
.blog:hover{
    flex-basis: 48%;
}
.blog:hover::after{
    background-color: rgba(17, 17, 17, 0.7);
}
.blog:hover span{
    visibility: visible;
}
.blog:hover a{
    width: 180px;
}
@media screen and (min-width:920px) {
    .blog:nth-child(2n-1){
        margin-right: 10px;
    }
}