html, body {
    overflow: hidden;
    height: 100%;
    margin: 0;
    overscroll-behavior: none;
    touch-action: none;
}

.background {
    width: 100vw;
    min-height: 100vh;
    border: 12px solid;
    border-image: url(border-diamonds.png) 12 round;
    border-image-source: linear-gradient(58.31deg,
            rgba(32, 133, 255, 0.55) 30.8%,
            rgba(224, 238, 255, 0.55) 40.21%,
            rgba(32, 133, 255, 0.55) 48.11%,
            rgba(157, 100, 255, 0.55) 55.26%,
            rgba(255, 240, 198, 0.55) 65.05%,
            rgba(255, 222, 132, 0.55) 86.12%,
            rgba(255, 159, 33, 0.55) 96.66%);
    position: absolute;
}

.background-blur {
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(61px);
    background: radial-gradient(80.65% 50% at 50% 50%, #FFFFFF 0%, rgba(255, 255, 255, 0.08) 100%);
    position: absolute;
}

.main-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.page-4 {
    position: absolute;
    top: 10%;
    width: calc(100% - 40px);
}

.page-5 {
    position: absolute;
    height: 100vh;
    overflow: auto;
}

.page-6 {
    position: absolute;
    top: 15%;
    height: 75vh;
    width: calc(100% - 40px);
}

.page-6.active{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-7 {
    position: absolute;
    top: 60px;
    width: calc(100% - 40px);
    height: calc(100vh - 60px);
    overflow: auto;
}

.message-section {
    position: absolute;
    width: calc(100% - 40px);
    top: 20%;
}

.primary-message {
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    color: #222222;
    margin: 10px;
}

.secondary-message {
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    color: #5A5A5A;
}

.orange-message {
    color: #FF9F21
}

.fade-in {
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade-out {
    opacity: 0;
    animation-name: fadeOutOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
}

@keyframes fadeOutOpacity {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.fade-in-text{
    transform: scale(0.94);
    animation: scale 3s forwards cubic-bezier(0.5, 1, 0.89, 1);
}

@keyframes scale {
    100% {
        transform: scale(1);
    }
}

.fade-in-text span{
    opacity: 0;
    filter: blur(4px);
    animation: text-fade-in 0.8s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

@keyframes text-fade-in {
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.next-btn:not(.select-tab) {
    position: absolute;
    width: calc(100% - 40px);
    max-width: 650px;
    bottom: 12%;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(90deg, #FFC52A 0%, #F69515 100%);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.12);
    border-radius: 15px;
    color: white;
    cursor: pointer;
}

.next-btn.show:not(.select-tab) {
    display: flex;
}

.next-btn:not(.select-tab):hover {
    background: linear-gradient(0deg, #F69515 0%, #FFC52A 100%);
}

.back-btn {
    cursor: pointer;
    display: none;
    position: absolute;
    top: 50px;
    left: 20px;
    z-index: 3;
}

.back-btn.show {
    display: block;
}

.select-tab-row {
    display: flex;
    justify-content: center;
}

.select-tab {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin: 10px;
    width: calc(50% - 10px);
    max-width: 175px;
    min-width: 120px;
    height: 196px;
    border: 1px solid #CCCCCC;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.12);
    border-radius: 15px;
    cursor: pointer;
}

.select-tab:hover {
    background: #e5f4ff;
}

.tab-title {
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    color: #444444;
}

.select-tab img {
    width: 111px;
    /* height: 125px; */
    border-radius: 12px;
    max-width: calc(100% - 20px);
    margin-bottom: 10px;
}

.goal-strategy-page {
    display: none;
    flex-direction: column;
    padding: 10px;
    border-radius: 10px;
    margin-top: 50px;
}

.goal-strategy-page.show {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.next-step-box {
    border-radius: 10px;
    box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.12);
    padding: 10px;
    width: calc(100% - 20px);
    max-width: 750px;
    margin-top: 20px;
    cursor: pointer;
}

.next-step-box-main-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #222222;
}

.goal-section {
    padding: 3px 10px;
    background: #FFFFFF;
    border-radius: 10px;
    margin-top: 10px;
}

.next-step-box-secondary-text {
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    color: #222222;
    margin: 10px 0px;
}

.next-step-box-bullet-point {
    padding-left: 20px;
    display: none;
}

.next-step-box-bullet-point.show {
    display: block;
}

.next-step-box-bullet-point li {
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #444444;
}

.goal-strategy-page-note {
    font-style: italic;
    font-weight: 400;
    font-size: 10px;
    line-height: 15px;
    text-align: center;
    color: #003881;
    margin: 20px 0px;
}

.daily-diary-emoji-box {
    padding: 10px;
    background: #FFFFFF;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    width: calc(100% - 20px);
    max-width: 450px;
}

.daily-diary-emoji-box-secondary-text {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
}

.goal-strategy-page-card-title {
    font-size: 16px;
    font-weight: 700;
}

.emoji-row {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.emoji {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70px;
}

.emoji-icon {
    width: 45px;
    height: 45px;
    box-shadow: inset -2px 0px 0px #D59D08, inset -4px 4px 4px rgba(255, 255, 255, 0.25), inset 2px -3px 4px rgba(101, 58, 0, 0.15);
    border-radius: 7px;
}

.emoji-name {
    font-weight: 400;
    font-size: 10px;
    line-height: 15px;
    text-align: center;
    margin-top: 5px;
}

.therapist-approved-tag {
    border-radius: 4px;
    background: #DEEDFF;
    display: flex;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.therapist-approved-tag span {
    color: #003881;
    font-size: 14px;
    font-weight: 400;
    margin-left: 5px;
}

.goal-strategy-page-blue-message {
    color: #003881;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    margin-top: 20px
}

.goal-strategy-page-resource-box {
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.12);
    padding: 10px;
    margin-top: 20px;
    width: calc(100% - 20px);
    max-width: 450px;
}

.resoruce {
    display: flex;
    margin-bottom: 20px;
}

.resource-thumbnail {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.play-btn-img {
    width: 27.5px;
    height: 27.5px;
}

.resource-type {
    color: #5A5A5A;
    font-size: 10px;
    font-weight: 400;
}

.pdf-tag {
    color: #2D71C8;
    font-size: 10px;
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background: #E8F3FF;
    height: 23px;
    width: 38px;
    margin-top: 5px;
}

.resource-title {
    color: #222;
    font-size: 12px;
    font-weight: 700;
    margin-top: 5px;
}

.play-btn-container {
    padding: 5px;
    border-radius: 50%;
    background: #ffe69c;
}

.short-section {
    display: flex;
    justify-content: space-around;
    margin: 20px 0px 10px 0px;
}

.play-btn-wrapper {
    border-radius: 50%;
    background-color: white;
}

.short {
    object-fit: fill;
    border-radius: 10px;
    width: calc(50% - 10px);
    max-width: 200px;
    aspect-ratio: 9 / 16;
}

.goal-strategy-page-next-btn {
    display: flex;
    justify-content: center;
    padding-bottom: 120px;
}

.goal-strategy-page-next-btn .next-btn {
    position: relative;
    display: flex;
}

#page-6-primary-message-1{
    display: flex;
    align-items: center;
    justify-content: center;
}
#page-6-primary-message-1 span{
    margin-right: 4px;
}

#word-carousel {
    display: inline-block;
    height: 30px;
    line-height: 30px;
}

.word-carousel {
    text-align: left;
    overflow: hidden;
}

.word-carousel span {
    display: block;
    position: relative;
    animation: text-animation ease 10s infinite;
    opacity: 1;
    filter: unset;
}

@keyframes text-animation {
    0% {
        top: 0;
    }

    25% {
        top: -30px;
    }

    50% {
        top: -60px;
    }

    75% {
        top: -90px;
    }

    100% {
        top: 0px;
    }
}

.carousel-page-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    position: absolute;
    bottom: calc(10% + 45px);
    width: 100%;
    max-width: 450px;
    background-color: #FFFFFF;
}

.carousel-page-card-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    text-align: center;
    color: #222222;
    margin-top: 20px;
}

.carousel-page-card-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    text-align: center;
    color: #222222;
    margin-top: 20px;
}

.carousel-page-card-icon-container {
    border-radius: 50%;
    background: #DEEDFF;
    padding: 10px;
    height: 45px;
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 10px 0px 10px;
}

.feature-card {
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.12);
    display: flex;
    padding: 10px;
    margin-bottom: 10px;
}

.feature-icon-div {
    display: flex;
    align-items: center;
}

.feature-content {
    margin-left: 10px;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #444444;
}

.feature-bold-text {
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    color: #222222;
    margin: 30px 0px 40px 0px;
}

.review-card {
    padding: 20px 10px 10px 10px;
    background: #FFFFFF;
    border: 1px solid #B5D7FF;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    max-width: 500px;
}

.review-card-container{
    display: flex;
    justify-content: center;
    width: 100%;
}

.reviewer {
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
    color: #222222;
}

.review-topic {
    font-style: italic;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #9D9D9D;
    margin-bottom: 10px;
}

.review-content {
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #444444;
}

.download-app-btn-container {
    display: flex;
    justify-content: center;
    padding-bottom: 120px;
}

.download-btn {
    display: flex !important;
    position: relative !important;
    margin-top: 20px !important;
    width: 100% !important;
}

.quotation-icon {
    position: absolute;
    top: -10px;
    right: 10px;
}

.trust-pilot-icon{
    position: absolute;
    top: -31px;
    left: -21px;
    height: 56px;
}

.expand-icons svg{
    display: none;
}

.expand-icons svg.show{
    display: block
}

.strategies-section{
    display: none;
    margin-top: 10px;
}

.strategies-section.show{
    display: block;
}

.strategy{
    border-bottom: 1px solid;
    cursor: pointer;
}

.next-step-box-header{
    display: flex; 
    justify-content: space-between;
}

.strategy-header{
    display: flex; 
    justify-content: space-between; 
    align-items: center
}

.strategy-header .expand-icons{
    margin-left: 10px;
}