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

body {
    margin: 0 auto;
    height: 100%;
    padding: 0;
    font-size: 14px;
    font-family: Avenir, "Helvetica Neue", sans-serif;
    color: #808284;
    font-weight: 400;
    overflow-x: hidden;
}

h1 {
    color: #455555;
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 10px;
    text-align: left;
}

h2 {
    text-align: center;
    font-size: 2em;
    color: #183962;
}

h3 {
    font-size: 1.5em;
    color: #ff9400;
    text-align: center;
    font-weight: 500;
}

h4 {
    color: #183962;
    font-size: 1em;
    margin: 0 auto;
    text-align: center;
    font-weight: 700;
    margin-bottom: 10px;
}

hr {
    border: 5px solid #ff9400;
    width: 50px;
    margin-bottom: 40px;
}

#persistantButton {
    display: none;
}

#nav {
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    justify-content: space-between;
    display: flex;
    width: 100%;
    align-items: center;
    align-self: center;
}

#nav #logo {
    margin: 0 20px;
    width: 200px;
    background-color: transparent;
    height: auto;
}

a#logo {
    padding: 15px 0;
}

#nav .menu-login {
    color: #000;
    padding: 10px;
    background: #ff9400;
    margin: 10px 0 20px 0.75vw;
}

#banner{            
    padding:20px 10px;
}

#banner, #banner a {
    background-color: #183962;
    text-align: center;
    color: #ffffff;
    margin: 0px auto;
    font-weight: 500;
    letter-spacing: 1px;
}

#banner a {
    padding:0px 0px;
}

#navbarNav a {
    background-color: transparent;
    padding: 0 1vw;
    color:#183962;
}


#navbarNav a:hover{
    text-decoration: underline;
    color:#183962;
    opacity: 1;
}

.nav-item {
    list-style: none;
    line-height: 1;
}

.nav-link {
    font-size: 1.25em;
}

@media (min-width: 1200px) and (max-width: 1700px) { 
    .nav-link {
        font-size: 1.2vw;
    }
 }

 @media (max-width: 1199px) { 
    #navbarNav {
        padding-left: 20px;
        border-style: solid;
        border-top-width: 1px;
        border-bottom-width: 1px;
        border-left-width: 0px;
        border-right-width: 0px;
        border-color: #6c757d7d;
        background-color: #f8f9fa;
    }
 }

.nav-item::before {
    content: "";
}

.flex{
    display: flex;
    width: 100%;
    align-items: center;
    align-self: center;
}

#home-header {
    background-image: url(https://assets.loseit.com/website/home/Wave.png), linear-gradient(90deg, rgba(245, 128, 30, 1) 0, rgba(246, 146, 29, 1) 100%);
    background-size: 100% 500px;
    background-repeat: no-repeat;
    background-position: top, bottom;
    padding: 50px 0px;
    width: 100%;
}

#home-header .flex {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 800px;
    align-items: start;
}

#phone {
    height: 500px;
}

#home-header .flexElement {
    margin-left: 0px;
    margin-top:20px;
}

#home-header h1{
    font-size:70px;
}

#home-header p {
    font-size: 25px;
    color: #455555;
    margin: 0 0;
}

#home-header .fab {
    font-size: 25px;
    color: #9da5a5;
    margin:0px 10px;
}

#home-header .rating {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top:5px;
}

#home-header .rating a {
    display: flex;
    align-items: center;
    background-color: transparent;
    padding: 0 0;
    margin: 0 0;
}

#home-header .fa-apple {
    margin-left: 0;
    margin-right:10px;
    display: inline-block;
    position: relative;
}

#home-header .fa-android {
    margin-left: 40px;
    margin-right:10px;
}

#home-header .star {
    display: inline-block;
    position: relative;
    font-size: 25px;
    color: #fed206;
    margin: 0 auto;
    text-align: left;
}

#home-header .apple.star {
    color: #f1f1f1;
}

#home-header .android.star {
    color: #f1f1f1;
}

#home-header .star::after {
    width: 70%;
}

#home-header .android::after {
    width: 60%;
}

#home-header .apple.star::after,
.android.star::after {
    content: "\f005";
    position: absolute;
    left: 0;
    top: 0;
    color: #fed206;
    overflow: hidden;
}

#steps {
    margin: 50px auto;
    text-align: center;
}

#steps h2 {
    margin: 30px 20px;
}

#steps .flex {
    display: flex;
    flex-direction: row;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: center;
}

#steps .flexElement {
    width: 28%;
    margin: 0 15px;
}

#steps p {
    font-size: 1.1em;
}

#steps a {
    display: none;
}

#steps img {
    width: 50%;
    margin: 0 auto;
}

#features {
    background-color: #f1f1f1;
    height: 350px;
    padding-top: 40px;
}

#features .carousel-item {
    margin: 0 auto;
    text-align: center;
}

#features .featurePost {
    margin: 10px 20px;
    border-radius: 10px;
    background-color: #fff;
    padding: 15px 15px;
    width: 40%;
    text-align: center;
    display: inline-flex;
    flex-direction: column;
    height: 200px;
    max-width: 400px;
}

#features p {
    font-size: 15px;
    line-height: 25px;
    margin: 5px 0;
}

#features h3 {
    color: #183962;
    margin: 5px 0;
    line-height: 25px;
}

#features img {
    height: 100px;
}

#features .carousel-indicators {
    margin-top: 50px;
    position: relative;
}

#features .carousel-indicators li {
    background-color: #9da5a5;
    height: 50px;
    border-radius: 100px;
    height: 15px;
    width: 15px;
    margin: 0 10px;
}

#features .carousel-indicators .active {
    background-color: #455555;
}

#features .smallFeaturesIndicators {
    display: none;
}

#numbers {
    margin: 60px auto;
    text-align: center;
    max-width: 1000px;
}

#numbers #seenOnLogos {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 50px;
}

#numbers h1 {
    color: #ff9400;
    font-size: 6.5em;
    font-weight: 700;
    margin: 10px auto;
    text-align: center;
}

#numbers h2 {
    color: #455555;
    letter-spacing: .4em;
    font-size: 2em;
    font-weight: 700;
    margin: 10px auto;
}

#numbers h3 {
    color: #183962;
    margin-top: 60px;
    margin-bottom: 0;
}

#numbers img {
    width: 150px;
    background-color: transparent;
    margin: 0 auto;
    padding: 20px 15px 10px 15px;
}

#numbers #partyHat {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

#advice {
    background-color: #183962;
    padding: 40px 0;
    text-align: center;
}

#advice .flex {
    display: flex;
    flex-direction: row;
    max-width: 1000px;
    margin: 0 auto;
}

#advice .flexElement {
    width: 50%;
    margin: 20px auto;
}

#advice h2 {
    color: #fff;
}

#advice p {
    text-align: center;
    width: 75%;
    margin: 10px auto;
    align-self: center;
    font-weight: 400;
    font-size: 1.25em;
    color: #fff;
}

#advice span {
    align-self: center;
    font-size: 1.1em;
    color: #ffa600;
    margin-bottom: 30px;
}

#advice img {
    width: 200px;
    position: relative;
    align-self: center;
}

#blog {
    background-color: #f1f1f1;
    padding: 50px 20px;
    margin: 0 auto;
}

#blog p {
    text-align: center;
    font-size: 20px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#blog .carousel{
    max-width: 900px;
    margin:0px auto;
}

#blog .carousel-item {
    margin: 0 auto;
    text-align: center;
}

#blog .blogPost {
    padding: 10px 20px;
    text-align: center;
    width: 28%;
    display: inline-flex;  
    margin: 0 auto;
    margin-top: 30px;
}

#blog .blogPost p {
    font-size: 15px;
    margin-top: 10px;
}

#blog .blogPost a {
    padding: 0 0;
    margin: 0 0;
    background-color: transparent;
    text-align: center;
    color: #183962;
}

#blog .blogPost a:hover img {
    opacity: 0.8;
}

#blog .blogPost img {
    width: 95%;
    border-radius: 10px;
}

#blog .arrow {
    position: absolute;
}

#blog .arrow i {
    color: #ff9400;
    font-size: 30px;
}

#blog .arrow a {
    background-color: transparent;
    padding:0px 0px;
    display: inline-block;
    margin: 20px 0px;
}

#blog .left {
    left: -3%;
    top: 40%;
}

#blog .right {
    right: -3%;
    top: 40%;
}

#getStarted {
    text-align: center;
    padding: 50px 0 70px 0;
    background-color: #f1f1f1;
    background-image: url(https://assets.loseit.com/website/home/Pattern_50opacity_Long.svg);
    background-size: cover;
    background-position: center;
}

#getStarted img {
    height: 60px;
}

#getStarted a {
    background-color: transparent;
    padding: 0 10px;
}

#menuOptionsContainer{
    display: none;
}

#headerSignUpText {
    font-size: 20px;
}

@media only screen and (max-width:1275px){
    #menu{
        display: inline-block;
        padding: 0px 0px 0px 30px;
    }

    #menuOptionsContainer{
        display: block;
    }

    #menuOptions{
        height:100%;
        width: 100%;
        z-index: 1;
        position:fixed;
        left: 0;
        top: 0;
        background-color: #fff;
        top:200px;
    }

    .overlay-content {
        position: relative;
        width: 100%;
        max-width: 800px;
        margin:0px auto;
        padding:0px 0px;
    }

    .overlay-content a{
        background-color: #fff;
        color:#183962;
        font-size: 3em;
    }

    .overlay-content a:hover{
        opacity: .8;
        color:#183962;
    }

    .overlay-content i{
        float: right;
    }

    #menuOptions a{
        display: block;
    }

    #nav{
        display: contents;
    }
}

@media only screen and (max-width:868px) {
    #home-header {
        background-size: 100% 350px;
        padding: 40px 20px;
    }

    #headerSignUpText {
        font-size: 15px;
    }

    h1 {
        color: #455555;
        font-size: 50px;
        font-weight: 900;
        margin-bottom: 10px;
        text-align: left;
    }

    h2 {
        text-align: center;
        font-size: 2em;
        color: #183962;
    }

    h3 {
        font-size: 1.5em;
        color: #ff9400;
        text-align: center;
        font-weight: 500;
    }

    h4 {
        color: #183962;
        font-size: 1em;
        margin: 0 auto;
        text-align: center;
        font-weight: 700;
        margin-bottom: 10px;
    }

    hr {
        border: 5px solid #ff9400;
        width: 50px;
        margin-bottom: 40px;
    }
   
    #persistantButton {
        display: none;
    }
   
    #blog .blogPost p {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    #nav {
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
        justify-content: space-between;
        display: contents;
        width: 100%;
        align-items: center;
        align-self: center;
    }

    #nav #logo {
        margin: 0 20px;
        width: 200px;
        background-color: transparent;
        height: auto;
    }

    a#logo {
        padding: 15px 0;
    }

    #banner a {
        padding: 0px 0px;
    }

    #home-header {
        background-image: url(https://assets.loseit.com/website/home/Wave.png), linear-gradient(90deg, rgba(245, 128, 30, 1) 0, rgba(246, 146, 29, 1) 100%);
        background-size: 100% 500px;
        background-repeat: no-repeat;
        background-position: top, bottom;
        padding: 25px 0px;
        width: 100%;
    }

    #home-header .flex {
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        max-width: 650px;
    }

    #phone {
        height: 500px;
    }

    #home-header .flexElement {
        margin-left: 40px;
        margin-top:0px;
    }

    #home-header p {
        font-size: 20px;
        color: #455555;
        margin: 0 0;
    }

    #home-header a {
        font-size:15px;
    }

    #home-header .fab {
        font-size: 25px;
        color: #9da5a5;
    }

    #home-header .rating {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    #home-header .rating a {
        display: flex;
        align-items: center;
        background-color: transparent;
        padding: 0 0;
        margin: 0 0;
    }

    #home-header .fa-apple {
        margin-left: 0;
        display: inline-block;
        position: relative;
    }

    #home-header .fa-android {
        margin-left: 40px;
    }

    #home-header .star {
        display: inline-block;
        position: relative;
        font-size: 25px;
        color: #fed206;
        margin: 0 auto;
        text-align: left;
    }

    #home-header .apple.star {
        color: #f1f1f1;
    }

    #home-header .android.star {
        color: #f1f1f1;
    }

    #home-header .star::after {
        width: 70%;
    }

    #home-header .android::after {
        width: 60%;
    }

    #home-header .apple.star::after,
    .android.star::after {
        content: "\f005";
        position: absolute;
        left: 0;
        top: 0;
        color: #fed206;
        overflow: hidden;
    }

    #steps {
        margin: 50px auto;
        text-align: center;
    }

    #steps h2 {
        margin: 30px 20px;
    }

    #steps .flex {
        display: flex;
        flex-direction: row;
        max-width: 1000px;
        margin: 0 auto;
        justify-content: center;
    }

    #steps .flexElement {
        width: 28%;
        margin: 0 15px;
    }

    #steps p {
        font-size: 1.1em;
    }

    #steps a {
        display: none;
    }

    #steps img {
        width: 50%;
        margin: 0 auto;
    }

    #features {
        background-color: #f1f1f1;
        height: 350px;
        padding-top: 40px;
    }

    #features .carousel-item {
        margin: 0 auto;
        text-align: center;
    }

    #features .featurePost {
        margin: 10px 20px;
        border-radius: 10px;
        background-color: #fff;
        padding: 15px 15px;
        width: 40%;
        text-align: center;
        display: inline-flex;
        flex-direction: column;
        height: 200px;
        max-width: 400px;
    }

    #features p {
        font-size: 15px;
        line-height: 25px;
        margin: 5px 0;
    }

    #features h3 {
        color: #183962;
        margin: 5px 0;
        line-height: 25px;
    }

    #features img {
        height: 100px;
    }

    #features .carousel-indicators {
        margin-top: 50px;
        position: relative;
    }

    #features .carousel-indicators li {
        background-color: #9da5a5;
        height: 50px;
        border-radius: 100px;
        height: 15px;
        width: 15px;
        margin: 0 10px;
    }

    #features .carousel-indicators .active {
        background-color: #455555;
    }

    #features .smallFeaturesIndicators {
        display: none;
    }

    #numbers {
        margin: 60px auto;
        text-align: center;
        max-width: 1000px;
    }

    #numbers #seenOnLogos {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 0 50px;
    }

    #numbers h1 {
        color: #ff9400;
        font-size: 6.5em;
        font-weight: 700;
        margin: 10px auto;
        text-align: center;
    }

    #numbers h2 {
        color: #455555;
        letter-spacing: .4em;
        font-size: 2em;
        font-weight: 700;
        margin: 10px auto;
    }

    #numbers h3 {
        color: #183962;
        margin-top: 60px;
        margin-bottom: 0;
    }

    #numbers img {
        width: 150px;
        background-color: transparent;
        margin: 0 auto;
        padding: 10px 15px;
    }

    #numbers #partyHat {
        width: 200px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    #advice {
        background-color: #183962;
        padding: 40px 0;
        text-align: center;
    }

    #advice .flex {
        display: flex;
        flex-direction: row;
        max-width: 1000px;
        margin: 0 auto
    }

    #advice .flexElement {
        width: 50%;
        margin: 20px auto;
    }

    #advice h2 {
        color: #fff;
    }

    #advice img {
        width: 200px;
        position: relative;
        align-self: center;
    }

    #blog {
        background-color: #f1f1f1;
        padding: 50px 20px;
        margin: 0 auto;
    }

    #blog p {
        text-align: center;
        font-size: 20px;
    }

    #blog .blogSignup {
        text-align: center;
        margin: 0 auto;
        display: block;
        position: relative;
        width: 160px;
        margin-top: 10px;
    }

    #blog .carousel {
        max-width: 900px;
        margin: 0px auto;
    }

    #blog .carousel-item {
        margin: 0 auto;
        text-align: center;
    }

    #blog .blogPost {
        padding: 10px 20px;
        text-align: center;
        width: 28%;
        display: inline-flex;
        margin: 0 auto;
        margin-top: 30px;
    }

    #blog .blogPost p {
        font-size: 15px;
        color: #808284;
        margin-top: 10px;
    }

    #blog .blogPost a {
        padding: 0 0;
        margin: 0 0;
        background-color: transparent;
        color: red;
        text-align: center;
    }

    #blog .blogPost img {
        width: 95%;
        border-radius: 10px;
    }

    #blog .left {
        left: -3%;
        top: 40%;
    }

    #blog .right {
        right: -3%;
        top: 40%;
    }

    #getStarted {
        text-align: center;
        padding: 50px 0 70px 0;
        background-color: #f1f1f1;
        background-image: url(https://assets.loseit.com/website/home/Pattern_50opacity_Long.svg);
        background-size: cover;
        background-position: center;
    }

    #getStarted img {
        height: 60px
    }

    #getStarted a {
        background-color: transparent;
        padding: 0 10px;
    }

    @media only screen and (max-width:868px) {
        #home-header {
            background-size: 100% 350px;
        }

        #home-header h1 {
            font-size: 50px;
        }

        #phone {
            height: 350px;
        }

        #features p {
            font-size: 14px;
            line-height: 25px;
        }

        #features img {
            height: 80px;
        }

        #features .featurePost {
            height: 230px;
            width: 35%;
        }

        #numbers img {
            width: 100px;
        }

        #blog .blogPost img {
            width: 95%;
        }

        #blog .blogPost {
            width: 25%;
            padding: 10px 5px;
        }

        #blog .blogPost p {
            font-size: 14px;
        }

        #blog .left {
            left: 0;
        }

        #blog .right {
            right: 0;
        }
    }

    @media only screen and (max-width: 576px) {
        #nav{
            display: flex;
        }
        
        #nav #logo {
            margin-left: -10px;
            padding-top: 0 !important;
            padding-bottom: 0 !important;
        }

        #menu{
            position:relative;
            left:0px;
            top:60px;
            z-index: 5;
        }

        .overlay-content a{
            font-size: 2em;
            padding:0px 20px;
        }

        #logIn {
            display: none;
        }

        #home-header {
            padding: 10px 0px;
            background-size: 220% 450px;
        }
        #home-header .fab {
            margin:20px 10px;
        }

        #home-header .flex {
            flex-direction: column-reverse;
        }

        #phone {
            width: 200px;
            height: auto;
            margin: 0px auto;
        }

        #home-header .flexElement {
            margin: 0px auto; 
            text-align: center;
        }

        #home-header h1 {
            margin-top: 0;
            font-size: 32px;
        }

        #home-header p {
            font-size: 18px;
        }

        #home-header .flexElement a {
            display: none;
        }

        #home-header .flexElement h1 {
            text-align: center;
        }

        #home-header .fa {
            font-size: 20px;
        }

        #home-header .fa-android {
            margin-left: 15px;
        }

        #home-header .rating {
            justify-content: center;
        }

        #home-header .rating a {
            display: flex;
        }

        #home-header br {
            display: none;
        }

        #steps .flex {
            flex-direction: column;
            margin: 0 auto;
            align-items: center;
        }

        #steps .flexElement {
            display: flex;
            flex-direction: column;
            width: 75%;
            align-items: center;
            justify-content: space-between;
            margin: 0 0;
            margin-bottom: 10px;
        }

        #steps .flexElement:nth-child(2) {
            order: 0;
        }

        #steps .flexElement:nth-child(1) {
            order: 1;
        }

        #steps .flexElement:nth-child(3) {
            order: 1;
        }

        #steps h3,
        p {
            margin: 5px 0;
        }

        #steps img {
            width: 60px;
            margin: 10px 20px;
        }

        #features .second {
            display: none;
        }

        #features .featurePost {
            width: 70%;
            height: 200px;
        }

        #features .smallFeaturesIndicators {
            display: inline-block;
        }

        #numbers {
            margin: 10px auto;
            overflow: auto;
        }

        #numbers #seenOnLogos {
            justify-content: unset;
            margin: 0;
        }

        #numbers div,
        h4 {
            display: none;
        }

        #numbers h1 {
            font-size: 4em;
        }

        #numbers h3 {
            display: none
        }

        #numbers #partyHat {
            width: 150px;
        }

        #advice .flex {
            flex-direction: column;
        }

        #advice .flexElement {
            width: 75%;
        }

        #getStarted h3 {
            display: none;
        }

        #getStarted {
            padding: 50px 0;
        }

        html {
            scroll-padding-bottom: 90px;
        }

        #persistantButton {
            display: inline-block;
            text-align: center;
            width: 100%;
            position: fixed;
            bottom: 0;
            z-index: 20;
            background-color: rgb(241, 241, 241, .5);
            backdrop-filter: blur(10px);
            height: 66px;
            padding-top: 24px;
        }

        #blog {
            display: none;
        }
    }
}

#navbarNav li a:focus {
    outline: 2px solid #183962;
    outline-offset: 5px;
    box-shadow: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #183962;
    outline-offset: 2px;
    box-shadow: 0 0 3px 2px rgba(24, 57, 98, 0.7);
}

#banner a:focus,
#footer a:focus,
#advice a:focus,
.social a:focus {
    outline-color: #fff;
    outline-offset: 2px;
    outline: 2px solid #FFF;
}

.carousel-indicators li:focus {
    outline: 2px solid #183962;
    outline-offset: 2px;
}

#menuIcon:focus {
    outline: 2px solid #183962;
    outline-offset: 2px;
    opacity: 0.8;
}

#menuOptions .overlay-content a:focus {
    outline: 2px solid #183962;
    outline-offset: 2px;
    background-color: rgba(24, 57, 98, 0.1);
}

@media (forced-colors: active) {
    a:focus,
    button:focus,
    input:focus,
    select:focus,
    textarea:focus {
        outline: 3px solid SelectedItem;
        outline-offset: 2px;
    }
}