@font-face {
    font-family: publicSansRegular;
    src: url('../fonts/PublicSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: publicSansLight;
    src: url('../fonts/PublicSans-Light.ttf') format('truetype');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: publicSansBold;
    src: url('../fonts/PublicSans-Bold.ttf') format('truetype');
    font-weight: normal;
    font-display: swap;
}


/*
hsl(233, 26%, 24%)
hsl(136, 65%, 51%)
hsl(192, 70%, 51%)
hsl(233, 8%, 62%)
hsl(220, 16%, 96%)
hsl(0, 0%, 98%)
hsl(0, 0%, 100%) 
*/

html {
    overflow-x: hidden !important;
}

body {
    font-family: publicSansRegular;
    overflow-x: hidden !important;
    background-color: hsl(0, 0%, 98%);
}

/* NAVBAR */
.navbar {
    z-index: 2;
}

.navbar .nav-link {
    color: hsl(233, 8%, 62%);
    border-bottom: 4px solid hsla(136, 65%, 51%, 0);
    transition: 0.5s;
}

.navbar .nav-link:hover {
    border-bottom: 4px solid hsl(136, 65%, 51%);
    color: black;
}

.request-invite-btn {
    font-family: publicSansBold;
    background: linear-gradient(-30deg, hsl(192, 70%, 51%), hsl(136, 65%, 51%)) !important;
    color: #fff;
    padding: 10px 35px;
    transition: 0.4s;
}

.request-invite-btn:hover {
    color: #fff;
    opacity: 0.6;
}

/* HEADER */
.header {
    position: relative;
    height: 695px;
}

.header .header-image {
    width: 100%;
    position: relative;
    right: 0%;
}

.header .header-image .bg-image {
    position: absolute;
    right: -600px;
    top: -265px;
    z-index: -1;
}

.header .header-image .mobile-image {
    position: absolute;
    right: -330px;
    top: -128px;
}

.header .header-text {
    width: 500px;
    position: absolute;
    left: 95px;
    top: 50%;
    transform: translate(0%, -50%);
}

.header .header-text .title {
    font-family: publicSansLight;
    font-size: 60px !important;
}

.header .header-text .text {
    color: hsl(233, 8%, 62%);
}

/* WHYUS */
#whyus {
    background-color: hsl(220, 16%, 96%);
}

#whyus .whyus-item .title {
    margin: 35px 0px;
}

#whyus .whyus-item .text {
    color: hsl(233, 8%, 62%);
}

/* latest article section */
#latest-article-section {
    background-color: hsl(0, 0%, 98%);
}

#latest-article-section .latest-item img {
    height: 220px;
}

#latest-article-section .texts .title {
    color: #000;
    transition: 0.14s;
}

#latest-article-section .texts .title:hover {
    color: hsl(136, 65%, 51%);
    cursor: pointer;
}

#latest-article-section .texts {
    color: hsl(233, 8%, 62%);
}

#latest-article-section .texts .author {
    font-size: 13px;
}

/* FOOTER */
#footer {
    background-color: hsl(233, 26%, 24%);
    color: #fff;
}

#footer .footer-item a {
    color: #fff;
}

#footer .footer-item a:hover {
    color: hsl(136, 65%, 51%) !important;
}

#footer .social-media svg path:hover {
    fill: hsl(136, 65%, 51%) !important;
}

#footer .container-request-invite-btn {
    width: fit-content;
}

#footer .copy-right-text {
    color: hsl(233, 8%, 62%);
}

/* responsive */
@media only screen and (min-width:1650px) {
    .header {
        height: 770px;
    }

    .header .header-image {
        position: relative;
        z-index: -1;
    }

    .header .header-image .bg-image {
        position: fixed;
        right: -450px;
        top: -150px;
    }

    .header .header-image .mobile-image {
        position: fixed;
        right: -250px;
        top: -150px;
    }
}

@media only screen and (max-width:1200px) {
    .header {
        height: 500px;
    }

    .header .header-image .bg-image {
        right: -450px;
        top: -150px;
        width: 900px;
    }

    .header .header-image .mobile-image {
        width: 600px;
        right: -250px;
        top: -150px;
    }

    .header .header-text .title {
        font-size: 50px !important;
    }
}

@media only screen and (max-width:992px) {
    .navbar {
        position: relative;
    }

    .navbar .navbar-collapse {
        position: absolute;
        background-color: #fff;
        top: 70px;
        left: 50%;
        transform: translate(-50%, 0);
        width: 95%;
        border-radius: 5px;
    }

    .header .bg-shadow {
        display: none;
        width: 100%;
        height: 0%;
        z-index: 1;
    }

    .header .bg-shadow .blur {
        margin-right: auto;
        margin-left: auto;
        width: 100%;
        height: 100%;
        box-shadow: 0 15px 25px rgba(129, 124, 124, 0.2);
        border-radius: 5px;
        backdrop-filter: blur(3px);
        background-color: rgba(36, 36, 36, 0.322);
        padding: 10px;
        text-align: center;
    }

    .header {
        height: 830px;
        max-height: 830px;
        min-height: 830px;
    }

    .header .header-image {
        position: static;
    }

    .header .header-image .bg-image {
        left: 50%;
        transform: translate(-50%, 0%);
        top: -130px;
        height: 600px;
    }

    .header .header-image .mobile-image {
        width: 480px;
        left: 50%;
        transform: translate(-50%, 0%);
        top: -120px;
    }

    .header .header-text {
        top: 60%;
        left: 50%;
        transform: translate(-50%, 0%);
        width: 500px;
        text-align: center;
    }

    .header .header-text .title {
        font-size: 45px !important;
    }

    .header .header-text .text {
        padding-right: 0px !important;
    }
}

@media only screen and (max-width:450px) {
    .header {
        height: 680px;
        max-height: 680px;
        min-height: 680px;
    }

    .header .header-image .mobile-image {
        width: 350px;
        top: 15%;
        left: 50%;
        transform: translate(-50%, 12%);
        top: -120px;
    }

    .header .header-text {
        top: 60%;
        left: 50%;
        transform: translate(-50%, -15%);
        width: 500px;
        text-align: center;
    }
}

@media only screen and (max-width:365px) {
    .header .header-text .title {
        font-size: 35px !important;
    }
}