:root {
    /* Primary colors */
    --darkBlue: hsl(233, 26%, 24%);
    --limeGreen: hsl(136, 65%, 51%);
    --brightCyan: hsl(192, 70%, 51%);
    /* Neutral colors */
    --grayishBlue: hsl(233, 8%, 62%);
    --lightGrayishBlue: hsl(220, 16%, 96%);
    --veryLightGray: hsl(0, 0%, 98%);
    --white: hsl(0, 0%, 100%);
    /* Layout */
    --mobile: 375px;
    --desktop: 1112px;
    --wrapper: 24px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Public Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--grayishBlue);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    overflow-x: hidden;
    /* background-image: url("../images/Home_Title.jpg"); */
}

.nav_right {
    align-items: right;
}

a {
    text-decoration: none;
    color: #1E3050;
}

.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: var(--color-primary);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--color-secondary);
    line-height: 0;
}

.scroll-top:hover {
    background: #ffc732;
    color: #fff;
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}


.landing-img {
    background-image: url("../images/Landing_Img.webp");
    background-position: center;
    min-height: 780px;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
}

.header-top {
    background-color: #bb0008;
    padding: 5px 10px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 400;
    line-height: 1.2;
}

.wrapper {
    padding: 0 var(--wrapper);
    max-width: var(--desktop);
    margin: auto;
}

.is-hidden {
    display: none;
}

.title__primary {
    color: rgb(1, 1, 110);
    font-size: 70px;
    font-weight: 400;
    font-family: 'Roboto Slab', serif;
    text-shadow: 1px 1px 2px #000000;
}


.title_text {
    color: #fad35c;
    text-shadow: 2px 2px 4px #000000;
}

.title__secondary {
    color: var(--darkBlue);
    font-size: 1.2em;
    font-weight: 400;
    font-family: 'Roboto Slab', serif;
}

.title__tertiary {
    color: #343F71;
    font-size: 1.5em;
    font-weight: 400;
    font-family: 'Exo 2', sans-serif;
}

.description,
.why-us__description {
    font-size: 0.8em;
    line-height: 1.6;
    margin-bottom: 40px;
    margin-top: 1.5em;
    font-weight: 400;
    font-family: 'Dosis', sans-serif;
}

.descriptionp {
    color: #2B26CA;
    font-size: 35px;
    text-shadow: 1px 1px 2px #ffffff;
}

.btn {
    padding: 1em 2.5em;
    border-radius: 2em;
    font-size: 0.8em;
    font-weight: 500;
    user-select: none;
    cursor: pointer;
}

.btn:focus {
    outline: none;
}

.btn:active {
    transform: scale(0.98);
}

/* .btn:hover {
    background-color: #1E3050;
    color: white;
    border: #1E3050;
} */

.menu {
    display: none;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.menu__item {
    padding: 0 1em;
}

.menu__item ul.sub-menu {
    display: none;
}

.menu__item:hover ul.sub-menu {
    display: block;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown:hover .sub-menu {
    display: block;
}

.dropdown .sub-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown .sub-menu a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown .sub-menu a:hover {
    background-color: #f1f1f1;
}

.menu__link {
    position: relative;
    display: inline-block;
    font-size: 1.5em;
    font-weight: 500;
    font-family: 'Dosis', sans-serif;
    color: #1E3050;
    overflow: hidden;
    background: linear-gradient(to right, red, black 50%, #2B26CA 50%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    background-position: 100%;
    transition: background-position 275ms ease;
    text-decoration: none;
}

.menu__link:hover {
    background-position: 0 100%;
    transition: 0.5s;
}

.menu__checkbox {
    display: none;
}

.menu__checkbox:checked~.menu {
    display: block;
    background: linear-gradient(to bottom, var(--darkBlue) 0%, transparent 100%);
    position: absolute;
    height: 100vh;
    padding: var(--wrapper) var(--wrapper);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 2;
}

.menu__checkbox:checked~.menu .menu__item {
    padding: 0;
    background: var(--white);
}

.menu__checkbox:checked~.menu .menu__item:first-child {
    padding-top: 0.8em;
    border-radius: 0.3em 0.3em 0 0;
}

.menu__checkbox:checked~.menu .menu__item:last-child {
    padding-bottom: 0.8em;
    border-radius: 0 0 0.3em 0.3em;
}

.menu__checkbox:checked~.menu .menu__link {
    padding: 0.6em 1em;
    display: block;
    color: var(--darkBlue);
    font-size: 1em;
    text-align: center;
}

@media screen and (min-width: 1024px) {
    .menu {
        display: flex;
    }
}

.header {
    display: flex;
    justify-content: space-between;
    position: relative;
    background-color: rgba(0, 0, 0, 0.2);
    margin: auto;
}

.logo {
    height: 60px;
}

.header__logo {
    display: flex;
    align-items: center;
    padding-right: 10px;
}

.header .btn {
    display: none;
    align-self: center;
}

@media screen and (min-width: 1024px) {
    .header {
        padding: 1em var(--wrapper);
    }

    .header .btn {
        display: block;
    }
}

.hero {
    background: var(--veryLightGray);
    text-align: center;
    padding-bottom: 4.8em;
}

.hero__image {
    background-size: calc(var(--mobile) - (var(--wrapper) * 2 - 18px)), cover;
    height: 300px;
    margin: 0 calc(-1 * var(--wrapper));
    margin-bottom: 1.4em;
}


.why-us {
    background: var(--lightGrayishBlue);
    text-align: center;
    padding-top: 4em;
    padding-bottom: 3em;
}

.why-us__description {
    margin-bottom: 4em;
}

.feature_grid {
    display: grid;
    grid-gap: 1.6em;
}

.feature_col img {
    padding: 10px;
    margin-bottom: 1.5em;
    height: 87px;
}

.feature_col .description,
.feature_col .why-us__description {
    margin-bottom: 2em;
}

@media screen and (min-width: 768px) {
    .why-us {
        padding-top: 5em;
        text-align: left;
    }

    .why-us__description {
        max-width: 90%;
        font-size: 1em;
    }

    .feature_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .why-us__description {
        max-width: 65%;
    }

    .feature_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 1280px) {
    .why-us__description {
        max-width: 60%;
    }

    .feature_grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.hcontent {
    font-family: 'Poiret One', sans-serif;
}

.hcardsm {
    padding: 100px;
}

.hcards {
    color: rgb(255, 229, 229);
    word-wrap: break-word;
    margin-right: 0;
}

.latest-articles {
    background: var(--veryLightGray);
    padding-top: 4.5em;
    padding-bottom: 4em;
}

.latest-articles .title__primary {
    text-align: center;
    margin-bottom: 1em;
    font-size: 1.8em;
}

.latest-articles__grid {
    display: grid;
    grid-gap: 1.6em;
}

.front {
    backface-visibility: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px,
        rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.front:hover {
    scale: 110%;
    transition: 450ms;
}

.latest-articles__item {
    background: var(--white);
    border-radius: 0.5em;
    overflow: hidden;
}

.latest-articles__item img {
    width: 100%;
    object-fit: cover;
}

.latest-articles__item-content {
    padding: 1em 1.8em;
}

.latest-articles__item-autor {
    font-size: 0.7em;
    margin-bottom: 1em;
    display: block;
}

.latest-articles__item-description {
    font-size: 0.7em;
    margin-top: 1em;
    margin-bottom: 1.5em;
}

@media screen and (min-width: 768px) {
    .latest-articles .title__primary {
        text-align: left;
    }

    .latest-articles__item-content {
        padding: 1em 1.4em;
    }

    .latest-articles__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .latest-articles__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 1280px) {
    .latest-articles__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer {
    background: var(--darkBlue);
    text-align: center;
    padding: 2.3em 0;
}

.footer__grid {
    display: grid;
    grid-column-gap: 5em;
}

.footer__logo {
    display: block;
    margin-bottom: 1.5em;
}

.footer__social {
    display: grid;
    grid-template-columns: repeat(5, 20px);
    grid-column-gap: 1.2em;
    justify-content: center;
    margin-bottom: 2em;
}

.footer__icon {
    width: 25px;
    height: 25px;
    display: inline-flex;
}

.footer__link {
    display: inline-flex;
    color: var(--lightGrayishBlue);
    font-size: 0.9em;
    font-weight: 400;
    text-decoration: none;
    margin-bottom: 0.6em;
    line-height: 1px;
}

.footer__link:last-of-type {
    margin-bottom: 2em;
}

.footer__copyright {
    font-size: 0.8em;
    margin-top: 1.5em;
    margin-bottom: 0;
}


@media screen and (min-width: 1024px) {
    .footer {
        padding-top: 3em;
    }

    .footer__link {
        margin-bottom: 0.8em;
    }

    .footer__link:last-of-type {
        margin-bottom: 0;
    }

    .footer__grid {
        grid-template-columns: 200px 1fr 220px;
        grid-template-areas: "logo links button ""social links copyright";
    }

    .footer__logo {
        grid-area: logo;
        text-align: left;
    }

    .footer__social {
        grid-area: social;
        justify-content: start;
        align-content: center;
        margin-bottom: 0;
    }

    .footer__icon {
        width: 20px;
        height: 20px;
    }

    .footer__links {
        grid-area: links;
        display: grid;
        grid-template-rows: repeat(4, 1fr);
        grid-template-columns: 160px 180px;
        grid-auto-flow: column;
        justify-items: start;
    }

    .footer__button {
        grid-area: button;
        text-align: right;
    }

    .footer__copyright {
        grid-area: copyright;
        text-align: right;
        margin-top: 1em;
    }
}


/*# sourceMappingURL=styles.css.map */