

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.div_body {
    width: 100%;
    height: auto;
    display: flex;
    font-size: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    padding: 0 1.5rem;
}



.article_div h2 {
    letter-spacing: 1px;
    font-size: 50px;
    color: #6968aa;
    border: 2px dashed #0181a0;
    padding: 10px;
    text-transform: uppercase;
    border-radius: 10px;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    margin-top: 90px;
    margin-left: 375px;
}

.blog-post {
    width: 100%;
    padding: 15px 15px;
    background-color: #dbf4ff21;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    display: flex;
    align-items: center;
    gap: 30px;
    border-radius: .8rem;
    margin: 22px 0 10px 0;
}


.blog-post_img {
    max-width: 300px;
}

.blog-post_img img {
    width: 300px;
    height: 180px;
    border-radius: .8rem;
}

.blog-post_img img::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: .8rem;
}

.blog-post_date span {
    display: block;
    color: #00000080;
    font-size: 1.6rem;
    font-weight: 600;
    margin: .5rem 0;
}

.blog-post_title {
    font-size: 19px;
    margin: 10px 0;
    font-weight: bold;
    text-transform: uppercase;
    color: #0264b3;
}

.blog-post_text {
    margin-bottom: 10px;
    font-size: 15px;
    color: #000000;
    text-align: justify;
}

.blog-post_cta {
    display: inline-block;
    padding: 6px 24px;
    border: 1px solid #0264b3;
    border-radius: 4px;
    transition: all 0.2s ease-in;
    position: relative;
    overflow: hidden;
    font-size: 17px;
    cursor: pointer;
    text-decoration: none;
    height: 40px;
    color: white;
    background-color: #0264b3;
    z-index: 1;
}


.blog-post_cta:after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background-color: #0264b3;
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.blog-post_cta:hover {
    color: #0264b3;
    /* Change text color on hover */
    background-color: #0264b3;
    /* Change background color on hover */
    border: 1px solid #0264b3;
    /* Change border color on hover */
}

.blog-post_cta:hover:before {
    top: -35%;
    background-color: white;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.blog-post_cta:hover:after {
    top: -45%;
    background-color: white;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

@media screen and (max-width: 1068px) {



    .article_div h2 {
        margin-top: 120px;
        margin-left: 275px;
    }
}

@media screen and (max-width: 868px) {

    .article_div h2 {
        margin-top: 20px;
        margin-left: 142px;
    }
}

@media screen and (max-width: 750px) {
    .blog-post {
        padding: 15px;
        flex-direction: column;
        gap: 0;
    }

    .blog-post_title{
        font-size: 15px;
    }

    .blog-post_img img {
        width: 100%;
        margin-top: 15px;
    }

    .blog-post_img {
        min-width: 100%;
        max-width: 100%;
        transform: translate(0, -1rem);
    }

    .article_div {
        margin-top: auto;
    }

    .blog-post_info{
        text-align: center;
    }
    .blog-post_text{
        text-align: center;
    }
}

@media screen and (max-width: 823px) {
    .article_div h2 {
        margin-top: 35px;
        margin-left: 142px;
    }
}

