html, body, pre, code, kbd, samp, input, button, select, option, textarea {
    font-family: var(--font-theme-1);
    font-weight: var(--font-regular);
    font-style: normal;
}
p {
    line-height: 165%;
    margin: 0px 0 1vw 0;
}
p a {
    text-decoration: underline;
}
p a:hover {
    text-decoration: none;
}
strong {
    font-weight: var(--font-semibold);
}
a {
    text-decoration: none;
    outline: none;
    cursor: pointer;
    color: var(--color-black);
    transition: var(--transition-all);
}
button, a, input[type="button"], .btn {
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-theme-1);
    font-size: 100%;
    line-height: 120%;
    font-weight: var(--font-regular);
    color: var(--color-black);
}
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus, select:-webkit-autofill, select:-webkit-autofill:hover, select:-webkit-autofill:focus {
    border: 2px solid #fff;
    -webkit-text-fill-color: #000;
    -webkit-box-shadow: 0 0 0px 0 #000 inset;
    transition: background-color 5000s ease-in-out 0s;
    color: #000;
    background-color: transparent;
    font-size: 100%;
}
input::placeholder {
    color: #000;
    opacity: 0.6;
}
/*Theme CSS*/
html {
    background-color: transparent !important;
}
html, body {
    background-color: var(--color-theme-1);
    font-size: 17px;
    color: var(--color-black);
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
    position: fixed;
    overflow-x: hidden;
    overflow: hidden;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateZ(0);
}
.main-wrapper {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.bg-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}
.intro-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    user-select: none;
    transition: 0.3s opacity ease-in;
}
.bg-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 94%;
    height: 3vw;
    background-repeat: repeat-x;
    background-image: url("../images/bg-h.png");
    background-position: center center;
    background-size: 9%;
    z-index: 2;
}
.bg-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 94%;
    height: 3vw;
    background-repeat: repeat-x;
    background-image: url("../images/bg-h.png");
    background-position: center center;
    background-size: 9%;
    z-index: 2;
}
.bg-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 3.5vw;
    height: 100%;
    background-repeat: repeat-y;
    background-image: url("../images/bg-v.png");
    background-position: center center;
    background-size: 100%;
    z-index: 3;
}
.bg-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 3.5vw;
    height: 100%;
    background-repeat: repeat-y;
    background-image: url("../images/bg-v.png");
    background-position: center center;
    background-size: 100%;
    z-index: 3;
}
.bg-border {
    z-index: 1;
    border: 6px solid #ffdf09;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 93%;
    height: 87%;
    background-color: rgba(0, 0, 0, 0);
    transition: 0.1s background ease-in;
}
.intro-card {
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    text-align: center;
    column-gap: 3vw;
}
.intro-headline {
    height: 25vh;
}
.intro-img {
    height: 55vh;
}
.intro-headline img, .intro-img img {
    height: 100%;
    width: auto;
    max-width: inherit;
}
.intro-des {
    font-size: 120%;
    padding: 2vw 0 0 0;
}
.intro-des p {
    line-height: 130%;
    padding: 0;
    margin: 0 0 10px 0;
}
.intro-des p:last-child {
    margin: 0;
}
/*.btn {
    position: relative;
    background-color: #000;
    border: 0;
    appearance: none;
    color: #fff;
    cursor: pointer;
    line-height: 100%;
    padding: 1vw 2vw;
    border-radius: 2vw;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0px 0.3vw #ffdf09;
    overflow: hidden;
    font-size: 120%;
}*/
.btn {
    position: relative;
    background-color: #000;
    border: 0;
    appearance: none;
    color: var(--color-theme-3);
    cursor: pointer;
    line-height: 100%;
    padding: 1.2vw 3vw;
    border-radius: 3vw;
    font-weight: 500;
    letter-spacing: 1px;
    box-shadow: 0px 0.5vw #ffdf09;
    overflow: hidden;
    font-size: 140%;
}
.btn:hover {
    color: var(--color-theme-2);
}
.btn.btn-sm {
    border-radius: 40px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0px 4px #ffdf09;
    font-size: 90%;
    height: 46px;
    padding: 0px 20px;
}
.btn::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--shine-effect);
}
.btn-hover::before {
    left: -100%;
    transition: var(--shine-transition);
}
.btn-hover:hover {
    box-shadow: var(--btn-shadow);
}
.score-screen .btn.btn-hover:hover {
    box-shadow: var(--btn-shadow-1);
}
.btn-hover:hover::before {
    left: 100%;
}
.btn-anim::before {
    -webkit-animation: shine 5s ease-in-out infinite;
    animation: shine 5s ease-in-out infinite;
}
@-webkit-keyframes shine {
    0% {
        left: -100%;
        transition-property: left;
    }
    10%, 100% {
        left: 100%;
        transition-property: left;
    }
}
@keyframes shine {
    0% {
        left: -100%;
        transition-property: left;
    }
    10%, 100% {
        left: 100%;
        transition-property: left;
    }
}
/*Cards*/
.cards-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.cards-container {
    position: relative;
    width: 50vh;
    aspect-ratio: 1/1.6;
    z-index: 1;
    display: flex;
    align-items: center;
}
.frame {
    position: absolute;
    width: 100%;
    height: 100%;
}
.card {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #ffedce;
    user-select: none;
    cursor: pointer;
    overflow: hidden;
    touch-action: none;
    border-radius: 2rem;
    border: 4px solid #c15227;
    z-index: 2; 
}
.frame-active .card{
    transition: 1s transform ease-in-out; 
}
.frame-active .card:nth-child(1){
    transform: rotate(2deg);
     
}
.frame-active .card:nth-child(2){
    transform-origin: bottom;
    transform: rotate(-2deg);
}
.card-question {
    padding: 6% 5%;
}
.card-question h3 {
    font-size: 140%;
    line-height: 130%;
    font-weight: 500;
    display: block;
    text-align: center;
}
.card-img {
    position: absolute;
    bottom: 10vh;
    border-radius: 0 0 2rem 2rem;
    overflow: hidden;
    border-bottom: 4px solid #c15227;
    z-index: 2;
    background-color: #ffedce;
}
.card-img img {
    width: 100%;
    height: auto;
    max-width: inherit;
}
.card-options {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10vh;
    display: flex;
    flex-direction: row;
    font-size: 110%;
    line-height: 110%;
}
.card-options .option {
    width: 50%;
    padding: 1vw;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s all ease-in;
}
.card-options .option:hover {
    color: var(--color-theme-3);
}
.card-options .option span {
    display: block;
}
.card-options .option:nth-child(1) {
    border-right: 2px solid #c15227;
}
.card-options .option:nth-child(2) {
    border-left: 2px solid #c15227;
}
.card-options .option:nth-child(1)::before {
    position: absolute;
    content: '';
    width: 101%;
    height: 140%;
    bottom: 0%;
    left: 0;
    background-color: #c15227;
    opacity: 0;
    transition: 0.2s all ease-in;
}
.card-options .option:nth-child(2)::before {
    position: absolute;
    content: '';
    width: 101%;
    height: 140%;
    bottom: 0%;
    right: 0;
    background-color: #c15227;
    opacity: 0;
    transition: 0.2s all ease-in;
}
.card-options .option:hover::before {
    opacity: 1;
}
.card.swipe-left .card-options .option:nth-child(1)::before {
    opacity: 1;
}
.card.swipe-left .card-options .option:nth-child(1) {
    color: var(--color-theme-3);
}
.card.swipe-right .card-options .option:nth-child(2)::before {
    opacity: 1;
}
.card.swipe-right .card-options .option:nth-child(2) {
    color: var(--color-theme-3);
}
.cards-wrapper {
    opacity: 0;
    transition: 0.3s opacity ease-in;
    pointer-events: none;
}
#totalValue {
    position: absolute;
    z-index: 10;
    top: 100px;
    left: -200px;
    width: 50px;
}
.score-screen {
    z-index: 4;
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0px solid #fff;
    text-align: center;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
}
.score-screen .score-screen-top {
    position: absolute;
    top: 0vw;
    left: 0;
    width: 100%;
    z-index: 1;
}
.score-screen h2 {
    font-size: 160%;
    line-height: 120%;
}
.score-screen .score-value {
    font-size: 350%;
    line-height: 90%;
    font-weight: 500;
}
.score-screen .score-text {
    padding-top: 1.5vh;
}
.score-screen .score-text h3 {
    font-size: 150%;
    line-height: 120%;
    padding-bottom: 1vh;
}
.score-screen .score-text p {
    line-height: 125%;
    margin: 0;
    padding: 0;
    font-style: italic;
}
.score-screen .score-img {
    padding: 2vh 5vh;
}
.score-screen .score-img img {
    width: 100%;
    height: auto;
    max-width: inherit;
}
.score-screen .btns {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-direction: row;
    align-items: center;
}
.score-screen .btn {
    width: 100px;
    width: 165px;
}
.user-form {
    width: 100%;
    position: relative;
    padding-bottom: 1.5vh;
}
.user-form input[type="text"] {
    background: rgba(0, 0, 0, 0);
    border: 2px solid #000;
    color: #000;
    height: 48px;
    width: 100%;
    padding: 0px 15px 0px 15px;
    font-weight: 500;
    border-radius: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0px 4px #ffdf09;
}
.user-form input[type="submit"] {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #000;
    height: 48px;
    text-align: center;
    border: 0px solid #fff;
    border-radius: 50px;
    color: var(--color-theme-3);
    padding: 0px 15px;
    z-index: 1;
    font-size: 90%;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease-in;
}
.user-form input[type="submit"]:hover {
    color: var(--color-theme-2);
}
#message {
    display: block;
    text-align: left;
    padding: 10px 15px 0 15px;
    font-size: 80%;
    font-weight: 400;
    height: 30px;
}
.your-questions {
    z-index: 5;
    position: absolute;
    width: 106%;
    left: -3%;
    height: 100%;
    border: 0px solid #fff;
    text-align: left;
    display: flex;
    flex-direction: column;
    overflow: auto;
    overflow-x: hidden;
    font-size: 90%;
    padding-right: 2vh;
    pointer-events: none;
    opacity: 0;
}
.question-block {
    display: flex;
    flex-direction: row;
    background-color: var(--color-theme-3);
    margin-bottom: 2vh;
    border-radius: 1rem;
    flex-shrink: 0;
    line-height: 120%;
    border: 2px solid #000000;
    box-shadow: 0px 2px #000;
}
.question-block .question-text {
    width: 65%;
    padding: 2vh 1.5vh;
    border-right: 1px solid #000000;
}
.question-block .question-options {
    padding: 2vh 1.5vh;
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-left: 1px solid #000000;
}
.option.option-value-0 {
    display: none;
}
.option.option-value-1 {
    display: block;
}
.close-modal {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    width: 25px;
    height: 25px;
    z-index: 100;
    cursor: pointer;
    opacity: 0.7;
}
.close-modal::before, .close-modal::after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 28px;
    width: 2px;
    background-color: var(--color-black);
    transition: 0.2s all ease-in;
}
.close-modal::before {
    transform: rotate(45deg);
}
.close-modal::after {
    transform: rotate(-45deg);
}
.close-modal:hover::before, .close-modal:hover::after {
    background-color: #c15127;
}
#closeAnsModal.close-modal {
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    transition: 0.2s opacity ease-in;
}
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: 101;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: 0.2s opacity ease-in;
}
.modal-wrapper.is-active#modalPreview {
    pointer-events: all;
    opacity: 1;
}
.prev-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.prev-card {
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 360px;
    height: auto;
    background-color: #f7a554;
    padding: 5px;
}
/*.prev-card {
    text-align: center;
    position: relative; 
    height: 85vh;
    max-height: 640px;
    width: auto;
}*/
/*.card-frame {
    background-color: #f7a554;
    height: 85vh;
    max-height: 640px;
    width: auto;
    padding: 5px;
    position: relative;
}*/
.card-frame img.is-frame {
    height: 100%;
    width: 100%;
    max-width: max-content;
}
.card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
/***********/
.card-screen-top {
    padding: 60px 60px 0px 60px;
    position: absolute;
    width: 100%;
}
.prev-card .card-logo {
    width: 70px;
    height: auto;
    margin: 0 auto;
    margin-bottom: 10px;
}
.prev-card .card-logo svg {
    width: 100%;
    height: auto;
    vertical-align: middle;
}
.prev-card h2 {
    font-size: 150%;
    line-height: 120%;
}
.prev-card h2 span {
    display: block;
}
.prev-card .score-value {
    font-size: 350%;
    line-height: 90%;
    font-weight: 500;
}
.prev-card .score-text {
    padding-top: 1.5vh;
}
.prev-card .score-text h3 {
    font-size: 140%;
    line-height: 120%;
    padding-bottom: 10px;
}
.prev-card .score-text p {
    line-height: 125%;
    margin: 0;
    padding: 0;
    font-style: italic;
}
.prev-card .score-img {
    padding: 0px 60px 70px 60px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
}
.score-grade-3 .prev-card .score-img {
    padding: 0px 70px 60px 70px;
}
.prev-card .score-img img {
    width: 100%;
    height: auto;
    max-width: inherit;
}
/***********/
.card-action-btns {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 30px;
    padding-top: 10px;
}
.card-action-btns .btn {
    display: inline-block;
    width: 120px;
    text-align: center;
    padding: 0;
    height: 40px;
    line-height: 40px;
}
#screenshot {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
}
#screenshot canvas {
    display: block;
}
.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: '';
    width: 100vw;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: 0.2s opacity ease-in;
}
body.is-modal {
    background-color: var(--color-black);
}
body.is-modal .backdrop {
    opacity: 1;
    pointer-events: all;
}
/*Conditions*/
body.is-start .intro-wrapper {
    opacity: 0;
    pointer-events: none;
}
body.is-start .cards-wrapper {
    opacity: 1;
    pointer-events: all;
}
body.is-score .bg-border {
    background-color: var(--color-theme-3);
}
body.is-score .score-screen {
    opacity: 1;
    pointer-events: all;
}
body.is-answers .cards-container {
    align-items: flex-end;
}
body.is-answers .your-questions {
    opacity: 1;
    pointer-events: all;
    height: 90%;
}
body.is-answers .bg-border {
    background-color: var(--color-theme-3);
}
body.is-answers #closeAnsModal.close-modal {
    opacity: 1;
    pointer-events: all;
}
body.is-answers .question-block.value-0 {
    border: 2px solid #eb2207;
    box-shadow: 0px 2px #eb2207;
}
body.is-answers .question-block.value-0 .question-text {
    border-right: 1px solid #eb2207;
}
body.is-answers .question-block.value-0 .question-options {
    border-left: 1px solid #eb2207;
}
body.is-answers .question-block.value-1 {
    border: 2px solid #5b9620;
    box-shadow: 0px 2px #5b9620;
}
body.is-answers .question-block.value-1 .question-text {
    border-right: 1px solid #5b9620;
}
body.is-answers .question-block.value-1 .question-options {
    border-left: 1px solid #5b9620;
}
.score-text .text-item {
    display: none;
}
.score-img img {
    display: none;
}
body.score-grade-1 .score-text .text-item:nth-child(1), body.score-grade-1 .score-img img:nth-child(1) {
    display: block;
}
body.score-grade-2 .score-text .text-item:nth-child(2), body.score-grade-2 .score-img img:nth-child(2) {
    display: block;
}
body.score-grade-3 .score-text .text-item:nth-child(3), body.score-grade-3 .score-img img:nth-child(3) {
    display: block;
}
body.score-grade-4 .score-text .text-item:nth-child(4), body.score-grade-4 .score-img img:nth-child(4) {
    display: block;
}
body.score-grade-5 .score-text .text-item:nth-child(5), body.score-grade-5 .score-img img:nth-child(5) {
    display: block;
}
/*Console*/

/**/
 svg#icon-swipe{
    width: 72px;
    height: 35px;
    position: absolute;
    z-index: 90;
    left: 50%;
    bottom: -54px;
    transform: translateX(-50%);
    pointer-events: none;
    display: none;
}
@media screen and (max-width: 1024px) {
    svg#icon-swipe{
        display: block;
    }  
}
.is-answers svg#icon-swipe,
.is-score svg#icon-swipe{
    display: none !important;
}
svg#icon-swipe #hand {
  fill: #c15227;
  transform-origin: 50% 100%;
  -webkit-animation: hand-swipe 3.5s infinite ease;
          animation: hand-swipe 3.5s infinite ease;
}
svg#icon-swipe #left, svg#icon-swipe #right {
  fill: #000;
  opacity: 0;
}
svg#icon-swipe #right {
  -webkit-animation: arrow-right 3.5s infinite ease;
          animation: arrow-right 3.5s infinite ease;
}
svg#icon-swipe #left {
  -webkit-animation: arrow-left 3.5s infinite ease;
          animation: arrow-left 3.5s infinite ease;
}

@-webkit-keyframes hand-swipe {
  5% {
    transform: translateX(3px) rotate(6deg);
  }
  25% {
    transform: translateX(0px) rotate(0deg);
  }
  28% {
    transform: translateX(0px) rotate(0deg);
  }
  33% {
    transform: translateX(-3px) rotate(-6deg);
  }
  53% {
    transform: translateX(0px) rotate(0deg);
  }
  100% {
    transform: translateX(0px) rotate(0deg);
  }
}

@keyframes hand-swipe {
  5% {
    transform: translateX(3px) rotate(6deg);
  }
  25% {
    transform: translateX(0px) rotate(0deg);
  }
  28% {
    transform: translateX(0px) rotate(0deg);
  }
  33% {
    transform: translateX(-3px) rotate(-6deg);
  }
  53% {
    transform: translateX(0px) rotate(0deg);
  }
  100% {
    transform: translateX(0px) rotate(0deg);
  }
}
@-webkit-keyframes arrow-right {
  7% {
    transform: translateX(8px);
    opacity: 1;
  }
  17% {
    transform: translateX(10px);
    opacity: 0;
  }
  18%, 100% {
    transform: translateX(0);
    opacity: 0;
  }
}
@keyframes arrow-right {
  7% {
    transform: translateX(8px);
    opacity: 1;
  }
  17% {
    transform: translateX(10px);
    opacity: 0;
  }
  18%, 100% {
    transform: translateX(0);
    opacity: 0;
  }
}
@-webkit-keyframes arrow-left {
  0%, 30% {
    transform: translateX(0);
    opacity: 0;
  }
  37% {
    transform: translateX(-8px);
    opacity: 1;
  }
  47% {
    transform: translateX(-10px);
    opacity: 0;
  }
  48%, 100% {
    transform: translateX(0);
    opacity: 0;
  }
}
@keyframes arrow-left {
  0%, 30% {
    transform: translateX(0);
    opacity: 0;
  }
  37% {
    transform: translateX(-8px);
    opacity: 1;
  }
  47% {
    transform: translateX(-10px);
    opacity: 0;
  }
  48%, 100% {
    transform: translateX(0);
    opacity: 0;
  }
}




