:root {
    --main-color: rgb(0, 30, 70);
    --gray-color: rgb(200, 200, 200);
    --darkgray-color: #808080;
    --blue-color: #3596C8;

    --background-color: white;

    --border-color: rgb(200, 200, 200);

    --text-color: rgb(0, 30, 70);
    --text-color2: white;
    /*used in admin dashboard*/
    --color-red-light: hsl(346, 87%, 46%, 15%);
    --color-green-light: hsl(156, 100%, 38%, 15%);
}
.text-color1 {
    color: var(--text-color);
}

.text-color2 {
    color: var(--text-color2)
}

* {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    appearance: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--text-color);
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin: 1rem 0;
}

h2 {
    font-size: 2rem;
    text-align: center;
}

a {
    color: var(--text-color);
    cursor: pointer;
}

img {
    display: block;
    width: 100%;
    object-fit: fill;
}

input,
select,
textarea {
    background-color: transparent;
    border: 2px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 8px;
}

section {
    margin-top: 4rem;
    width: 100vw;
}
button {
    cursor: pointer;
}

.btn {
    /*width: 40%;*/
    margin-top: 1.5em;
    margin-bottom: 1.2em;
    padding: 0.6em;
    border-color: rgba(240, 248, 255, 0);
    background-color: var(--blue-color);
    border-radius: 2px;
    border: 4px solid rgba(240, 248, 255, 0);
    font-weight: 600;
    transition: 0.25s;
    color: white;
}

.btn:hover {
    transition: 0.25s;
    border-color: var(--blue-color);
    color: white;
    background-color: #00000000;
    border-radius: 2px;
    border: 4px solid var(--blue-color);
}
small {
    color: var(--text-color2);
    font-weight: bold;
    margin-left: 6rem;
}
/*========================================Page's Header=======================================*/
.featured-blog {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 2em;
    background-color: var(--main-color);
    padding: 3rem 0;
    margin-top:4rem;
}
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 83%;
    max-width: 1133px;
    margin: 0 auto;
}
.blog-content {
    line-height: 21px;
    width: 56%;
}

.img-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 400px;
}
.imgtop {
    margin: 2rem 0 0 0;
    width: 400px;
    height: 400px;
    object-fit: contain;
}
/*====================================animations========================================================================*/
.reveal-section {
    position: relative;
    transform: translateY(150px);
    transition: all 1s ease;
    opacity: 0;
    width: 83%;
    margin: auto;
    margin-top: 4rem;
}

.show-section {
    transform: translateY(0px);
    opacity: 1;
}

/*==========================================Media================================*/
@media screen and (max-width:1160px) {
    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.2rem;
    }
    /*====================Page's Header====================*/
    .blog-content {
        width: 100%;
        margin: auto;
    }
    .img-cont {
        margin: auto;
    }
}
@media screen and (max-width:900px) {
    h1 {
        font-size: 2rem;
    }
    /*====================Page's Header====================*/
    .img-cont {
        width: 100%;
    }
    .featured-blog {
        display: block;
    }
}