@font-face {
    font-family: morabba;
    src: url("../fonts/Morabba.ttf");
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: morabba;
    user-select: none;
}

/* BLOGS-BANNER START */

.blogs-banner{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 75px 10px;
    background-color: rgba(63, 190, 109, 0.1);
}
.blogs-banner h1{
    font-size: 45px;
    background: #3fbe6d;
    background: linear-gradient(to left, #3fbe6d 0%, #6dff9e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.blogs-banner p{
    color: gray;
    font-size: 20px;
}

/* BLOGS-BANNER END */
/* BLOGS START */

.blogs{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0px 10px;
    margin: 100px 0px;
}
.blogs-container{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row;
    width: 1200px;
    gap: 30px;
}

.blogs-rast{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}
.blogs-rast-title{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}
.blogs-rast-title p{
    font-size: 24px;
    color: #2E9E56;
    font-weight: bold;
}
.blogs-rast-title span{
    width: 100%;
    height: 2px;
    background-color: rgba(128, 128, 128, 0.2);
}

.blogs-rast-cards{
    display: grid;
    grid-template-columns: repeat(3,auto);
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: 30px;
}


.blogs-chap{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    background-color: white;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid rgba(63, 190, 109, 0.2);
    width: 400px;
    position: sticky;
    top: 150px;
}
.blogs-chap-title{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(128, 128, 128, 0.5);
    gap: 5px;
}
.blogs-chap-title i{
    transform: translateY(1.5px);
    color: #3FBE6D;
}
.blogs-chap-title p{
    font-size: 15px;
}
.blogs-chap-cards{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.blogs-chap-card{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(128, 128, 128, 0.1);
}
.blogs-chap-card:last-child{
    padding-bottom: unset;
    border-bottom: unset;
}
.blogs-chap-card-img{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40%;
}
.blogs-chap-card-img img{
    width: 100%;
    background-color: rgba(128, 128, 128, 0.5);
    padding: 5px;
    border-radius: 5px;
}
.blog-chap-card-about{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    width: 100%;
    height: 70px;
}
.blog-chap-card-about-title{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-y: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    width: 100%;
}
.blog-chap-card-about-title a{
    text-decoration: none;
    color: black;
    transition: all .5s;
    font-size: 12px;
}
.blog-chap-card-about-title a:hover{
    color: #3FBE6D;
}
.blog-chap-card-about-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}
.blog-chap-card-about-bottom-date{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 2px;
    color: gray;
}
.blog-chap-card-about-bottom-date i{
    font-size: 10px;
}
.blog-chap-card-about-bottom-date p{
    font-size: 8px;
}
.blog-chap-card-about-bottom-seen{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 5px;
    color: gray;
}
.blog-chap-card-about-bottom-seen i{
    font-size: 10px;
}
.blog-chap-card-about-bottom-seen p{
    font-size: 8px;
}
.blog-chap-card-about-bottom-btn{
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-chap-card-about-bottom-btn a{
    text-decoration: none;
    color: black;
    transition: all .5s;
    font-size: 10px;
    padding: 3px 5px;
    background-color: #3FBE6D;
    border-radius: 5px;
}



















.blogs-card{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 20px;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(63, 190, 109, 0.2);
    border: 2px solid rgba(63, 190, 109, 0.2);
    width: 275px;
    height: 370px;
}
.blogs-card-img{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.blogs-card-img img{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 130px;
    border-radius: 10px;
}

.blogs-card-about{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}
.blogs-card-about-date{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 5px;
    background-color: rgba(63, 190, 109, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}
.blogs-card-about-date i{
    font-size: 14px;
}
.blogs-card-about-date p{
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(1.5px);
}

.blogs-card-about-seen{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 5px;
    background-color: rgba(63, 190, 109, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}
.blogs-card-about-seen i{
    font-size: 14px;
}
.blogs-card-about-seen p{
    transform: translateY(1px);
}

.blogs-card-title{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-y: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    width: 100%;
}
.blogs-card-title a{
    text-decoration: none;
    color: black;
    font-weight: bold;
    transition: all .5s;
}
.blogs-card-title a:hover{
    color: #3FBE6D;
}
.blogs-card-desc{
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow-y: hidden;
    text-overflow: ellipsis;
    color: gray;
    width: 100%;
    text-align: justify;
}

/* BLOGS END */









































/* RESPONSIVE START */

@media screen and (max-width:768px) {

    .blogs-container{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .blogs-rast-cards{
        grid-template-columns: repeat(1,auto);
        align-items: center;
        justify-content: center;
    }
    .blogs-chap{
        max-width: 300px;
    }
    
}

@media screen and (min-width:769px) and (max-width:1000px) {

    .blogs-container{
        flex-direction: flex;
        width: 100%;
    }
    .blogs-rast-cards{
        grid-template-columns: repeat(1,auto);
        align-items: center;
        justify-content: center;
    }
    .blogs-chap{
        width: 450px;
    }
    
}

@media screen and (min-width:1001px) and (max-width:1250px) {

    .blogs-container{
        flex-direction: flex;
        width: 100%;
    }
    .blogs-rast-cards{
        grid-template-columns: repeat(2,auto);
        align-items: center;
        justify-content: center;
    }
    .blogs-chap{
        width: 450px;
    }
    
}

/* RESPONSIVE END */