/* top-landing */
.disable-interaction {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.landing-hide.hide {
    display: none;
}

.bg-landing-pic {
    position: absolute;
    background: url(/images/landing_page/top-landing-bg.png);
    background-repeat: no-repeat;
    width: 100%;
    height: 123.9vh;
    z-index: 2;
    background-size: contain;
    /*background-position: center;*/
    background-repeat: no-repeat;
}

.bg-landing-color {
    position: relative;
    background: radial-gradient(
        71.57% 176.38% at 100% 1.39%,
        #D3CEE3 0%,
        #8969D6 31.42%,
        #3C236F 94.87%
    );
    width: 100%;
    height: 123.9vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.landing-ribbon-text {
    text-align: center;
    font-size: 4.42vw;
    font-weight: 700;
    color: #F2F2F2;
    line-height: 5vw;
    letter-spacing: 0.104vw;
    padding-top: 0.5vw;
}

.top-landing-title-desc {
    font-weight: 300;
    font-size: 1.68vw;
    letter-spacing: normal;
    position: relative;
    bottom: 5.5%;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 999;
    justify-content: center;
    align-items: center;
}
.popup-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 900;
    width: 75%;
}

.popup-image {
    max-width: 100%;
    max-height: 100%;
}

body.no-scroll {
    overflow: hidden;
}


.popup-container-close-stories {
    position: absolute;
    top: -42px;
    right: 0px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 24px;
    z-index: 1001;
    color: #FFFF;
    width: 7%;
}


.pledge-top-landing-counter-container {
    position: relative;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5vw;
    margin: 1.2vw 0vw 0vw;
    letter-spacing: 0.06vw;
}

.pledge-counter-bg {
    font-size: 6.22vw;
    font-weight: 700;
    margin-right: 1.4vw;
    letter-spacing: 0.2vw;
    color: white;
}

.pledge-counter-bg, .top-landing-counter {
    min-width: 27.083vw;
}

.top-landing-counter {
    font-size: 6.22vw;
    font-weight: 700;
    margin-right: 1.4vw;
    letter-spacing: 0.2vw;
    background-color: grey;
    color: transparent;
    text-shadow: 0px 1px 2px rgba(255,255,255, 1), 0px 0px 0px rgba(0,0,0, 0.1);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    mix-blend-mode: multiply
}

.jtp {
    width: 100%;
    z-index: 3;
    display: flex;
    justify-content: center;
    margin-top: 3.0vw;
}

.jtp-btn {
    font-size: 1.67vw;
    font-weight: 700;
    padding: 1.2vw 1.2vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9770B9;
    background: #fff;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    box-shadow: 0px 0px 31px 0px #D2C0FF;
    z-index: 3;
}

.jtp-btn:hover {
    background-color: #F0EBFF;
    transition: background-color 0.5s ease;
}

.jtp-btn-arrow {
    width: 3.5vw;
    margin-left: 1vw;
    max-width: 68px;
}

.jtp-btn:focus {
  outline: none;
  box-shadow: 0px 0px 31px 0px #D2C0FF;
}

/* .landing-footer {
    position: absolute;
    transform: translate(-50%, 0%);
    left: 50%;
    bottom: 1vw;
    opacity: 0;
    transition: opacity 2s ease-out;
    z-index: 3;
}   

.landing-footer > p {
    font-size: 1vw;
    font-weight: 400;
    color: #ffffff;
} */

.hearpledger-section {
    background-color: #3C236F;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 5.7vw;
    gap: 3vw;
}
.hear-text-container {
    display: flex;
    flex-direction: column;
    color: #FFF;
    font-size: 0.8vw;
    width: 45%;
}

.hear-subtext {    
    letter-spacing: 0.02vw;
    font-weight: 300;
    line-height: 1.1vw;
}

.hear-title {
    letter-spacing: 0.1vw;
    font-weight: 400;
    font-size: 4.4vw;
    margin-bottom: -0.8vw;
    width: 26vw;
    line-height: 5.5vw; 
}
.hear-upper-text {
    width: 38.8vw;
    margin-bottom: 2vw;
}
.hear-upper-text > .d-flex > img {
    object-fit: cover;
    width: 10vw;
    height: 12vw;
    margin-top: 0.7vw;
    margin-left: -0.7vw;
}

.hear-box {
    background-color: #F0EBFF;
    padding: 1.67vw;
    border-radius: 1.7vw;
}
.hearbox-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.65vw;
    margin-bottom: 0.4vw;
}
.hearbox-title img {
    width: 1.46vw;
}
.hearbox-text {
    color: #57369C;
    font-weight: 700;
    font-size: 0.94vw;
}
.hearbox-subtext {
    line-height: 0.97vw;
    color: #343434;
    font-size: 0.73vw;
}
.hearbox-column {
    border-bottom: 1px solid #57369c1a;
    padding: 1.2vw 0;
}
.hearbox-column:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.hearbox-column:first-child {
    padding-top: 0;
}

.pledger-reason-container {
    height: 39.5vw;
    border: 0.8vw solid #8879a6;
    margin-top: 0.2vw;
    background-color: #FFFFFF;
    padding: 2vw 1.2vw;
    border-radius: 3vw;
    width: 100%;
    min-width: 45.88vw;
}

.pledger-latest-reason {
    overflow-y: auto;
    height: 33.5vw;
    width: 100%;
    min-width: 100%;
    padding-right: 0.5vw;
}

.pledger-latest-reason::-webkit-scrollbar {
    width: 0.3vw;
}
  
.pledger-latest-reason::-webkit-scrollbar-thumb {
    background-color: #8969D6;
    border-radius: 3vw;
}

@supports (-webkit-overflow-scrolling: touch) { /*for detecting ios device*/
    .pledger-latest-reason {
        scrollbar-width: thin;
        scrollbar-color: #8969D6 transparent;
    }

    .pledger-latest-reason::-webkit-scrollbar {
        display: none !important;
    }

    .pledger-latest-reason-mobile-clone::-webkit-scrollbar {
        display: none !important;
    }
}

.pledger:nth-child(odd) {
    background-color: #FAFAFA;
    border-radius: 0.6vw
}
.pledger {
    padding: 0.7vw;
    display: flex;
    flex-direction: row;
    gap: 1vw;
    font-size: 0.85vw;
}
.username {
    font-weight: 700;
    color: #8969D6;
    min-width: 19%;
    word-break: break-word;
    overflow-wrap: break-word;
}

.pledger-text {
    color: black;
    min-width: 80%;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.purple-text {
    font-weight: 400;
    color: #8969D6;
}

.takepledge-section {
    position: relative;
   background-color: #3C2370;
    /* background: linear-gradient(to bottom, #3C236F, #A28AD6, #F0EBFF); */
    padding: 5vw 0;
}

.take-pledge-text {
    font-weight: 300;
    line-height: 3.5vw;
    color: #8969D6;
    font-size: 2.6vw;
    text-align: center;
    margin-top: 1vw;
    margin-bottom: 8.5vw;
}
.emph-text {
    color: #FFF;
}

.take-pledge-bg {
    position: relative;
    background-image: url('/images/love-background.png');
    background-size: contain;
    background-repeat: no-repeat;
    height: 39.5vw;
}
.take-pledge-bg img {
    position: absolute;
}

.join-events-section {
    position: relative;
    background-color: #3C2370;
    padding: 5vw 0;
}

.image-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.image-carousel {
    display: flex;
    transition: transform 0.5s ease;
    width: max-content;
}

.image-carousel img {
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
}

.join-events-text {
    font-weight: 400;
    line-height: 3.5vw;
    color: #FFFF;
    font-size: 5.25rem;
    text-align: left;
    margin-top: 1vw;
    margin-bottom: 8.5vw;
}

.join-event-table {
    position: relative; /* Important for absolute positioning of buttons */
    border: 12px solid #8A7BA9;
    border-radius: 30px;
    overflow: hidden;
}

.join-left-btn,
.join-right-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px solid #FFFF;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background ease opacity 0.5;
    opacity: 1;
}
.join-left-btn::hover{
    opacity: 0.5;
}

.join-left-btn {
    left: 20px;
}

.join-right-btn {
    right: 20px;
}

.join-indicator-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 2rem;
    gap: 1rem;
}

.indicator-line-container {
    width: 23%;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.indicator-line {
    height: 100%;
    width: 0%;
    background-color: #fff;
    border-radius: 15px;
    opacity: 1; 
    position: absolute;
    top: 0;
    left: 0;
    transition: width 4s linear;
}

.indicator-line {
    background-color: #FFFFFF;
}



.hope_img {
    height: 9.15vw;
    top: 25.3vw;
    left: 21.05vw;
}
.flag_img {
    top: 2vw;
    left: 50.8%;
    transform: translateX(-50%);
    height: 7.1vw;
}
.beloved_img {
    height: 12.75vw;
    right: 7.3vw;
    top: 23.5vw;
}

.love-bg {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #C189D7;
    width: 100%;
/*    height: 100vh;*/
    padding: 20vw 0 10vw 0;
}

.love-bg > img {
    z-index: 2;
}

.love-num {
    width: 100%;
    text-align: center;
    z-index: 2;
    font-size: 8.021vw;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 2px;
    color: transparent;
    background-color: #00000091;
    text-shadow: 1px 2px 4px #744C93;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    transition: opacity 1s ease-in-out;
}

.love-text {
    width: 65%;
    text-align: center;
/*    padding: 0 15rem;*/
    z-index: 2;

    font-size: 2.813vw;
    font-weight: 100;
    line-height: 1.25;
    letter-spacing: 2px;
    color: #fff;
    transition: opacity 1s ease-in-out;
}

@keyframes slideUp {
    0% {
        transform: translate(-50%, 0%);
        bottom: -100%;
/*        opacity: 1;*/
    }
    100% {
        /*    transform: translate(-50%, -50%);*/
        bottom: 50%;
/*        opacity: 1;*/
    }
}

@keyframes slideUpRibbonText {
    0% {
        top: 100%;
    }
    100% {
        top: 52.5%;
    }
}

@keyframes jtpOpc {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideNavDown {
    0% {
        transform: translate(0%, -50%);
        opacity: 0;
    }
    100% {
        transform: translate(0%, 0%);
        opacity: 1;
    }
}

@keyframes slideFooterDown {
    0% {
        transform: translate(-50%, 20px);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 55px);
        opacity: 0;
    }
}

.fade-in {
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.fade-footer {
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

/*  animation  */
.slide-up-ribbon {
    animation: slideUp 2s ease-out forwards;
}

.slide-up-ribbon-text {
    animation: slideUpRibbonText 1s ease-out forwards;
}

.jtp-opc {
    animation: jtpOpc 2s ease-out;
}

.slide-nav-down {
    animation: slideNavDown 0.5s ease-out;
}

.slide-footer-down {
    animation: slideFooterDown 0.5s ease-out;
}

.mobile-bg-ribbon, .mobile-bg-big-ribbon, .pledger-reason-container-mobile {
    display: none;
}

@media (min-width: 2300px) and (max-height: 1049px) {
    .bg-landing-pic {
        background-size: cover;
    }
}   

@media(max-width: 2100px) and (pointer: coarse){
    .takepledge-section {
        padding: 15vw 0 5vw;
    }

    .take-pledge-text {
        padding: 0;
        line-height: 7vw;
        font-size: 4.8vw;
        margin-bottom: 13vw;
    }

    .take-pledge-bg {
        height: 60vw;
    }
    
    .landing-ribbon-text {
        font-size: 7.42vw;
        line-height: 9vw;
    }

    .mobile-bg-ribbon {
        display: block;
        position: relative;
        right: -55%;
        top: -10%;
        width: 55%;
    }

    .mobile-bg-big-ribbon {
        display: block;
        position: absolute;
        right: 0%;
        top: 10%;
        width: 100%;
        opacity: 0.1;
    }

    .bg-landing-pic {
        position: absolute;
        background: none;
        background-size: 80% !important;
        background-repeat: no-repeat;
        width: 100%;
        height: 100vh;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .bg-landing-color {
        background: url(/images/landing_page/top-landing-mobile-bg-color.png);
        background-size: cover;
        background-repeat: no-repeat;
        min-height: 130vh;
        height: auto;
        padding: 25vw 10vw 0vw 10vw;
        justify-content: flex-start;
    }

    .top-landing-title-desc {
        line-height: 1.3;
        bottom: 0%;
        margin-top: 2vw;
        font-size: 3.5vw;
    }

    .takepledge-section {
        padding: 30vw 0 5vw;
    }
    

    .take-pledge-bg {
        height: 60vw;
    }

    .top-landing-counter {
        font-weight: 500;
        text-shadow: 0px 1px 2px rgba(255, 255, 255, 1), 0px 0px 0px rgba(0, 0, 0, 0.3);
        font-size: 15.22vw;
    }

    .pledge-counter-bg {
        font-weight: 500;
        font-size: 15.22vw;
    }

    .pledge-counter-bg, .top-landing-counter {
        min-width: unset;
    }

    .pledge-top-landing-counter-container {
        font-size: 4.5vw;
        font-weight: 700;
    }

    .jtp-btn {
        font-size: 4vw;
        padding: 1.2vw 3.5vw 1.2vw 8.5vw;
        width: 88%;
        margin-bottom: 15vw;
    }

    .jtp-btn-arrow {
        width: 13.5vw;
        margin-left: 3vw;
    }

    .hearpledger-section {
        flex-direction: column;
        align-items: unset;
        padding: 14.2vw 6vw 100% 6vw;
        position: relative;
    }

    .hear-text-container {
        margin-bottom: 18rem;
        width: 100%;
    }

    .hear-subtext {
        padding-right: 0.5vw;
        font-size: 3.7vw;
        line-height: 4.2vw;
        margin-top: 10vw;
    }

    .hear-upper-text {
        width: 100%;
        margin-bottom: 8vw;
    }

    .hear-upper-text > .d-flex > img {
        position: absolute;
        right: 5%;
        width: 15%;
        margin-top: 0;
        margin-left: 0;
        height: unset;
    }

    .hear-title {
        width: 100%;
        font-size: 7.2vw;
    }

    .hear-box {
        padding: 4.6vw;
        border-radius: 3vw;
    }

    .hearbox-title {
        gap: 4vw;
        margin-bottom: 3vw;
    }

    .hearbox-title img {
        width: 6.1vw;
    }

    .hearbox-text {
        font-size: 3.7vw;
    }

    .hearbox-subtext {
        line-height: 3.5vw;
        font-size: 3.1vw;
    }

    .hearbox-column {
        border-bottom: 1px solid #57369c1a;
        padding: 7vw 0;
    }

    .pledger-reason-container-mobile {
        border: 2.5vw solid #8879a6;
        background-color: white;
        height: 115vw;
        position: absolute;
        padding: 7vw 3.5vw;
        border-radius: 7vw;
        /*top: 190%;*/
        bottom: 0%;
        width: 88%;
        overflow: hidden;
    }

    .pledger-latest-reason-mobile-clone {
        height: 120vw;
        letter-spacing: 0.00px;
        mix-blend-mode: normal;
        opacity: 1;
        position: initial;
        text-align: left;
        left: 7% !important;
        height: 95% !important;
        width: 90% !important;
        overflow: auto;
        scrollbar-width: none;
        display: flex !important;
        flex-direction: column;
    }

    .pledger-reason-container {
        display: none;
    }

    .pledger-reason-container-mobile {
        display: block;
    }

    .ssb_sb {
        background: #8969D6;
        cursor: pointer;
        position: absolute;
        right: 4%;
        width: 4px !important;
        border-radius: 10px;
        margin-top: 1.5rem;
    }
    
    .pledger-latest-reason {
        height: 101vw;
    }

    .pledger {
        padding: 3.5vw 1.5vw;
        flex-direction: column;
        gap: 1.2vw;
    }

    .username, 
    .pledger-text {
        font-size: 3.8vw;
        line-height: 4.8vw;
        width: 100%;
    }

    .pledger-latest-reason::-webkit-scrollbar {
        width: 1vw;
    }

    .pledger:nth-child(odd) {
        border-radius: 2.5vw;
    }
}

@media (max-width: 912px) {
    .bg-landing-color {
        min-height: 120vh;
    }
}


@media (max-width: 780px) {
    .bg-landing-color {
        min-height: 100vh;
    }
}

@media(max-width: 768px) {
    .popup-wrapper {
        width: 88%;
    }
}

@media screen and (orientation: landscape) and (max-width: 1000px) and (max-height: 350px) {
    .landing-ribbon-text {
        font-size: 6vw !important;
    }

    .jtp {
        top: 72.5%;
    }
}



@media(max-width: 576px) {
    .top-landing-counter, .pledge-counter-bg {
        font-size: 10vw;
        width: auto;
    }

    .jtp {
        margin-top: 5vw;
    }

    .jtp-btn {
        padding: 1rem 1rem 1rem 2rem;
        font-size: 3.5vw;
        width: 75%;
    }

    .love-text {
        width: 100%;
    }

    .love-text, .love-text-2 {
        font-size: 5vw;
    }

    .slider-containers .card .slider-title {
        font-size: 3.8vw;
        line-height: 1;
    }

    .slider-containers .card p {
        font-size: 2.8vw;
        line-height: 1.3;
    }

    .hear-upper-text {
        margin-bottom: 8vw;
    }

    .hear-text-container {
        margin-bottom: 9rem;
    }

    .takepledge-section {
        padding: 30vw 0 5vw;
    }

    .top-landing-title-desc {
        font-size: 3.5vw;
    }

    .mobile-heading-adjustment {
        width: 85%;
        margin: auto;
        font-size: 7.42vw;
        line-height: 1.3;
    }

    .pledge-top-landing-counter-container {
        font-size: 3.5vw;
        margin: 5vw 0 0;
    }

    .bg-landing-color {
        min-height: 75vh;
        padding: 31vw 10vw 0 10vw;
        justify-content: flex-start;
    }

    .hear-title {
        font-size: 7.2vw;
    }

    .hear-subtext {
        font-size: 3.7vw;
        line-height: 1.2;
    }

    .hearbox-text {
        font-size: 3.7vw;
    }

    .hearbox-subtext {
        font-size: 3.1vw;
    }

    .username, .pledger-text {
        font-size: 3.8vw;
        line-height: 1.3;
    }

    .take-pledge-text {
        font-size: 5vw;
        line-height: 1.3;
        padding: 0 8vw;
    }


}


@media (max-width: 385px) {
    .jtp-btn {
        width: 76%;
    }
}

@media (max-width: 380px) {
    
    .landing-ribbon-text {
        font-size: 7vw;
        line-height: 1.5;
    }

    .top-landing-title-desc {
        font-size: 3.4vw;
        line-height: 1.25;
        margin-top: 1.7vw;
    }

    .pledge-top-landing-counter-container {
        margin-top: 5.5vw;
        font-size: 4.3vw;
        font-weight: 600;
        letter-spacing: normal; 
    }

    .top-landing-counter {
        font-size: 15.22vw;
        font-weight: 500;
    }

    .jtp-btn-arrow {
        width: 11vw;
        /*margin-left: 3vw;*/
    }

    .pledger-reason-container-mobile {
        /*top: 180%;*/
    }
    .pledge-counter-bg, .top-landing-counter {
        min-width: 61.333vw;
    }
}


@media (max-width: 304px) {
    .jtp-btn {
        padding: 1rem 0.8rem 1rem 2rem;
    }
}

/*testing*/
.counter-container {
    display: flex;
    overflow: hidden;
}
.scroll-number-0 {
    width: 60px;
    height: 100px;
    text-align: center;
    line-height: 100px;
}

@media(max-width: 9999px) {
    .scroll-number-0 {
        height: 400px;
    }
}
@media(max-width: 4600px) {
    .scroll-number-0 {
        height: 300px;
    }
}
@media(max-width: 3100px) {
    .scroll-number-0 {
        height: 200px;
    }
}
@media(max-width: 2400px) {
    .scroll-number-0 {
        height: 150px;
    }
}
@media(max-width: 2000px) {
    .scroll-number-0 {
        height: 100px;
    }
}
@media(max-width: 1300px) {
    .scroll-number-0 {
        height: 80px;
    }
}
@media(max-width: 2100px) and (pointer: coarse){
    .scroll-number-0 {
        height: 150px;
    }
}
@media(max-width: 768px) {
    .scroll-number-0 {
        height: 80px;
    }
}
@media(max-width: 577px) {
    .scroll-number-0 {
        height: 80px;
    }
}
@media(max-width: 426px) {
    .scroll-number-0 {
        height: 65px;
    }
}
@media(max-width: 380px) {
    .pledge-top-landing-counter-container {
        margin-left: -5vw;
    }
    .scroll-number-0 {
        height: 55px;
    }
}
@media(max-width: 320px) {
    .scroll-number-0 {
        height: 35px;
    }
}
/*Loading Pledge CSS*/
.loading-spinner {
    display: none;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #8969D6;
    padding: 10px;
    height: 100%;
    flex-direction: column;
    justify-content: center;
}

.dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 3px;
    background-color: #8969D6;
    border-radius: 50%;
    animation: blink 1.4s infinite ease-in-out both;
}

.dots span:nth-child(1) { animation-delay: -0.32s; }
.dots span:nth-child(2) { animation-delay: -0.16s; }
.dots span:nth-child(3) { animation-delay: 0; }

@keyframes blink {
    0%, 80%, 100% { opacity: 0; }
    40% { opacity: 1; }
}