/*Connecting the font*/

@font-face {
    font-family: 'Roboto Slab';
    src: url('fonts/RobotoSlab-Bold.ttf') format('truetype');
    /*font-weight: 400;*/
    /* Regular weight */
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('fonts/RobotoSlab-Regular.ttf') format('truetype');
    /*font-weight: 700;*/
    /* Bold weight */
    font-style: normal;
}

body {
    background-color: #eaf5f1;
    font-family: 'Roboto Slab', serif;
    overflow-x: hidden;
}

/* Disabling outline for all elements */
a,
input,
button,
textarea,
select {
    outline: none;
    font-family: 'Roboto Slab', sans-serif;
}

/* Enabling pointer for all buttons */
button {
    cursor: pointer;
}

.C {
    color: #00382a;
}

.ivi {
    color: rgba(0, 0, 0, 0.967);
}

.header {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(4cc41b14d0da1eb3b1386f8c2a0de5a1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px 0px;
}

.blog {
    background-color: white;
    height: 25px;
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 7px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    justify-self: center;
    margin: 10px;
    color: #004232;
}

.h-one {
    justify-self: center;
    font-size: 40px;
    color: white;
}

.header-p {
    justify-self: center;
    margin: 0;
    color: rgb(247, 247, 247);
    opacity: 70%;
    font-size: 18px;
}

.bottom-div {
    background-color: white;
}

.bottom-div-wrapper {
    padding: 50px 100px;
}

.h-two {
    font-size: 30px;
    margin: 10px 0px;
}

.bottom-p {
    font-size: 15px;
    color: #004232;
    opacity: 70%;
    margin: 0;
}

.search-bar {
    display: flex;
    margin: 20px 0px;
    gap: 20px;
}

.filter-div {
    display: flex;
    gap: 20px;
}

.input {
    padding: 10px 20px;
    height: 20px;
    width: 460px;
    border-radius: 12px;
    border: none;
    background-color: #d4d4d4c9;
}

.filters {
    background-color: #d4d4d4c9;
    height: 40px;
    width: 120px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.5s;
}

.filters:hover {
    background-color: rgba(169, 169, 169, 0.829);
}

.filters:active {
    transition: 0s;
    background-color: rgba(169, 169, 169, 0.829);
}

.blogs-card-wrapper {
    padding: 20px 0px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    row-gap: 50px;
    column-gap: 20px;
}

.blogs-card {
    width: 450px;
    padding: 10px 15px;
    background-color: rgba(222, 238, 233, 0.651);
    border: none;
    border-radius: 10px;
    transition: 0.3s ease-in-out;
}

.blogs-card:hover {
    transform: scale(1.01);
}

.card-img {
    height: 250px;
    width: 450px;
    border-radius: 10px;
}

.card-info-div {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0;
}

.card-info-div p:first-child {
    color: #004232;
    font-weight: 600;
    font-size: 17px;
}

.card-info-div p:last-child {
    opacity: 60%;
}

.card-main-text {
    margin: 0;
    cursor: pointer;
}

.card-main-text:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.load-btn {
    width: 1060px;
    height: 40px;
    border: 1px solid;
    border-radius: 10px;
    border-color: #004232;
    color: #004232;
    font-size: 15px;
    margin: 10px 0px;
}

.card-btn {
    text-decoration: none;
    font-size: 17px;
    color: #004232;
    padding: 5px;
}

.footer {
    text-align: center;
    justify-content: center;
    padding: 30px 0px;
}

.footer-btn-div {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0px;
}

.footer-btn-one {
    height: 40px;
    width: 120px;
    border-radius: 5px;
    background-color: #004232;
    color: #eaf5f1;
    border: none;
    transition: 0.5s;
}

.footer-btn-one:hover {
    color: #004232;
    background-color: #eaf5f1;
    border-radius: 5px;
    border: #004232 solid 1px;
}

.footer-btn-two {
    height: 40px;
    width: 120px;
    border-radius: 5px;
    border: #004232 solid 1px;
    background-color: #eaf5f1;
    color: #004232;
    transition: 0.5s;
}

.footer-btn-two:hover {
    border-radius: 5px;
    background-color: #004232;
    color: #eaf5f1;
}

footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0px 60px;
}

.footer-div-two {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.footer-div-two ul {
    list-style-type: none;
    gap: 80px;
}

li {
    margin: 10px 0px;
}

b:hover {
    text-decoration: none;
}

li:hover {
    text-decoration: underline;
    text-underline-offset: 1px;
}

hr {
    justify-self: center;
    width: 95%;
}

.bottom-text {
    display: flex;
    justify-content: space-between;
    padding: 0px 60px;
}

.bottom-link {
    color: #004232;
}

@media screen and (max-width: 450px) and (min-width: 0px) {
    .h-one {
        font-size: 35px;
    }

    .header-p {
        font-size: 13px;
    }

    .bottom-div-wrapper {
        padding: 30px 0px;
        justify-items: center;
    }

    .h-two {
        text-align: center;
    }

    .bottom-p {
        font-size: 13px;
        text-align: center;
    }

    .search-bar {
        display: grid;
    }

    .input {
        width: 350px;
        padding: 10px 20px;
    }

    .filter-div {
        gap: 10px;
    }

    .filters {
        height: 35px;
        width: 90px;
        font-size: 13px;
    }

    .blogs-card-wrapper {
        display: grid;
        grid-template-columns: 1fr;
    }

    .blogs-card {
        width: 370px;
        padding: 10px 10px;
    }

    .blogs-card:hover {
        scale: 1.0;
    }

    .card-img {
        width: 370px;
    }

    .load-btn {
        width: 390px;
    }

    .footer {
        padding: 15px 0px;
    }

    footer {
        display: grid;
        grid-template-columns: 1fr;
        padding: 0px 0px;
        text-align: center;
    }


    footer p {
        font-size: 18px;
    }

    .footer-div-two {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        padding: 0px 0px;
    }

    .list-div {
        display: flex;
        justify-content: center;
    }

    .list-div ul {
        margin: 0;
        padding: 0;
    }

    .bottom-text {
        padding: 0px 20px;
    }

    .bottom-text p {
        font-size: 13px;
    }

}

@media screen and (max-width: 425px) and (min-width: 0px) {
    .h-one {
        font-size: 32px;
    }

    .header-p {
        font-size: 12.5px;
    }

    .bottom-p {
        font-size: 13px;
    }

    .search-bar {
        justify-items: center;
    }

    .input {
        width: 345px;
        justify-self: center;
    }

    .filter-div {
        gap: 7px;
    }

    .filters {
        height: 35px;
        width: 90px;
    }

    .blogs-card {
        width: 365px;
    }

    .card-img {
        width: 365px;
    }

    .load-btn {
        width: 385px;
    }
}

@media screen and (max-width: 410px) and (min-width: 0px) {
    .h-one {
        font-size: 30px;
    }

    .header-p {
        font-size: 12px;
    }

    .bottom-p {
        font-size: 12px;
    }

    .search-bar {
        justify-items: center;
    }

    .input {
        width: 320px;
        justify-self: center;
    }

    .filter-div {
        gap: 7px;
    }

    .filters {
        height: 35px;
        width: 85px;
    }

    .blogs-card {
        width: 340px;
    }

    .card-img {
        width: 340px;
    }

    .load-btn {
        width: 360px;
    }

    .bottom-text p {
        font-size: 12px;
    }
}

@media screen and (max-width: 380px) and (min-width: 0px) {
    .h-one {
        font-size: 29px;
    }

    .header-p {
        font-size: 11.5px;
    }
  font-size: 11.5px;
    }
    .bottom-p {
      

    .search-bar {
        justify-items: center;
    }

    .input {
        width: 290px;
        justify-self: center;
    }

    .filter-div {
        gap: 5px;
    }

    .filters {
        height: 32px;
        width: 78px;
        font-size: 12px;
    }

    .blogs-card {
        width: 320px;
    }

    .card-img {
        width: 320px;
    }

    .load-btn {
        width: 340px;
    }
}

@media screen and (max-width: 370px) and (min-width: 0px) {
    .h-one {
        font-size: 29px;
    }

    .header-p {
        font-size: 11.5px;
    }

    .bottom-p {
        font-size: 11.5px;
    }

    .search-bar {
        justify-items: center;
    }

    .input {
        width: 290px;
        justify-self: center;
    }

    .filter-div {
        gap: 5px;
    }

    .filters {
        height: 32px;
        width: 78px;
        font-size: 12px;
    }

    .blogs-card {
        width: 310px;
    }

    .card-img {
        width: 310px;
    }

    .load-btn {
        width: 330px;
    }

    .bottom-text p {
        font-size: 11px;
    }
}

@media screen and (max-width: 350px) and (min-width: 0px) {
    .h-one {
        font-size: 25px;
    }

    .header-p {
        text-align: center;
        font-size: 11px;
    }

    .bottom-p {
        font-size: 14px;
    }

    .search-bar {
        justify-items: center;
    }

    .input {
        width: 250px;
        justify-self: center;
    }

    .filter-div {
        gap: 5px;
    }

    .filters {
        border-radius: 5px;
        height: 30px;
        width: 68px;
        font-size: 11px;
    }

    .blogs-card {
        width: 270px;
    }

    .card-img {
        width: 270px;
    }

    .load-btn {
        width: 290px;
    }

    .bottom-text p {
        font-size: 11px;
    }
}