:root {
    --project-theme: #d92c0e; /* Define a root variable for primary color */
}

.reset-button-styles {
    border: none;
    background: none;
    outline: none;
}

.header {
    background: linear-gradient(
            0deg,
            rgba(40, 40, 40, 0.1),
            rgba(40, 40, 40, 0.8)
        ),
        url("../img/header.jpg") no-repeat;
    background-size: cover;
    height: 55vh;
    width: 100%;
}

.header-image {
    width: 100%;
    height: 190px;
}

.header-image figure {
    background: url("../img/logo-black.png") no-repeat;
    background-size: contain !important;
    /* background-position: center; */
    height: 100%;
    width: 35%;
    display: block;
    position: static;
}

.headerChild {
    height: 70%;
    padding: 1rem 0rem;
}

.header-form-input {
    border: 5px solid rgba(139, 139, 139, 0.683);
    border-radius: 2.5rem;
}

.header-form-label {
    text-align: center;
    font-size: 1.8rem;
    text-align: center;
    display: block;
    margin-bottom: 1.9rem;
    color: white;
    font-weight: 500;
}

.header-form input {
    border: none;
    background: none;
    border: 1px solid gray;
    padding: 1rem;
    width: 500px;
    background-color: white;
    border-bottom-left-radius: 2rem;
    border-top-left-radius: 2rem;
    display: block;
    border-right: none;
    outline: none;
    color: rgb(71, 71, 71);
}

.header-form button {
    background: none;
    border: none;
    border: 1px solid gray;
    display: block;
    padding: 0 1.8rem;
    border-bottom-right-radius: 2rem;
    border-top-right-radius: 2rem;
    background-color: var(--project-theme);
    color: white;
}

.header-image-all-health figure {
    margin: auto;
}

/* article pages header */
.header_other {
    padding: 1rem 0rem;
    border-bottom: 1px solid rgba(128, 128, 128, 0.251);
}

.headerSearchBar {
    border: none;
    outline: none;
    padding: 0.5rem 0.5rem;
    width: 97%;
}

.searchBarIcon {
    background: none;
    border: none;
}

/* after header and hero */

.article-sec {
    margin-top: 2rem;
}

.article-sec a {
    display: block;
}

.article-image {
    height: 28vh;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.article-image-first {
    background: linear-gradient(rgba(0, 0, 0, 0.259), rgba(0, 0, 0, 0.773)),
        url("../img/articles/article1.png") no-repeat;
    background-position: center;
    background-size: cover;
}

.article-image-second {
    background: linear-gradient(rgba(0, 0, 0, 0.259), rgba(0, 0, 0, 0.773)),
        url("../img/articles/article2.png") no-repeat;
    background-position: center;
    background-size: cover;
}

.article-image-third {
    background: linear-gradient(rgba(0, 0, 0, 0.259), rgba(0, 0, 0, 0.773)),
        url("../img/articles/article3.png") no-repeat;
    background-position: center;
    background-size: cover;
}

.article-image-four {
    background: linear-gradient(rgba(0, 0, 0, 0.259), rgba(0, 0, 0, 0.773)),
        url("../img/articles/article4.png") no-repeat;
    background-position: center;
    background-size: cover;
}

.article-image-five {
    background: linear-gradient(rgba(0, 0, 0, 0.259), rgba(0, 0, 0, 0.773)),
        url("../img/articles/article5.png") no-repeat;
    background-position: center;
    background-size: cover;
}

.article-heading {
    font-size: 1.1rem;
    color: white;
    padding: 1rem;
    font-weight: 600;
    display: flex;
    height: 90%;
    align-items: end;
    line-height: 1.3;
}

.article-image:hover {
    transform: scale(1.1, 1.1);
    z-index: 1000;
}

/* Other Article */
.other {
    margin: 5rem 0;
}

.other-span {
    font-size: 0.8rem;
    color: var(--project-theme);
}

.other-title {
    font-size: 2rem;
    font-weight: 500;
    text-transform: capitalize;
    line-height: 1.2;
    margin: 0.5rem 0;
    width: 90%;
}

.other-content {
    font-size: 0.9rem;
    line-height: 1.5;
    width: 90%;
}

.other-btn {
    border: 1px solid var(--project-theme);
    padding: 0.7rem 1rem;
    color: white;
    background-color: var(--project-theme);
    margin-top: 1rem;
    border-radius: 0.3rem;
}

/* LatestArticle */

.Heading-Latest {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.latest-article-left {
    width: 100%;
    border-radius: 0.5rem;
    display: block;
}

.latest-article-right {
    display: block;
    margin-left: 1rem;
}

.latest-article-heading {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.3;
}

.latest-article-content {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-top: 0.5rem;
}

.latest-each-article {
    margin: 0.5rem 0;
}

.latest-btn {
    margin: auto;
    margin-top: 2rem;
    background: none;
    color: var(--project-theme);
    transition: all 0.5s ease-in-out;
}

.latest-btn:hover {
    color: white;
    background-color: var(--project-theme);
}

.search__icon {
    background-color: var(--project-theme);
}

.individualArticleLatest img {
    height: 70px;
    width: 100%;
}

.latest-each-article img {
    height: 160px;
    width: 180px;
}

/* Footer */
.Footer nav {
    border-top: 1px solid rgba(128, 128, 128, 0.549);
    margin-top: 4rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.footer-logo {
    width: 5rem;
    height: 3rem;
    background: url("../img/logo.png") no-repeat;
    background-size: cover;
    background-position: center;
}

/* About us */
.about__bg {
    width: 100%;
    background: url("../img/about.png") no-repeat;
    background-size: cover;
    background-position: center;
    height: 50vh;
}

.termsUl__style {
    list-style: disc;
}

/* All ARticles */
.all-article-logo {
    width: 5rem;
    height: 5rem;
    background: url("../img/logo.png") no-repeat;
    background-size: cover;
    background-position: center;
}

.inside-latest-article-img {
    /* width: 20rem; */
    /* height: 5rem; */
    /* background: url("../img/articles/article1.png") no-repeat;
    background-size: cover;
    background-position: center; */
    display: block;
}

.inside-latest-article-img2 {
    width: 23.5rem;
    height: 5rem;
    background: url("../img/articles/article2.png") no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
}

.inside-latest-article-img3 {
    width: 20rem;
    height: 5rem;
    background: url("../img/articles/article3.png") no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
}

/* Media-queries */
@media screen and (max-width: 1300px) {
    html {
        font-size: 14px;
    }

    .clicksco__container {
        width: 90% !important;
        margin: auto;
    }

    .header {
        height: 25vh;
    }

    .flex20 {
        flex: 0 1 40%;
    }

    .article-sec a {
        margin: 2rem;
    }

    .columnSpaceBet {
        justify-content: space-between;
    }
}

@media screen and (max-width: 1010px) {
    html {
        font-size: 12px;
    }

    .columnFlex {
        flex-direction: column;
    }

    .latest-each-article {
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 920px) {
    .flex20 {
        flex: 0 1 100%;
    }

    .article-sec a {
        margin-top: 1rem 0rem;
    }
}

@media screen and (max-width: 720px) {
    .header-form input {
        width: 300px;
    }

    .flex25 {
        flex: 0 1 15% !important;
    }
}

@media screen and (max-width: 420px) {
    .header-form input {
        width: 200px;
    }

    .smallColumnFlex {
        flex-direction: column;
    }
}

@media screen and (max-width: 520px) {
    .header-image {
        width: 100%;
        display: inline-block;
        height: 100%;
        /* border: 1px solid red; */
    }

    .header-image a {
        background: url("../img/logo.png") no-repeat;
        background-size: center;
        background-position: center;
        height: 100%;
        width: 100%;
        display: inline-block;
        /* border: 1px solid green; */
    }

    .headerChild {
        height: 23vh;
    }
}

/*  */
/* Media Queries */

@media screen and (max-width: 980px) {
    html {
        font-size: 14px;
    }

    .columnFlex {
        flex-direction: column;
    }

    .eachARticleRight {
        margin-top: 1rem;
    }

    .popularArticles .articleParent {
        overflow-x: scroll;
    }

    .popularArticles .articleParent .images {
        width: 40%;
    }

    .smallDevicesLatestArticles,
    .individualArticleLatest {
        width: 100%;
        border: 1px soid red;
        margin-top: 5rem;
    }
    .smallDevicesLatestArticles a {
        margin-left: 1.2rem !important;
    }

    /* .individualArticleLatest img {
     width:;
    } */
    .inside-latest-article-img {
        flex: 0 1 35%;
    }
}

@media screen and (max-width: 720px) {
    .about__Small__div,
    .about__Small__div {
        width: 95%;
    }

    .clicksco__flex40 {
        flex: 0 1 100% !important;
        margin-top: 1rem !important;
    }

    .headerSearchBar {
        width: 95%;
    }
}

@media screen and (max-width: 590px) {
    html {
        font-size: 10px;
    }

    .clicksco__container {
        width: 90% !important;
        margin: auto;
    }

    .tabelPrivacy {
        display: none;
    }

    .termsAdnConditionsPrivacyCoockies {
        width: 90%;
    }

    .clicksco__flex48 {
        flex: 0 1 100%;
    }

    .clicksco__flex33 {
        flex: 0 1 100%;
    }

    .clicksco__flex33 p {
        margin-top: 0.5rem;
        line-height: 1.3;
    }

    .popularArticles .articleParent .images {
        width: 70%;
    }

    .clicksco__flex40 li {
        margin-right: 1.1rem;
    }

    .popularArticles {
        margin-top: -0.5rem;
    }
    .header-image figure {
        width: 50% !important;
    }
}

/* Pagination styles */
.paginator {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.paginator .ulpagination {
    list-style: none;
    display: flex;
    padding: 0;
}

.paginator .ulpagination li {
    margin: 0 5px;
    opacity: 50%;
    cursor: not-allowed;
}

.paginator .ulpagination li.prev a,
.paginator .ulpagination li.next a,
.paginator .ulpagination li.first a,
.paginator .ulpagination li.last a {
    padding: 5px 10px;
    background-color: var(--project-theme);
    border: 1px solid #ccc;
    color: #fff;
    text-decoration: none;
    display: inline-block;
}

.paginator .ulpagination li.prev a:hover,
.paginator .ulpagination li.next a:hover,
.paginator .ulpagination li.first a:hover,
.paginator .ulpagination li.last a:hover {
    background-color: var(--project-theme);
}

.paginator .ulpagination li.active a {
    background-color: white;
    color: black;
}

.paginator .ulpagination li.active a:hover {
    background-color: white;
    color: black;
}

.paginator .ulpagination li a {
    padding: 5px 10px;
    background-color: var(--project-theme);
    border: 1px solid #0056b3;
    color: #fff;
    text-decoration: none;
    display: inline-block;
}

.paginator .ulpagination li a:hover {
    background-color: white;
    color: black;
}

img.latestimg {
    max-width: 200px;
}
