h1, p {
    margin-bottom: 0 !important;
}

.btn, .btn:hover {
    color: rgba(0,0,0,.55);
}

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

.bq-top {
    padding: 10rem 0 8rem 0;
}

.better-quest-top-container {
    position: relative;
}

.bq-top-text-container {
    color: #fff;
    position: relative;
}

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

.bq-top-text-p {
    color: #fff;
    margin: 1rem 0 2rem!important;
}

.better-quest-explore-solution {
    background: #4A43B7;
    color: white;
    width: 280px;
    margin: 2rem 0;
    border-radius: 12px;
    height: 5rem;
    display: flex;
    align-items: center;
    padding: 2.5rem 1.5rem;
    position: relative;
}

.better-quest-explore-solution p {
    font-size: 14px;
    color: #fff;
}   

.btn-better-explore-solution {
    background: white url(../assets/arrow_blue_bh.png) no-repeat center;
    background-size: 23px !important;
    border-radius: 20px;
    height: 35px;
    width: 65px;
    border: none;
    top: 50%;
    right: -2rem;
    transform: translateY(-50%);
    position: absolute;
}

.bq-keeps-you-on-track-container {
    margin: 8rem 0;
}

.bq-keeps-you-on-track-h {
    color: #6C63FF;
}

.bq-coin-img {
    margin: 2rem 0;
    max-width: 90px;
}

.bq-health-gaming-container {
    padding: 15rem 0 !important;
}

.bq-health-gaming-main-container {
    overflow: hidden;
}

.bq-health-gaming-text {
    background-color: #F7FCFD;
    width: 100%;
    border-radius: 0 50px 50px 0;
}

.bq-health-gaming-text p {
    padding: 1rem 0;
    font-size: 1rem;
}

.bq-example-img {
    position: relative;
    left: -8rem;
}

.bq-arrow-down-container {
    position: absolute;
    bottom: 7rem;
}

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

.app-ss-container {
    display: flex;
    background: #faffff;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    overflow: hidden;
}

.bq-bottom-screen-padding {
    margin-top: 10rem;
    margin-bottom: 10rem;
    padding: 0 16rem;
}

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

.bq-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;
    
}

.bq-container-sm-blue-2 p {
    font-size: 1rem;
}

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

.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;
}

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

    .bq-health-gaming-container {
        padding: 12rem 0 8rem !important;
    }

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

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

    .bq-top-text-container {
        padding: 6rem 0 0 0;
    }

    .better-quest-map {
        max-width: 760px;
        padding-bottom: 2rem;
    }

    .bq-keeps-you-on-track-container {
        padding: 12rem 8rem 5rem;
    }

    .bq-keeps-you-on-track-p {
        padding: 0 10rem;
        font-size: 21px;
    }

    .bq-health-gaming-text {
        padding: 4rem 6rem 6rem 6rem; 
    }

    .bq-example-img {
        max-width: 780px; 
    }
}

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

    .arrow-down-btn {
        background-size: 28px auto!important;
        height: 45px !important;
        width: 90px !important;
    }

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

    .bq-top-text-p {
        font-size: 16px !important;
    }

    .better-quest-map {
        max-width: 860px;
        padding-bottom: 0;
    }

    .bq-keeps-you-on-track-container {
        padding: 12rem 10rem 5rem;
    }

    .bq-keeps-you-on-track-p {
        padding: 0 22rem;
    }

}

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

    .better-quest-map {
        max-width: 940px;
    }

    .bq-keeps-you-on-track-container {
        padding: 12rem 20rem 5rem;
    }

    .bq-health-gaming-text {
        padding: 4rem 6rem 6rem 11rem; 
    }

    .bq-example-img {
        max-width: 900px; 
    }
}

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

    .app-ss-container {
        margin: 6rem 0 1rem;
    }

    .bq-health-gaming-container {
        padding: 1rem 0!important;
    }

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

    .bq-bottom-screen-padding {
        padding: 0 4rem !important;
    }

    svg#better_quest_desktop_wave {
        width: auto;
        height: 100%;
        position: absolute;
        z-index: -1;
        left: -50%;
        top: 0;
        object-fit: cover;
        object-position: center;
    }

    .bq-keeps-you-on-track-p {
        padding: 0 8rem;
    }

    .better-quest-top-container {
        padding: 4rem 8rem;
    }

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

    .bq-top {
        padding: 0 0 8rem;
    }

    .bq-top-text-container {
        padding-top: 1rem;
        padding-right: 8rem;
    }

    .better-quest-map {
        max-width: 500px;
        display: block;
        margin: auto;
        padding-top: 1rem;
    }

    .bq-arrow-down-container {
        display: none;
    }

    .bq-example-img {
        position: relative;
        display: block;
        margin: 0 auto 3rem;
        top: 0;
        left: 0;
        max-width: 520px;
    }

    .bq-health-gaming-text {
        background-color: #F7FCFD;
        width: 100%;
        border-radius: 0;
        padding: 4rem 8rem;
    }

    .bq-health-gaming-main-container {
        padding: 8rem 0;
    }

    .bq-keeps-you-on-track-container {
        margin: 0;
        padding: 4rem 5rem 2rem;
    }
}

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

    .app-ss-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }
    
    .better-quest-top-container {
        padding: 4rem 6rem;
    }

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

    .bq-top-text-container {
        padding-right: 4rem;
    }

    .better-quest-map {
        max-width: 480px;
    }

    .bq-keeps-you-on-track-p {
        padding: 0 4rem;
    }

    .bq-example-img {
        max-width: 460px;
        margin: 0 auto;
    }

    .bq-health-gaming-text {
        padding: 4rem 6rem;
    }

    .bq-health-gaming-main-container {
        padding: 8rem 0;
    }
}

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

    .bq-bottom-screen-padding h1 {
        font-size: 21px !important;
    }

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

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

    .bq-bottom-screen-padding {
        padding: 0 2rem !important;
    }

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

    .bq-top-text-container h1 { 
        font-size: 21px !important;
    }

    .bq-keeps-you-on-track-h, .bq-habit-trackers {
        font-size: 18px !important;
    }


    .bq-top-text-p {
        font-size: 16px;
    }

    .bq-keeps-you-on-track-p {
        font-size: 16px;
        padding: 0 1rem;
    }

    .better-quest-explore-solution {
        background: #4A43B7;
        max-width: 205px;
        max-height: 4rem;
        padding: 0.5rem 1rem;
    }

    .better-quest-explore-solution p {
        font-size: 10px !important;
        padding-right: 0;
    }

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

    .better-quest-map {
        max-width: 300px;
        padding-top: 3rem; 
    }

    .bq-example-img {
        max-width: 235px;
    }

    .bq-top-text-container {
        padding: 2rem 1rem;
    }

    .bq-health-gaming-text p {
        font-size: 14px;
    }

    .bq-keeps-you-on-track-container {
        margin: 0;
        padding: 0rem 2rem;
    }

    .bq-health-gaming-text {
        padding: 2rem 3rem;
    }
}

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

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

    .better-quest-top-container {
        padding: 4rem 2rem !important;
    } 

    .better-quest-map {
        max-width: 250px;
    }

    .bq-bottom-screen-padding {
        padding: 1rem !important;
    }
}

.better-quest__img-phones--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(.7);
    }

    to {
        transform: scale(1.1);
    }
}

.better-quest-app__img--animation {
    position: relative;
    animation: bottomToTopApp 1s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

@keyframes bottomToTopApp {
    from {
        transform: scale(.7) translateY(150%);
    }

    to {
        transform: scale(1.1) translateY(-50%);
    }
}

@media screen and (min-width: 901px) and (max-width: 1200px) {
    @keyframes bottomToTopApp {
        from {
            transform: scale(.7) translateY(120%);
        }
    
        to {
            transform: scale(1.1) translateY(-30%);
        }
    }
}

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

