* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

.regular-txt {
    font-weight: 400;   
}

.semibold-txt {
    font-weight: 600;
}

.bold-txt {
    font-weight: 700;
}

.better-top-arrow-container .arrow-down-btn {
    bottom: 1rem;
    position: relative;
}

.better-container-top-btns {
    padding-left: 0;
}

.better-top-btn {
    background-color: #21ccdd;
    color: white;
    width: 288px;
    position: relative;
    border-radius: 15px 15px 0 0;
    display: flex;
    padding: 1.5rem 2rem;
    top: 4px;
    border: none;
    align-items: baseline;
    z-index: 3;
    box-shadow: 0px 6px 12px rgb(0 0 0 / 30%);
    cursor: pointer;
}

.better-top-btn-2 {
    background-color: #F29EB0;
    color: white;
    width: 288px;
    position: relative;
    border-radius: 15px 15px 0 0;
    display: flex;
    padding: 1.5rem 2rem;
    right: 9rem;
    top: 4px;
    border: none;
    align-items: baseline;
    z-index: 2;
    cursor: pointer;    
}

.better-top-btn-3 {
    background-color: #AADFE5;
    color: white;
    width: 288px;
    position: relative;
    border-radius: 15px 15px 0 0;
    display: flex;
    padding: 1.5rem 2rem;
    right: 18rem;
    top: 4px;
    border: none;
    align-items: baseline;
    z-index: 1;
    cursor: pointer;
}

.better-top-btn p{
    font-weight: 700;
    font-size: 1rem;
    color: #162C2F;
    padding-left: .5rem;
    position: relative;
    margin-right: auto;
    margin-bottom: 0;
}

.better-top-btn h1 {
    font-weight: 600 !important;
    color: #fff;
    position: relative;
    font-size: 1.5rem !important;
    margin-left: auto;
    margin-bottom: 0;
}

svg#wave-BetterBB {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
}

.better-top-container-content, .better-top-arrow-container {
    z-index: 5;
} 

.better-top-container-content {
    padding: 0;
}

.better-top-img {
    top: 0;
    position: absolute;
}

.better-top-container-padding {
    padding: 10rem 0 8rem 0;
    overflow-x: hidden;
}

.better-app-screens-big-container {
    padding: 8rem 0 5rem!important;
}

.better-container-sm-blue{
    background-color: #162C2F;
    color: white;
    width: 280px;
    margin: 2rem 0;
    position: relative;
    border-radius: 12px;
    height: 5rem;
    display: flex;
    align-items: center;
    padding: 2.5rem 1.5rem;
}

.better-container-sm-blue p{
    font-weight: 600;
    padding-right: 22px;
    font-size: 1rem;
    margin-bottom: 0;
}

.arrow-blue {
    background: #fff url(../assets/arrow_blue_bh.png) 50% 50% no-repeat;
}



.better-text h1{
    color: #fff;
    padding-bottom: 1.5rem;
    z-index: 2;
}

.better-text-p {
    color: #fff;
    z-index: 2;
}

.better-container-sm-blue p{
    color: #fff;
    font-size: 14px !important;
}

.better_arrow_down_white {
    background: #fff url(../assets/arrow_right2.png) 50% 50% no-repeat;
    background-size: 30px auto;
    border-radius: 20px;
    height: 42px;
    position: absolute;
    transform: rotate(90deg)!important;
    width: 82px;
    box-shadow: 0 0 20px 19px rgb(36 36 36 / 5%);
    border: none;
}

.better-container-col-5 {
    margin-left: auto;
    margin-right: auto;
}

.better-container-big-list {
    margin-top: 8rem;
    margin-bottom: 5rem;
}

.better-vertical-dot {
    position: relative;
    width: 10px;
    height: 10px;
    background-color: #21ccdd;
    border-radius: 50%;
    padding: 0;
    right: 4rem;
    top: 1rem;
}

.better-vertical-dot::before, .better-vertical-dot::after {
    content: "";
    position: absolute;
    width: inherit;
    height: inherit;
    left: 0px;
    background-color: inherit;
    border-radius: inherit;
}

.better-vertical-dot::before {
    top: 24px;
}

.better-vertical-dot::after {
    top: 48px;
}

.better-numbered-card-container {
    background-color: #F7FCFC;
    display: flex;
    border-radius: 15px;
    margin: 5rem 0 0 0;
    max-width: 626px;
}

.better-numbered-cards img {
    max-width: 110px;
    width: 100%;
    max-height: 110px;
    position: relative;
    margin-top: 1rem;
    margin-bottom: 1rem;
    right: 2rem;
}

.better-numbered-cards h1 {
    font-weight: 500 !important;
    margin-top: auto;
    margin-bottom: auto;
}

.better-numbered-cards p {
    margin-top: auto;
    margin-bottom: auto;
    padding: 0 2rem;
}

.better-text-3 h1 {
    position: relative;
    top: 3rem;
    font-size: 3.5rem;
    margin: 2rem 0 3rem;
}

.better-app-ss-container {
    background-color: #F0F5F5;
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0;
    grid-row-gap: 0px;
    width: 100%;
    padding: 1rem 0;
    margin-top: 6rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.better-app-screens {
    background-color: #F0F5F5;
    position: relative;
    top: 2.5rem;
    width: 100%;
    display: flex;
    justify-content: space-around;
    height: 38rem;
}


.iphone-prop-container {
    width: 350px;
    max-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}   

.iphone-prop {
    position: absolute;
    z-index: 1;
}


.better-img-prop {
    max-height: 560px;
    max-width: 328px;
    width: 100%;
    margin: auto 0;
    padding: 0 0.5rem;
    position: relative;
    border-radius: 15px;
    opacity: 50%;
}

.better-img-prop-middle {
    max-height: 560px;
    margin: auto 0;
    padding: 0 3rem;
    position: relative;
    left: 0;
    border-radius: 15px;
    opacity: 0;
}

.better-digital-stores button {
    background: #21CCDD;
    border-radius: 8px;
    color: #fff;
    display: inline-block;
    font-size: 16px;
    font-stretch: normal;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    max-width: 205px;
    margin-top: 3rem;
    border: none;
}

.better-digital-stores button img {
    border-radius: 15px;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    max-width: 190px;
    border: none;
    padding: .2rem .5rem;
    cursor: pointer;
}

.better-digital-stores button:nth-of-type(2) {
    margin-left: 1rem;
}

.better-container-img {
    position: relative;
}



.better-container-img img {
    position: relative;
    bottom: 2rem;
    max-width: 640px;
    right: 2rem;
}

.better-container-img img:nth-of-type(1) {
    position: absolute;
    max-width: 490px;
    border-radius: 60px;
    bottom: 2.5rem;
    left: 8rem;
}


.better-bottom-screen-padding h1::before {
    content: " ";
    display: block;
    border-bottom: 3px solid #63c9d9;
    position: relative;
    bottom: 5rem;
    width: 194px;
    margin: auto;
}

.better-text-5 {
    font-size: 1rem;
    text-align: center;
}

.better-text-5 h1 {
    line-height: 1.2;
    font-size: 3.5rem;
    text-align: center;
    padding-bottom: 1rem;
}

.better-text-5 p {
    line-height: .5;
    font-size: 1.2rem;
}

.better-container-sm-blue-2{
    width: 460px;
    background: #F6FBFB;
    border-radius: 12px;
    margin: 3rem auto;
    display: flex;
    padding: 1.2rem 1.5rem;
    align-items: center;
    justify-content: space-around;
}

.better-container-sm-blue-2 p{
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0 !important;
}

.better_arrow_right_blue-bg-2 {
    width: 62px;
    position: relative;
    top: 0;
    left: 10px;
    background: #21CCDD url(../assets/arrow_right_white.png) 50% 50% no-repeat;
    background-size: 20px auto;
    border-radius: 20px;
    bottom: 145px;
    height: 34px;
    cursor: pointer !important;
    border: none !important;
}

.better-inline-cards-container {
    display: flex;
    text-align: center;
    margin: auto;
    position: relative;
    padding-top: 5rem;
}



.better-inline-cards h3 {
    color: #21CCDD;
    padding-bottom: 1.5rem;
}

.better-inline-cards b {
    color: #FDA730;
}

.better-inline-card-img {
    max-width: 120px;
    position: absolute;
    top: -3%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* New CSS */

.bg-color-light-blue {
    background-color: #F5FAFA;
}

.better-bottom-screen-padding {
    margin-top: 2rem;
    margin-bottom: 8rem;
    padding: 0 18rem;
}

.better-bottom-screen-padding p {
    margin-bottom: 0;
}

.better-informative-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    margin: 6rem auto 6rem;
    justify-items: center;
}

.better-inline-cards {
    background-color: #F7FCFC;
    margin: auto 0;
    padding: 4rem 2rem 1rem;
    border-radius: 30px;
    position: relative;
    width: 100%;
    max-height: 100%;
}

#better_top_mobile {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.buoyant-bottom-container {
    margin-top: 10rem;
    margin-bottom: 6rem;
    padding: 0 20rem;
}

.buoyant-bottom-container h1::before {
    content: " ";
    display: block;
    border-bottom: 3px solid #63c9d9;
    position: relative;
    bottom: 5rem;
    width: 194px;
    margin: auto;
}

.better-arrow-right {
    background-size: 23px !important;
    border-radius: 20px;
    height: 35px;
    width: 65px;
    border: none;
    top: 50%;
    right: -2rem;
    transform: translateY(-50%);
    position: absolute;
}

.arrow-right-bottom {
    background-size: 23px !important;
    border-radius: 20px;
    height: 35px;
    width: 65px;
    border: none;
    position: relative;
    background: url(../assets/arrow_right_white.png) 50% 50% no-repeat;
    background-color: #21CCDD;
}

.better-top-img-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}


@media screen and (min-width: 1901px) { 
    .buoyant-bottom-container {
        padding: 0 30rem;
    }
}

@media screen and (min-width: 1601px) {

    .iphone-prop {
        max-width: 330px !important;
    }

    .better-top-container {
        padding: 4rem 10rem 16rem !important;
    }

    .better-top-img {
        max-width: 660px !important;
    }

    .better-text-p {
        font-size: 1rem !important;
    }

    .better-benefits-container {
        padding: 3rem 10rem !important;
    }

    .better-inline-cards h3  {
        font-size: 28px !important;
    }

    .better-digital-stores {
        padding-right: 8rem;
    }

    .better-app-padding {
        padding: 0 10rem !important;
    }

    .better-container-top-btns {
        padding-left: 10rem !important;
    }
}


@media screen and (min-width: 1201px) {

    .iphone-prop {
        max-width: 280px;
    }

    .better-top-arrow-container {
        top: -4rem;
    }

    .better-container-top-btns {
        padding-left: 8rem;
    }

    .better-app-padding {
        padding: 0 8rem;
        margin: 0;
    }

    .better-inline-cards {
        max-width: 300px;
        height: 280px;
    }

    .better-inline-cards h3  {
        font-size: 21px;
    }

    .iphone-prop-container {
        width: 280px;
        max-width: 100%;
    }   

    .better-text-p {
        font-size: 14px;
    }

    .better-top-img {
        max-width: 560px;
    }

    .better-benefits-container {
        padding: 3rem 2rem;
    }

    .better-digital-stores {
        padding-right: 4rem;
    }

    #better_top_mobile {
        display: none;
    }

    .better-top-container div:nth-of-type(2) {
        padding-top: 6rem;
    }

    .better-top-container {
        padding: 2rem 8rem 12rem;
    }

    .better-inline-cards p {
        font-size: 14px;
    }

}

@media screen and (max-width: 1200px) {
    

    .better-app-padding {
        padding: 4rem 8rem;
    }

    .better-benefits-container {
        padding: 2rem 5rem !important;
    }

    .better-informative-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .display-5 {
        font-size: 32px !important;
    }

    .better-container-top-btns {
        display: none;
    }

    #wave-BetterBB {
        display: none;
    }

    .better-container-img img {
        position: relative;
        bottom: 2rem;
        width: 545px;
        height: 100%;
        max-width: 100%;
        right: 0;
    }

    .better-container-img img:nth-of-type(1) {
        display: none;
    }

    .better-bottom-screen-padding {
        padding: 2rem;
    }

    .better-container-sm-blue-2 {
        max-width: 440px;
        padding: 1.5rem 1rem 1.5rem 1.8rem;
    }

    .better-container-img {
        display: flex;
        justify-content: center;
    }

    .better-top-container {
        display: flex;
        justify-content: center;
        align-content: center;
        align-items: center;
        padding: 4rem 8rem;
    }

    .better-top-img {
        top: 0;
        position: relative;
        max-width: 460px;
        display: block;
        margin: auto;
    }

    .better-top-container-padding {
        padding: 0;
    }

    .better-top-container div:nth-of-type(2) {
        padding-top: 1rem;
    }

    .hide-arrow-down {
        display: none;
    }

    .better-container-big-list {
        margin-top: 2rem;
    }

    p {
        font-size: 16px;
    }

    .better-inline-cards {
        max-width: 100%;
        height: 300px;
        width: 340px;
        margin: 5rem auto 0 auto; 
    }

    .iphone-prop-container {
        width: 250px !important;
        max-width: 100%;
    }

    .iphone-prop {
        max-width: 255px !important;
    }
    
    .better-img-prop {
        position: relative;
        width: 200px;
    }

    .buoyant-bottom-container {
        padding: 0 2rem;
    }

    .better-vertical-dot {
        right: 0;
    }
}

@media screen and (orientation: landscape) and (max-width: 1200px){
    .better-top-container {
        padding: 0 8rem;
    }
}

@media screen and (max-width: 900px) { 
    .better-top-container {
        padding: 4rem 6rem;
    }

    .better-app-padding {
        padding: 4rem 6rem;
    }
}



@media screen and (max-width: 600px) { 

    .iphone-prop {
        max-width: 240px !important;
    }

    .arrow-right-bottom {
        background-size: 20px !important;
        height: 30px;
        width: 55px;
    }

    .better-bottom-screen-padding h1::before {
        display: none;
    }

    .better-inline-cards h3 {
        font-size: 18px;
    }

    .better-inline-card-img {
        max-width: 90px;
    }

    .better-benefits-container {
        padding: 2rem 1rem !important;
    }

    .digital-caring-title, .data-driven-title {
        padding: 0 2rem;
    }

    .better-arrow-right {
        background-size: 20px !important;
        border-radius: 20px;
        height: 32px;
        width: 60px;
        right: -1.5rem;
    }

    .better-top-container div:nth-of-type(2) {
        padding-top: 2rem;
    }

    .better-top-container {
        padding: 2rem;
    }

    .better-top-img {
        max-width: 300px;
    }

    .better-app-padding {
        padding: 2rem;
    }

    .display-5 {
        font-size: 21px !important;
    }

    p {
        font-size: 14px;
    }

    .better-text h1 {
        font-size: 21px !important;
        padding-bottom: .5rem;
    }

    .better-numbered-cards img {
        max-width: 60px;
        width: 100%;
        max-height: 60px;
        position: absolute;
        margin-top: 0;
        margin-bottom: 0;
        left: 0.4rem;
    }

    .better-numbered-cards h1 {
        margin-left: 1.4rem;
    }

    .better-vertical-dot {
        right: 0;
        width: 8px;
        height: 8px;
    }

    .better-numbered-card-container {
        max-width: 280px;
        max-height: 100%;
        align-items: center;
        margin: 4.5rem 0 0 0;
    }

    .better-numbered-card-container:nth-of-type(1) {
        margin-top: 1rem;
    }

    .better-numbered-card-container p {
        font-size: 11px !important;
    }

    .better-numbered-cards p {
        padding: 1.5rem 1rem;
    }

    .better-digital-stores button {
        max-height: 3.5rem;
        max-width: 140px;
        margin-top: 1rem;
    }

    .better-digital-stores button img {
        max-width: 140px;
    }
    
    .better-digital-stores button:nth-of-type(2){
        margin-left: 1rem !important;
    } 

    .better-container-img img:nth-of-type(2) {
        max-width: 325px;
        right: 0;
    }

    .better-bottom-screen-padding {
        padding: 0 2rem 2rem;
    }


    .better-container-sm-blue-2 {
        max-width: 290px;
        padding: 0.8rem 0.8rem;
    }
    
    .better-container-sm-blue-2 p {
        font-size: 10px !important;
        font-weight: 600;
        font-size: 14px;
    }

    .better_arrow_right_blue-bg-2 {
        position: absolute;
        bottom: 0;
        top: 35%;
        left: 88%;
        width: 50px;
        height: 28px;
    }

    .better-container-sm-blue {
        max-width: 205px;
        max-height: 4rem;
        padding: .5rem 1rem;
    }

    .better-container-sm-blue p {
        font-size: 10px !important;
        padding-right: 0;
    }


    .better-informative-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .better-inline-cards {
        padding: 4rem 1.5rem 2rem;
        width: 270px !important;
        height: 240px !important;
        min-height: auto;
    }

    .better-container-big-list {
        margin-top: 4rem;
    }

    .better-top-container-padding {
        height: auto;
    }
    
    
}

@media screen and (max-width: 320px) {

    .display-5 {
        font-size: 18px !important;
    }

    .better-top-container div:nth-of-type(2) {
        padding: 2rem;
    }
    
    .better-bottom-screen-padding {
        padding: 0 1rem 2rem;
    }

    .better-bottom-screen-padding h1 {
        font-size: 18px !important;
    }

    .better-top-container-padding {
        height: auto;
    }

    .better-informative-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .better-digital-stores button:nth-of-type(2) {
        margin-left: 0 !important;
    }

    .better-container-img img:nth-of-type(2) {
        max-width: 290px; 
    }

    .better-numbered-cards img {
        left: -3px;
    }
}

#better-app {
    overflow-x: hidden;
}

.preventative-health-app__img--animation {
    animation: phoneScale .6s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

@keyframes phoneScale {
    from {
        transform: scale(.6);
    }

    to {
        transform: scale(1.2);
    }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
    @keyframes phoneScale {
        from {
            transform: scale(.7);
        }
    
        to {
            transform: scale(1.2);
        }
    }
}

@media screen and (min-width: 0px) and (max-width: 600px) {
    @keyframes phoneScale {
        from {
            transform: scale(.7);
        }
    
        to {
            transform: scale(1.3);
        }
    }
}


