@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700&family=Maven+Pro:wght@400..900&display=swap');

body {
    min-height: 100vh;
    margin: 0;
    background: white;
    font-family: 'Maven Pro', sans-serif;
}

header {
    padding: 32px 40px 0 40px;
    text-align: center;
}

*[data-source-element=true] {
    min-height: 50px;
}

#quiz-name {
    text-align: center;
    color: black;
    font-weight: normal;
    font-size: 2.3rem;
}

#logo {
    width: 200px;
    margin: 30px auto 5px;
}

#logo img {
    width: 100%;
    height: auto;
}

#loading_text {
    text-align: center;
    color: black;
    font-weight: normal;
}

#page_background_color,
#page,
#_ugvdgxzq0 {
    min-height: 100vH;
}

.progress-container {
    position: relative;
    width: 50%;
    display: flex;
    align-items: center;
    margin: 10px auto 0;
    padding: 1rem 0;
}

#progress_bar {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: #F6DF96;
    border-radius: 6px;
}

#progress_bar .bar {
    position: absolute;
    border-radius: 6px;

    top: 0;
    left: 0;
    height: 12px;
    background: #C9A227;
}

.progress-container .indicator {
    padding: 10px 20px;
}

.progress-container .indicator #count {
    color: #C9A227;
    font-weight: bold;
}

#quiz {
    display: block;
    position: relative;
    width: 95%;
    margin: 0px auto;
}

#title {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0.4px;
    font-size: 3rem;
    margin: 0;
    margin-bottom: 48px;
    color: #202020;
}

.subtitle-container {
    display: flex;
    margin: 0;
    justify-content: center;
    padding: 0;
}

#subtitle {
    font-size: 18px;
    font-family: 'Maven Pro', sans-serif;
    font-weight: 700;
    text-align: center;
    color: #4B4B4B;
    display: none;
}

div.loading {
    height: calc(100% + 30px);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
}

.answer-row {
    display: flex;
    flex-direction: column;
    /* Stack answers vertically */
    align-items: center;
    /* Center the answers horizontally */
    width: 78.5%;
    margin: 0 auto;
    padding: 3px 0 1rem 0;
}

.answer {
    flex-basis: 100%;
    width: 80%;
    margin: 13px 0;
    display: flex;
    gap: 18px;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
    box-sizing: border-box;
    border: 1px solid #C9A227;
    border-radius: 13px;
    padding: 20px 25px;
    color: #393939;
}

.answer.selected {
    border: 2px solid #C9A227;
}

.answer img {
    object-fit: cover;
    margin-right: 15px;
    height: 60px;
    width: auto;
    border-radius: 13px;
}

.answer span {
    font-family: 'Maven Pro', sans-serif;
    font-weight: 600;
    font-size: 17px;
    padding: 12px 0;
    letter-spacing: 0.3px;
}

.answer:last-child {
    margin-bottom: 104px;
}

.answer .leading-container {
    width: 20px;
    height: 20px;
    aspect-ratio: 1;
    border: 1px solid #c9a327b7;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
}

.leading-container .leading-number {
    padding: 0;
    line-height: normal;
    margin: auto;
}

.border-active img {
    border: 3px solid #E00143;
    /* border will now only apply to the image */
}

.custom-input-container {
    text-align: center;
    margin-top: 20px;
}

.custom-input {
    width: 100%;
    padding: 10px;
    background-color: #fff;
    font-size: 16px;
    font-weight: normal;
    border: none;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.confirm-button-container {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 20px;
    z-index: 100;

    box-shadow: 0 -10px 10px -10px #2028320d;
    background: white;
    text-align: center;
}

.confirm-button {
    display: block;
    max-width: 328px;
    width: 100%;
    margin: 0 auto;
    padding: 15px 80px;
    text-transform: uppercase;

    color: #fff;
    background: #F6DF96;
    border: 1px none #fff;
    border-radius: 188px;

    font-weight: 500;
    font-size: 23px;

    cursor: pointer;
    transition: background-color 0.3s ease;
    /* Add box shadow for a subtle 3D effect */
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.confirm-button:hover {
    background-color: #f6e096c2;
    /* Darken the color on hover */
}

.testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 104px;
}

.testimonial img {
    object-fit: cover;
    height: 240px;
    width: auto;
    border-radius: 13px;
}

.testimonial p {
    text-align: center;
    color: #3b3b3b;
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 1px;
}

.testimonial button {
    display: flex;
    flex-direction: column;
    /* Stack answers vertically */
    align-items: center;
    /* Center the answers horizontally */
    width: 128px;
    margin: 0 auto;
    padding: 1rem 0;
}

.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slider-container input[type="text"] {
    width: 168px;
    height: 40px;
    padding: 10px;
    margin: 20px 0;

    border: none;
    border-bottom: 2px solid #ccc;

    font-size: 48px;
    font-weight: 600;
    text-align: center;
    transition: border-color 0.3s ease;
}

.slider-container input[type="text"]:focus {
    outline: none;
    border-color: rgb(246, 223, 150);
}

.slider-container>img {
    object-fit: contain;
    height: 256px;
    width: auto;
    border-radius: 13px;
}

.slider {
    width: 480px;
    margin: 20px 0;
    padding: 20px;
    accent-color: black;
    background: white;

    outline: none;
    border: 1px solid rgb(246, 223, 150, 0.9);
}

.input-container {
    position: relative;
}

.input-container input[type="text"] {
    width: 168px;
    height: 40px;
    padding: 10px;
    margin: 20px 0;

    border: none;
    border-bottom: 2px solid #ccc;

    font-size: 48px;
    font-weight: 600;
    text-align: center;
    transition: border-color 0.3s ease;
}

.input-container input[type="text"]:focus {
    outline: none;
    border-color: rgb(246, 223, 150);
}

.suffix {
    position: absolute;
    transform: translateY(46px);

    right: 10px;
    color: #555;
    font-size: 20px;
    font-weight: 500;
}

.checkbox-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    vertical-align: middle;
    border: 1px solid #ddd;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    pointer-events: none;
}

input[type="checkbox"]:checked {
    background-color: rgb(247, 85, 154);
    border: none;
}

input[type="checkbox"]+label {
    display: none;
}

input[type="checkbox"]:checked+label {
    display: block;
    position: absolute;
    z-index: 100;

    font-size: 14px;
    color: white;
}

@keyframes blinkingEffect {

    0%,
    33% {
        border-color: #F6DF96;
    }

    16.5%,
    49.5% {
        border-color: transparent;
    }

    66%,
    99% {
        border-color: #F6DF96;
    }

    82.5%,
    100% {
        border-color: transparent;
    }
}

.blinking-border {
    background: rgb(246, 223, 150, 0.2);
    animation: blinkingEffect 495ms 1;
    /* Now it will blink three times within 495ms */
    border: 3px solid #F6DF96;
}

@keyframes tilt-shaking {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(2deg);
    }

    50% {
        transform: rotate(0eg);
    }

    75% {
        transform: rotate(-2deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.shaking {
    animation: tilt-shaking 100ms 3;
}


.answer-row {
    transition: all 400ms ease-out;
    position: relative;
    left: 0;
    transform: translateX(-50%);
}




/* MEDIA QUERY */

@media only screen and (max-width: 768px) {
    .answer-row {
        margin-top: 20px;
        width: 100%;
    }

    .answer {
        flex-basis: 100%;
        /* No changes required for mobile as it's already set to 100% width */
        width: 80%;
    }

    #quiz {
        margin-top: 65px;
        margin-bottom: 0;
    }

    #_ugvdgxzq0 {
        padding-top: 0 !important;
    }

    .exit-button {
        width: 100%;
        /* Make the button full width on mobile */
        padding: 15px 0;
        /* Adjust padding for mobile */
    }
}

@media only screen and (max-width: 568px) {
    header {
        padding: 15px 0 0;
    }

    header img {
        height: 28px;
    }

    #quiz-name {
        font-size: 1.3rem;
        margin-top: 0;
    }

    .answer-row {
        width: 100%;
        padding-bottom: 150px;
    }

    .slider-container img {
        height: 200px;
    }

    .answer,
    .progress-container {
        flex-basis: 100%;
        /* No changes required for smaller screens as it's already set to 100% width */
        width: 95%;
        margin: 0 auto 19px auto;
        padding-top: 0;
        /* Adjust vertical spacing; removed left and right margins */
    }

    #title {
        font-size: 1.7rem;
        line-height: 2.1rem;
        padding-left: 10px;
        padding-right: 10px;
    }

    #subtitle {
        font-size: 1rem;
        padding-left: 10px;
        padding-right: 10px;
        line-height: 1.4rem;
        width: 90%;
    }

    .testimonial p {
        font-size: 16px;
    }

    #quiz {
        margin-top: 25px;
    }

    .answer {
        padding: 13px 22px;
    }

    .answer span {
        padding-right: 10px;
        line-height: 1.5rem;
        font-size: 17px;
    }

    .confirm-button-container {
        padding: 0;
    }

    .confirm-button {
        max-width: 100%;
        border-radius: 0;
        font-size: 22px;
        padding: 26px;
        font-weight: 600;
    }
}


@media only screen and (min-width: 978px) {
    #quiz {
        width: 95% !important;
    }

    .answer {
        flex-basis: 100%;
        /* No changes required for smaller screens as it's already set to 100% width */
        width: 80%;
    }
}

@media only screen and (min-width: 1200px) {
    #title {
        font-size: 1.9rem;
        line-height: 3rem;
    }

    #quiz,
    footer {
        width: 60% !important;
    }

    .answer {
        flex-basis: 100%;
        /* No changes required for smaller screens as it's already set to 100% width */
        width: 80%;
    }
}


@media only screen and (min-width: 1600px) {
    .answer {
        flex-basis: 100%;
        /* No changes required for smaller screens as it's already set to 100% width */
        max-width: 480px;
    }
}



/* footer */
footer {
    font-size: 0.7rem;
    margin-bottom: 10px;
    width: 80%;
}

.disclaimer {
    display: block;
    margin-top: 500px;
}

.disclaimer,
.copyright,
.thirdparty p {
    color: rgba(255, 255, 255, 0.32);
    font-family: "Arial", serif;
    text-align: center;
}

.thirdparty p {
    margin-top: 15px;
}