  @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: poppins;
    box-sizing: border-box;
}

a {
    text-decoration: none;

}

#blog ul {
    list-style: none;
}

body {
    margin: 0px;
    padding: 0;
    font-family: poppins;
}

/* ---------blog====================== */

#blog {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.blog-heading span {
    color: #30a7eb;

}

.blog-heading h3 {
    font-size: 2.4rem;
    color: #2b2b2b;
}

/* ---------------blog_container-------------------------- */

.blog-container {
    display: flex;
    justify-content: center;
    align-content: center;
    margin: 20px 0px;
    flex-wrap: wrap;

}

.blog-box {
    width: 350px;
    background-color: #ffffff;
    border: 1px solid #ececec;
    margin: 20px;

}

.blog-img {
    width: 100%;
    height: auto;

}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

}

.blog-text {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.blog-text span {
    color: #0996e8;
    font-size: 0.9rem;
}

.blog-text .blog-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #272727;

}

.blog-text .blog-title:hover {
    color: #bba717;
    transition: all ease 0.3s;
}

.blog-text p {
    color: #9b9b9b;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 20px 0px;
}

.blog-text a {
    color: #0f0f0f;
}

.blog-text:hover {
    color: #30a7eb;
    transition: all ease 0.3s;
}

@media(max-width:1250px) {
    .blog-box {
        width: 300px;
    }
}

@media(max-width:1100px) {
    .blog-box {
        width: 70%;
    }
}

@media(max-width:550px) {
    .blog-box {
        margin: 20px 5px;
        width: 100%;
    }

    .blog {
        padding: 5px;
    }
}