﻿/*HIDE OTHER PRODUCT ON HOMEPAGE*/
#product .sleep-accessories, #product .sleep-therapy {
    display: none;
}

html {
    scroll-behavior: smooth;
}

#top-fold {
    padding: 100px 0;
    background-image: url('../images/topf-fold.png');
    background-size: cover;
}

#top-fold-2 {
    padding: 100px 0;
    background-size: cover;
}

#top-fold h3 {
    color: #000;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: 20px;
}

.hover-nav h3 {
    color: #000;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: 20px;
}

.hover-nav {
    position: absolute;
    margin: 0 auto;
    width: 100%;
    padding: 30px 0;
    height: auto;
    z-index: 9;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.2) 80%, rgba(0, 0, 0, 0) 100%);
}

#top-fold-2 h3 {
    color: #000;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: 20px;
}

#top-fold .white-box {
    background: #fff;
    border-radius: 10px;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 20px;
}

.hover-nav .white-box {
    background: #fff;
    border-radius: 10px;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 20px;
}

#top-fold-2 .white-box {
    background: #fff;
    border-radius: 10px;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 20px;
}

#top-fold h1 {
    color: #FFF;
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#top-fold p {
    color: #FFF;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#top-fold svg {
    margin-bottom: -5px;
}



.fill-cta {
    border-radius: 51.5px;
    border: 2px solid #778EFF;
    background: #5F70C2;
    display: block;
    color: #fff;
    padding: 17px 25px;
    text-align: center;
    font-size: 20px;
    transition: .3s ease-in-out;
}

    .fill-cta:hover {
        background: #778EFF;
        text-decoration: none;
        color: #fff;
        transition: .3s ease-in-out;
    }

.accent {
    color: #714099 !important;
}

.title {
    color: #000;
    text-align: center;
    font-size: 35px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 25px;
}

.subtitle {
    color: #714099;
    font-size: 35px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: #000;
}

#sections {
    padding: 40px 0;
}


    #sections p {
        color: #323232;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 28px;
    }

    #sections .purpBox {
        background: #F6F8FE;
        border-radius: 300px 0 0 300px;
    }

#product {
    background: #F6F8FE;
    padding: 40px 0;
}

.testimonial {
    padding: 40px;
}

    .testimonial blockquote {
        color: #000;
        text-align: center;
        font-size: 30px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .testimonial p {
        color: #000;
        text-align: center;
        font-size: 20px;
        font-style: italic;
        font-weight: 400;
        line-height: normal;
    }

.image-sec {
    background: #E8ECF5;
    padding: 40px 0;
}

    .image-sec p {
        color: #323232;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 28px;
    }

.icon-section {
    background: linear-gradient(180deg, #DDE1FB 0%, #DBEBF7 100%);
    padding: 40px 0;
}

    .icon-section h4 {
        color: #000;
        text-align: center;
        font-size: 25px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .icon-section p {
        color: #000;
        text-align: center;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }


/* FOR MOBILE CSS */
@media screen and (max-width: 768px) {
    #top-fold h1 {
        font-size: 35px;
    }
    #top-bar p {
        font-size: 13px;
        margin-bottom: 0;
    }
    .text-center-mobile {
        text-align: center!important;
    }
    .icon-section {
        padding: 0 0 20px 0;
    }
    .image-sec {
        padding: 40px 0 10px 0;
    }
    .fill-cta {
        margin-top: 40px;
    }
    .carousel-item {
        padding: 40px 10px !important;
    }

    .star-cont svg {
        width: 115px;
    }
    .carousel-control-prev {
        left: 5px;
    }

    .star-cont {
        font-size: 14px !important
    }

    #top-fold p {
        font-size: 17px;
    }

    #top-fold {
        padding: 31px 0;
    }

        #top-fold h2 {
            font-size: 1.8em !important;
        }

    .title {
        margin-bottom: 10px;
        font-size: 25px;
        margin-top: 10px;
    }

    .subtitle {
        font-size: 25px;
        padding: 20px 0px 0 0;
    }

    #sections {
        padding: 0;
    }

    .row .my-5 {
        margin: 0 !important;
    }

    #sections p {
        margin-top: 10px;
    }

    .hide-mobile {
        display: none !important;
    }

    .testimonial blockquote {
        font-size: 23px;
    }
}

/* PRODUCT PAGE */
#prod-categories {
    border-radius: 12px;
    background: #F3F6FF;
    padding: 20px;
}



    #prod-categories h4 {
        color: #000;
        text-align: center;
        font-size: 25px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    #prod-categories .active {
        border-radius: 7px;
        background: #5F70C2;
        padding: 5px 0;
    }

    #prod-categories p {
        margin: 0;
        padding: 10px;
        text-align: center;
        cursor: pointer;
    }

    #prod-categories .active p {
        color: #fff;
    }

#top-fold h2 {
    color: #FFF;
    text-align: center;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}


.cat-fixed {
    position: fixed;
    transition: 0.3s ease-in-out;
    width: 270px;
    top: 15px;
}

@media screen and (max-width: 768px) {
    #prod-categories {
        display: none;
    }
}
