*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}

@media (min-width: 48em) and (max-width: 61.94em) {
    html {
        font-size: 50% !important;
    }
}

@media (min-width: 62em) and (max-width: 74.943m) {
    html {
        font-size: 62.5% !important;
    }
}

@media (min-width: 75em) and (max-width: 81.19em) {
    html {
        font-size: 75% !important;
    }
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #798097;
    color: #212226;
}


/* =========================================
    Button Styles Starts Here
============================================ */


.button:link,
.button:visited {
    font-size: 1.3rem;
    line-height: 1.3rem;
    letter-spacing: .1rem;
    font-weight: 600;
    padding: 1.4rem 3.4rem;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: .3rem;
    border-width: .2rem;

    display: inline-block;
}

@media (max-width: 500px) {

    .button:link,
    .button:visited {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
}

.button--primary {
    background-color: rgba(40, 216, 100, 1);
    color: #ffffff;
    border-color: rgba(40, 216, 100, 1);
}



.button--secondary {

    background-color: rgba(51, 143, 250, 1);
    color: #ffffff;
    border-color: rgba(51, 143, 250, 1);

}

/* =========================================
    Button Styles Ends Here
============================================ */

/***
NAVBAR STYLES
***/


/* =========================================
                Mobile Menu
============================================ */
.navbar-header {
    position: relative;
}

#mobile-nav-open-btn {
    font-size: 30px;
    color: #000;
    cursor: pointer;
    z-index: 2;
    position: absolute;
    right: 1.2rem;
    top: .6rem;
    /* hide mobile nav open btn */
    display: none;
}

#mobile-nav {
    /* by default, mobile nav will be hidden with height 0% */
    height: 0%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
    overflow-y: hidden;
}

#mobile-nav-close-btn {
    font-family: "Raleway", sans-serif;
    font-size: 4.5rem;
    color: #212226;
    font-weight: 400;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 1.3rem;
    -webkit-transition: .3s;
    transition: .3s;
}

#mobile-nav-content {
    text-align: center;
    width: 100%;
    /*margin-top: 30px;*/
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#mobile-nav ul li {
    margin-bottom: 2rem;
}

#mobile-nav a {
    font-family: "Raleway", sans-serif;
    font-size: 2rem;
    color: #212226;
    font-weight: 500;
    text-transform: uppercase;
    display: inline;
    -webkit-transition: .3s;
    transition: .3s;
}

#mobile-nav a:hover,
#mobile-nav a:focus,
#mobile-nav-close-btn:hover,
#mobile-nav-close-btn:focus {
    color: #000;
    background: none;
}

/* Mobile nav scroll spy active state */
.white-nav-top #mobile-nav ul.nav>li.active>a {
    color: #000;
    font-weight: 500;
}

.nav-top #mobile-nav ul.nav>li.active>a {
    color: #000;
    font-weight: 500;
}


/* Small Devices (Portrait Tablets & Small Desktops) */
@media (min-width: 48em) and (max-width: 61.94em) {
    #mobile-nav-open-btn {
        display: block;
    }
}

/* Extra Small Devices (Landscape Phones & Portrait Tablets) */
@media (max-width: 47.93em) {
    #mobile-nav-open-btn {
        display: block;
    }
    .white-nav-top {
        padding: 1.9rem;
    }
    .navbar-brand img{
        width: 80%;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link{
        font-size: 1.6rem;
        color: #444;
    }

    .navbar-expand-lg .navbar-nav .nav-link:hover{
        color: #000;
    }

    .nav-item.mx-2{
        margin-left: 5rem !important;
        margin-right: 5rem !important;
    }   
}


/* White Navigation */
.white-nav-top {
    background: #fff;
    padding: 1rem 0;
    -webkit-box-shadow: 0 8px 6px -9px #999;
    box-shadow: 0 8px 6px -9px #999;
    z-index: 2;
}

.white-nav-top ul.navbar-nav>li>a {
    color: #212226;
}

.white-nav-top ul.navbar-nav>li>a:hover,
.white-nav-top ul.navbar-nav>li>a:focus {
    color: #000;
}

/* Scroll spy active state */
.white-nav-top ul.navbar-nav>li.active>a {
    color: #000;
    font-weight: 500;
}

/* =========================================
        HOME SECTION
============================================ */

.section-home{
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #dcd8d8;
    position: relative;
    height: 96vh;
    
    background-image: url("../img/pharmix_pills_home_bg.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom center;

    margin-top: 10rem;
}

.section-home-box {
    padding: 2rem 0 0rem 0;
}

.section-home__image-box{
    width: 15%;
    margin: 0 0 0 auto;
}

.section-home__image-box img{
    width: 100%;
}

.text-box {
    width: 65%;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 auto;
    text-align: right;
}

.heading__primary {
    font-weight: 500;
    font-style: normal;
    font-size: 2.8rem;
    text-transform: none;
    letter-spacing: -0.008em;
    line-height: 5.5rem;
    color: #000;
    margin: 0;
    width: 100%;

}

@media(min-width: 500px) and (max-width: 768px) {
    .heading__primary {
        font-size: 3rem;
        line-height: 5rem;
        width: 90%;
    }
}

@media (max-width: 500px) {
    .heading__primary {
        font-size: 2.5rem;
        line-height: 3.2rem;
        margin: 0 auto;
        width: 80%;
    }

    .home-heading {
        color: #3E4249 !important;
    }

    .section-home {
        height: 65vh;
        background-position: top center;
        margin-top: 15rem;
    }

    .section-home__image-box {
        width: 15%;
        margin: 0 auto;
    }
    
    .text-box{
        width: 100%;
        top: 75%;
        text-align: center;
    }
}


/* =====================================
   Footer Section Styles
   =====================================
*/

footer {
    background-color: rgba(26, 26, 26, 1);
}

footer p {
    color: rgba(132, 137, 145, 1);
    line-height: 2.8rem;
    font-size: 1.4rem;
    margin: 0;
}

footer p span {
    /* color: rgba(40, 216, 100, 1); */
    color: #FF4040;
}

.footer-content {
    background-color: #222222;
    padding: 5rem 0 4rem 0;
}

.footer-content .footer-content__heading {
    font-size: 1.8rem;
    font-weight: 400;
    color: white;
    font-style: normal;
    margin-bottom: 3rem;
    line-height: 3rem;
    font-family: "Open Sans", inherit;
}

.footer-content .footer-content__box {
    width: 100%;
    text-align: left;
    color: white;
    font-family: inherit;
}

.footer-content .footer-content__box--text {
    color: rgba(132, 137, 145, 1);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2.5rem;

}

.footer-content .footer__content-list {
    list-style: none;
    text-align: left;
}

.footer-content .footer__content-list li:not(:last-child) {
    margin-bottom: 1rem;
}

.footer-content .footer__content-list li {
    color: rgba(132, 137, 145, 1);
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2.5rem;
    margin-left: 0;
    transition: all .2s;
}

.footer-content .footer__content-list li a {
    color: rgba(132, 137, 145, 1);
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.footer-content .footer__content-list li:hover {
    margin-left: 1rem;
    /* color: rgb(71, 245, 129); */
    color: #FF4040;
}

.footer-content .footer__content-list li:hover a {
    text-decoration: none;
    /* color: rgb(71, 245, 129); */
    color: #FF4040;
}

.footer-copyright {
    text-align: left;
}

.footer-designed-by {
    text-align: right;
}

@media(max-width: 768px) {
    .footer-copyright {
        text-align: center;
    }

    .footer-designed-by {
        text-align: center;
    }

    .footer-content .footer-content__box {
        text-align: center;
    }

    .footer-content .footer-content__heading {
        margin-bottom: 2rem;
        text-align: center;
    }

    .footer-content .footer__content-list {
        text-align: center;
    }
}

@media (max-width: 800px) {
    footer p {
        line-height: 2.2rem;
        font-size: 1.3rem;
    }

}

.dropdown-item{
    font-size: 1.3rem !important; 
}