@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&display=swap');

/* font-family: "Manrope", sans-serif; */
/* font-family: "Inter", sans-serif; */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* primary color #261fb3 */

html,
body {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

#maincontainer {
    width: 100%;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Manrope", sans-serif;
}

a,
p,
span,
small,
ul li,
ul,
strong,
b {
    font-family: "Inter", sans-serif;
    color: #222;
}

a {
    text-decoration: none;
    color: #222;
}

::-webkit-scrollbar {
    display: none;
}

/* hero */
.blog-hero {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    .blogHeroContainer {
        width: 100%;
        height: auto;
        max-width: 1400px;
        min-height: 350px;
        padding: 20px;
        border: none;
        overflow: hidden;
        margin: 50px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background-image: url(/assets/images/blog-hero.jpg);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 25px;

        .overlay-hero {
            width: 100%;
            height: 100%;
            padding: 40px;
            border-radius: 25px;
            border: none;
            backdrop-filter: blur(10px);
            background-color: #ffffff50;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;


            h2{
                font-size: 2.5rem;
                line-height: 3rem;
                margin-bottom: 15px;
                color: #181818;
                max-width: 600px;
                text-align: center;
            }

            > p{
                font-size: 1.1rem;
                max-width: 700px;
                text-align: center;
                margin-bottom: 30px;
            }

            > a {
                padding: 10px 20px;
                border-radius: 15px;
                border: 1px solid #181818;
                color: #222;
                cursor: pointer;
                box-shadow: 1px 1px 20px #00000005;
                transition: all .3s ease-in-out;

                &:hover{
                    /* transform: translateX(3px); */
                    background-color: #fafafa;
                    color: #181818;
                    box-shadow: 2px 2px 30px #18181815;
                }
            }
        }
    }
}

@media only screen and (max-width:768px) {
    .blog-hero{
        padding: 10px;
        margin: 0;

        .blogHeroContainer{
            margin: 0; 
            padding: 0;
            height: 500px;

            .overlay-hero{
                min-height: 500px;
                padding: 30px 5px;

                h2{
                    font-size: 2rem;
                    line-height: 2.5rem;
                    width: 100%;
                    max-width: 100%;
                }

                p{
                    font-size: 1rem;
                    max-width: 100%;
                    width: 100%;

                }
            }
        }
    }
}
/* hero */


/* blog section */
.blogSection {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #fff;
    margin-top: 30px;
    margin-bottom: 30px;
}

.blogContainer {
    width: 100%;
    max-width: 1400px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.blogContainer>h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 30px;
    color: #1e37af;
    text-decoration: underline;
}

.blogContainer h1 {
    color: #181818;
    font-size: 2.5rem;
    line-height: 3rem;
    max-width: 850px;
    text-align: center;
}

.blog-Cards {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 60px;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.blogCard {
    width: 30%;
    height: auto;
    min-height: 500px;
    max-height: auto;
    border-radius: 25px;
    background-color: #2e23df;
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.blogCard img {
    width: 100%;
    height: auto;
    min-height: 220px;
    max-height: 220px;
    object-fit: cover;
}

.blogCard small,
.blogCard h4,
.blogCard p,
.blogCard a {
    padding-left: 15px;
    padding-right: 15px;
}

.blogCard small {
    color: #d3d3d3;
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 5px;
}

.blogCard h4 {
    font-size: 1.2rem;
    color: #f9f9f9;
    text-transform: capitalize;
    margin-top: 10px;
    margin-bottom: 10px;
}

.blogCard p {
    color: #fdfdfd;
    text-align: justify;
    margin-bottom: 10px;
}

.blogCard a {
    color: #fff;
    /* text-decoration: underline; */
    margin-bottom: 10px;
    padding: 10px 20px;
    border: 1px solid #fff;
    margin-left: 15px;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: all .3s ease-in-out;
}

.blogCard a:hover {
    background-color: #f9f9f9;
    color: #222;
    transform: translateX(5px);
}

.blogCard a i {
    color: #fff;
    font-weight: 500;
    transition: all .3s ease-in-out;
}

.blogCard a:hover i {
    color: #222;
}


@media only screen and (max-width:768px) {
    body {
        position: relative !important;
    }

    .blogSection,
    .blogContainer {
        width: 100%;
        height: auto;
        min-height: auto;
        max-height: auto;
        padding: 5.5px;
    }

    .blogContainer h1 {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .blog-Cards {
        gap: 20px;
        /* position: relative; */
    }

    .blogCard {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        top: 60px;
        position: sticky;
        margin-bottom: 20px;
        /* height: auto; */
    }
}

/* blog section */