@font-face {
    font-family: Helvetica-Neue;
    src: url('/font/HelveticaNeueBlack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: Helvetica-Neue;
    src: url('/font/HelveticaNeueHeavy.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: Helvetica-Neue;
    font-weight: 700;
    src: url('/font/HelveticaNeue Bold.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: Helvetica-Neue;
    src: url('/font/HelveticaNeueMedium.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: Helvetica-Neue;
    font-weight: 500;
    src: url('/font/Helvetica-Neue.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: Helvetica-Neue;
    font-weight: 300;
    src: url('/font/HelveticaNeue Light.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: Helvetica-Neue;
    src: url('/font/HelveticaNeueThin.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: Helvetica-Neue;
    src: url('/font/HelveticaNeueUltraLight.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: Poppins;
    src: url('/font/Poppins-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: Poppins;
    src: url('/font/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: Poppins;
    font-weight: 700;
    src: url('/font/Poppins-Bold.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: Poppins;
    font-weight: 600;
    src: url('/font/Poppins-SemiBold.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: Poppins;
    src: url('/font/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: Poppins;
    font-weight: 400;
    src: url('/font/Poppins-Regular.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: Poppins;
    font-weight: 300;
    src: url('/font/Poppins-Light.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: Poppins;
    src: url('/font/Poppins-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: Poppins;
    src: url('/font/Poppins-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari, Edge) */
/*body::-webkit-scrollbar {
    display: none;
}*/

:root{                
    @media (min-width: 768px) {
        .container {
            max-width: 100%;
        }
        
        .nav-icon, #topnav {
            display: none;
        }
        
    }

    @media (min-width: 1025px) {
        .container {
            max-width: 100%;
        }

        .nav-icon, .mobile-nav {
            display: none;
        }
        
        /* header adjustment for animation*/
        .home-nav.no-scroll {
            padding-right: 10px; 
        } 
    }

    @media (min-width: 1200px) {
        .container {
            max-width: 100%;
        }
    }    

    @media(max-width: 768px) {
        .container {
            max-width: 100%;
        }
    }   

    @media(max-width: 575.5px) {
        .home-nav.transparent {
            max-height: max-content;
        }
    
        .home-nav > img {
            width: 20vw;
            margin-top: 6vw;
        }
    
        .left-header button, .right-header button {
            font-size: 4vw;
        }
    }
}

html, body {
    height: 100%;
    margin: 0;
}

html.no-scroll {
    overflow: hidden;
}


body {
    overflow-x: hidden;
    font-family: Poppins;
    background: #f0ebff;
}

main {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
/*            max-width: 84.5%;*/
    padding-left: 7.5vw !important;
    padding-right: 7.5vw !important;
}

/* navbar */
.div-nav {
    position: relative;
    width: 100%;
    z-index: 1; 
}

.home-nav > img {
    margin-top: 2.1vw;
    width: 7.345vw;
    position: absolute;
    image-rendering: -webkit-optimize-contrast; 
    image-rendering: crisp-edges;
    image-rendering: optimizeSpeed;
    transform: none;
    /*right: 45.7%;*/
}

/* left navbar */
.home-nav {
    /* height: 6vw; */
    text-align: center;
    position: relative;
    /*background-color: #BB8DE1;*/
    /*background-color: #BB8DE166;*/
    /*background: transparent;*/
    /* display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    top: 0;
    transition: background-color 0.3s ease; */

    display: flex;
    justify-content: center;
}

.home-nav.transparent {
    background: transparent;
    transition: background 0.5s ease-out;
    max-height: 10vw;
}

.header-container {
    width: 100%;
    max-height: 10vw;
    justify-content: space-between;
    align-items: center;
}

.home-nav.scrolled {
/*    background: #BB8DE166;*/
    background: #BB8DE1;
    transition: background 0.5s ease-out;
}

.left-header {
    display: flex;
    align-items: center;
    gap: 1.2vw;
    padding: 0;
}

.right-header {
    display: flex;
}

.topnav {
    display: flex;
    gap: 1.2vw;
}

.left-header button, 
.right-header button {
    border-radius: 100px;
    padding: 0.4vw 1.2vw;
    font-size: 1vw;
    font-weight: 400;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    background-color: transparent;
}

.left-header button:hover, 
.right-header button:hover {
    border: 1px solid black;
}

.left-header button:focus, 
.right-header button:focus {
    box-shadow: none;
}


/* footer */
.footer-nav {
    background-color: #c189d7; 
    color: white; 
    width: 100%; 
    height: 150px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    flex-direction: column;
}

.footer-nav a {
    color: inherit;
}

.footer-nav .app-logo .row {
    gap: 25px;
    margin-bottom: 25px;
}

.footer-nav .app-logo img {
    width: 40px;
    height: 40px;
}



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

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

.slide-left {
    animation: slideLeft 0.5s ease-out;
}

.slide-right {
    animation: slideRight 0.55s ease-out;
}

.show-pledges-btn-container {
    position: fixed;
    right: 0%;
    bottom: 0%;
    z-index: 99;
    /* temporary hide ver 3 live pledge */
    display: none;
}

.pledge-container-wrapper {
    z-index: 10;
    position: fixed;
    /* bottom: 5.16vw; */
    bottom: 9%;
    right: 1.75%;
    display: none;
}

.pledge-counter-container {
    position: relative;
    min-height: 7.0vw;
    background-color: #fff;
    margin-bottom: 0.85vw;
    border-radius: 1vw;
    display: flex;
    align-items: center;
}

.pledge-ribbon-left {
    position: absolute;
    left: 1.5%;
    width: 4.95vw;
}

.pledge-counter-first-row-text {
    display: flex;
    flex-direction: row;
    
}

.pledge-live-question-container {
    background-color: white;
    width: 32.5vw;
    height: 33.4vw;
    border-radius: 1vw;
}

.pledge-live-header-container {
    background-color: #8969D6;
    border-top-left-radius: 1vw;
    border-top-right-radius: 1vw;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75vw 0.6vw 0.57vw 1.6vw;
}

.pledge-header-title {
    font-size: 1.25vw;
    letter-spacing: 0.85px;
    display: flex;
    flex-direction: row;
}

.live-tag {
    display: flex;
    flex-direction: row;
    font-weight: 200;
}

.pledge-horizontal-line {
    margin: 0vw 0.55vw 0vw 0.6vw;
    width: 0.95vw;
}

.pledge-horizontal-line hr{
    border-top: 1.4px solid #fff;
    position: relative;
    bottom: 5%;
}

.pledge-live-close-btn {
    border: none;
    background-color: transparent;
    padding: 0vw;
    cursor: pointer;
}

.pledge-live-close-btn:focus {
    outline: none;
}

.pledge-live-close-icon {
    width: 2.2vw;
}

.show-pledges-btn {
    z-index: 5;
    width: 13.3vw;
    cursor: pointer;
}

.pledge-questions-content-container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.no-pledge {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.no-pledge-text {
    text-align: center;
    color: #c5c5c5;
    width: 15.6vw;
    margin-top: 0.5vw;
}

.join-pledge-text {
    color: #8969D6;
    text-decoration: underline;
    cursor: pointer;
}

.pledge-latest-question-content {
    margin: 0.2vw 1.15vw 0vw;
    padding-top: 0.5vw;
    font-size: 0.93vw;
    height: 93%;
    overflow: auto;
    display: block;
    line-height: 1.18;
}

.pledge-question-container {
    padding:0.1vw 1.4vw 1.0vw 1.1vw;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    color: #343434;
    margin-bottom: 0.5vw;
}

.pledge-question-container:nth-of-type(even) {
    background-color: #FAFAFA;
}

.pledge-username {
    color: #8969D6;
    padding: 0;
    font-weight: 700;
    margin-right: 0.25vw;
    width: 20%;
}

.pledge-question-content {
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    width: 80%;
}

.pledge-text {
    color: #8969D6;
    font-weight: 700;
}

.pledge-question-content img {
    margin-left: 1vw;
}

/* Scrollbar width and background */
.pledge-latest-question-content::-webkit-scrollbar {
    width: 4px;
}
  
/* Scrollbar track (background) */
.pledge-latest-question-content::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

/* Scrollbar thumb (scrolling handle) */
.pledge-latest-question-content::-webkit-scrollbar-thumb {
    background-color: #8969D6;
    border-radius: 10px;
}

/* Scrollbar thumb on hover */
.pledge-latest-question-content::-webkit-scrollbar-thumb:hover {
    background-color: #744C93;
}

.pledge-live-question-container-wrapper {
    height: 89.5%;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100.1%;
    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1;
    border-bottom-left-radius: 1vw;
    border-bottom-right-radius: 1vw;
    display: none;
}

.pledge-thanks-container {
    background-color: #FFFFFF;
    font-size: 1vw;
    position: relative;
    top: 5.8%;
    left: 5%;
    width: 90%;
    height: 20.5%;
    border-radius: 1.8vw;
}

.thankyou-text-highlight {
    font-size: 2.7vw;
}

.pledge-thankyou-text {
    position: absolute;
    color: #724a91;
    font-size: 1.5vw;
    font-weight: 700;
    font-style: italic;
    left: 9%;
    top: 13%;
    width: 12.5vw;
    text-align: center;
    line-height: 0.98;
}

.thankyou-pledge-ribbon-left {
    position: absolute;
    left: 0%;
    top: 9.7%;
    width: 3.0vw;
}

.thankyou-pledge-ribbon-right {
    position: absolute;
    right: 0%;
    width: 13.3vw;
    margin-top: 0.9vw;
}

.close-thankyou-btn {
    color: #fff;
    border: 1px solid #fff;
    background-color: transparent;
    position: relative;
    left: 45%;
    top: 8.9%;
    padding: 0.45vw 1vw 0.25vw 0.95vw;
    border-radius: 0.3vw;
}

@media(max-width: 2100px) and (pointer: coarse){
    .home-nav > img {
        width: 17vw !important;
        margin-top: 3vw;
    }
}
