/* Start Quiz Style */
.quiz-section {
    float: left;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    display: flex;
    flex-flow: row wrap;
    overflow-y: scroll;
    overflow-x: hidden;
    display: none;
}
.modal-quite {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 100%;
    position: absolute;
    top: 10px;
    right: 10px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.modal-quite:before,
.modal-quite:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 3px;
    background-color: #f28652;
    transform: translate(-50%, -50%) rotate(45deg);
}
.modal-quite:before {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.quiz-section::-webkit-scrollbar {
    width: 0;
    height: 0;
    opacity: 0;
}
.quiz-wrap {
    float: left;
    width: 100%;
    margin-top: -6vh;
    height: 100%;
    display: flex;
    align-items: center;
}

.quiz-wrap .wrapper {
    max-width: 520px;
    width: 100%;
    background-color: #ffffff;
    padding: 0;
    padding-inline: 1.5rem;
    position: relative;
}
#quiz-intro-page .wrapper {
    padding-inline: 0;
}
.quiz-inner {
    width: 100%;
    overflow: hidden;
}
div#quiz-main .quiz-inner {
    padding: 30px 0 0;
}
#quiz-intro-page .quiz-inner {
    display: block;
}
div#quiz-main {
    display: flex;
    align-items: center;
    display: none;
    padding-top: 0;
    margin-top: 1vh;
}
.flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.quiz-intro-thumb {
    width: 100%;
    display: flex;
    justify-content: center;
}
.quiz-intro-thumb figure {
    width: 80%;
}
.quiz-intro-thumb figure img {
    width: 100%;
}
.quiz-intro-content {
    width: 100%;
    padding: 2vh 32px 4vh;
}
.quiz-wrap h3 {
    color: #000;
    max-width: 24ch;
    font-family: 'Playfair Display', serif;
}
.quiz-intro-content h3 {
    margin-bottom: 28px;
    font-size: 36px;
}
.quiz-intro-content p {
    color: #000;
    font-family: 'Montserrat', serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 22.4px;
}

.quiz-btn {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    row-gap: 7px;
    margin-top: 26px;
}

.btn {
    padding: 12px 10px;
    text-align: center;
    background-color: #f28652;
    color: #ffffff;
    width: 100%;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 17.6px;
}
.secondary-btn {
    background-color: #ff9588;
}

.quiz-header {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 15px 0;
}
.quiz-header a {
    max-width: 130px;
    width: 100%;
}
.quiz-container-wrap {
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 20vh);
    display: none;
    padding-top: 2vh;
    position: relative;
}
.quiz-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: row wrap;
    position: absolute;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}
#quiz-main .wrapper {
    max-width: 65vh;
}
.quiz-content {
    width: 100%;
}
.quiz-content h6 {
    color: #f28652;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 22.4px;
}
.quiz-content h3 {
    min-height: 100px;
    margin-bottom: 1rem;
    font-size: 30px;
}
.quiz-content p {
    color: #000;
    font-family: 'Montserrat', serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22.4px;
}
.quiz-container-inner {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    align-content: space-between;
    height: 100%;
}
.quiz-option-wrap {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin-top: 44px;
    margin-top: 2rem;
}

.quiz-option input {
    opacity: 0;
    visibility: hidden;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
}
.quiz-option label {
    width: 100%;
    min-height: 60px;
    height: 100%;
    padding: 10px;
    border: 1px solid #f28652;
    transition: 0.3s ease-in-out;
    color: #000;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}
.quiz-option input[type='radio']:checked + label {
    background-color: #f28652;
    color: #ffffff;
}
.quiz-option label:hover {
    background-color: #f28652;
    color: #ffffff;
}

.quiz-trigger {
    width: 100%;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
}
.quiz-trigger a {
    color: #000;
    font-family: 'Montserrat', serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 22.4px;
    padding-left: 8px;
    position: relative;
}
.quiz-trigger a:before {
    position: absolute;
    top: 7px;
    left: 0;
    content: '';
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: url(./svgs/arrow-left.svg);
    width: 5px;
    height: 10px;
}
.quiz-trigger a.quiz-next:before {
    display: none;
}
.quiz-trigger a.quiz-next {
    padding-left: 0;
    padding-right: 10px;
    display: flex;
    align-items: center;
    column-gap: 10px;
    font-size: 18px;
    line-height: 1.6;
    color: #ff9588; /* font-family: Catamaran; */
}

.quiz-thumb {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.quiz-container {
    background-color: #ffffff;
}
.quiz-container.quiz-active {
    transform: translateX(0);
    z-index: 9;
}
.quiz-container.quiz-next-active {
    transform: translateX(-100%);
}

.quiz-finished .quiz-content h3 {
    min-height: auto;
    margin-bottom: 11px;
}
.quiz-finished .quiz-content h6 {
    color: #000;
    font-family: 'Montserrat', serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22.4px;
    margin-bottom: 32px;
}
.quiz-finished .quiz-content h4 {
    color: #39719a;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 34.56px;
    margin-bottom: 16px;
}
.quiz-finished .quiz-content p {
    color: #000;
    font-family: 'Montserrat', serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.2;
    max-width: 100%;
}
.quiz-finished .quiz-btn {
    margin-top: 22px;
}
.quiz-finished .quiz-trigger {
    margin-top: 45px;
}
.quiz-container::-webkit-scrollbar {
    width: 0;
    height: 0;
    opacity: 0;
}


.quiz-email { display: flex; flex-direction: column; margin-top: 1.5rem; display: none;}
.quiz-email form{ display: flex; flex-direction: column; gap: 1rem; }
.quiz-email input {width: 100%; height: 40px; border-radius: 6px; padding: 5px 10px; background: transparent; border: 1px solid #f28652; color: #000000; font-size: 16px; font-weight: 400; line-height: 1.2; outline: none; font-family: 'Montserrat';}
.quiz-email input[type="submit"] { background: #ff9588; font-weight: 500; text-transform: uppercase; color: #ffffff; cursor: pointer;}
.quiz-email input::placeholder{color: #f28652;}
.quiz-btn a.btn {
    font-weight: 500;
    text-transform: uppercase;
    color: #ffffff;
    cursor: pointer;
    font-family: 'Montserrat';
    border-radius: 6px;
}
/* End Quiz Style */

@media only screen and (max-width: 500px) {
    .btn {
        font-size: 14px;
        line-height: 1.1;
    }
    .quiz-option label {
        font-size: 14px;
        line-height: 1.1;
    }
    .quiz-container {
        max-height: 100vh;
        overflow: hidden;
        overflow-y: scroll;
    }

    .quiz-intro-content h3 {
        margin-bottom: 1.5rem;
        font-size: 26px;
    }
    .quiz-wrap {
        float: left;
        width: 100%;
        margin-top: -15vh;
    }
    .quiz-intro-content {
        width: 100%;
        padding: 2vh 1rem 2vh;
    }
    .quiz-intro-thumb figure {
        width: 90%;
    }
    div#quiz-main .quiz-inner {
        padding: 0;
    }
    div#quiz-main {
        margin-top: 0;
    }
    div#quiz-main .quiz-inner {
        padding: 0;
    }
    .quiz-container-wrap {
        min-height: calc(100vh - 90px);
    }
    div#quiz-main {
        padding-top: 0;
    }
    .quiz-content h3 {
        min-height: auto;
    }
    .quiz-section {
        background-color: #ffffff;
    }
}
