/* 
Theme Name: NAN 3
Theme URI: https://www.lajuguera.cl/
Description: Desarrollo de Trivia para NAN3
Author: H&eacute;ctor Angulo
Author URI: https://www.lajuguera.cl/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
*/


.wof-wheel .wof-title {
    display: none;
}

.box-tamano {
    aspect-ratio: 9/16;
}

.box-pregunta {
	display: flex;
	background-image: url(/wp-content/uploads/2024/04/bg-pregunta.svg);
	background-repeat: no-repeat;
	min-height: 300px;
	flex-direction: column;
	justify-content: center;
	padding: 40px 40px 60px 70px;
	margin-bottom: 20px;
}

.btn-frm {
	transform: skew(10deg);
}
.box-btn-frm {
	position: relative;
}
.box-btn-frm::after {
    content: "Comienza el juego";
    display: block;
    position: absolute;
    font-family: var(--e-global-typography-499eb7e-font-family), Sans-serif;
    font-size: var(--e-global-typography-499eb7e-font-size);
    font-weight: var(--e-global-typography-499eb7e-font-weight);
    text-transform: var(--e-global-typography-499eb7e-text-transform);
    line-height: var(--e-global-typography-499eb7e-line-height);
    letter-spacing: var(--e-global-typography-499eb7e-letter-spacing);
    word-spacing: var(--e-global-typography-499eb7e-word-spacing);
    padding: 15px 35px 15px 35px;
    color: var(--e-global-color-text);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: 100%;
    height: 63px;
    text-align: center;
}


.custom-box {
    max-width: 100%;
    background-color: transparent;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    animation: fadeInBottom 1s ease;
}

@keyframes fadeInRight {
    0% {
        transform: translateX(40px);
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

.custom-box::before,
.custom-box::after {
    content: '';
    display: table;
    clear: both;
}

.custom-box.hide {
    display: none;
}

.home-box h3 {
    font-size: 18px;
    color: black;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 25px;
}

.home-box p {
    font-size: 16px;
    color: black;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 22px;
}


.home-box p span {
    font-weight: 500;
}

.home-box .btn {
    margin-top: 20px;
}

.option:hover {
    box-shadow: 0 0 0 1.5px rgb(0 0 0 / 40%);
    transform: box-shadow, scale(1.1) 200ms ease-in;
}

/*
.btn {
    background-color: #17A4CB;
    padding: 15px 45px;
    border-radius: 10px;
    color: white;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    display: inline-block;
}
*/

.exit-btn {
 background-color: red;
 float: right;
}
.exit-btn:hover {
    box-shadow: 0 0 0 1.5px rgb(0 0 0 / 40%);
    transform: box-shadow 200ms ease-out;
}
.next-btn:hover,
.go-home-btn:hover,
.try-again-btn:hover,
.start-quiz-btn:hover {
    box-shadow: 0 0 0 1.5px rgb(0 0 0 / 40%);
    transform: box-shadow 200ms ease-out;
}

.quiz-box .question-number,
.quiz-box .question-text,
.quiz-box .option-container,
.quiz-box .answers-indicator {
    width: 100%;
    float: left;
    margin: 0 auto;
}

.quiz-box .option-container {
	width: 80%;
	float: none;
}

.quiz-box .next-question-btn, 
.quiz-box .question-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--e-global-color-secondary);
    padding-bottom: 10px;
    line-height: 25px;
    /* border-bottom: 1px solid #cccccc; */
    text-align: center;
}

.quiz-box .question-text {
    font-size: 2.1rem;
    font-weight: 600;
    color: var(--e-global-color-primary);
    line-height: 2.8rem;
    padding: 0 0 20px;
    margin: 0;
    text-align: center;
}

.quiz-box .question-text img {
    max-width: 100%;
    display: block;
    margin-top: 15px;
}

.quiz-box .option-container .option {
    font-size: 1.6rem;
    color: var(--e-global-color-text);
    line-height: 2.2rem;
    padding: 20px 20px 20px 100px;
    background-color: var(--e-global-color-8703894);
    margin-bottom: 25px;
    border-radius: 20px 0;
    cursor: pointer;
    text-transform: none;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
    position: relative;
    overflow: hidden;
	position: relative;
}

.quiz-box .option-container .option:after{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	width: 80px;
	height: 100%;
	color: var(--e-global-color-text);
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 3rem;
	font-weight: 700;
}
.quiz-box .option-container .option:nth-child(1):after{
	content: "A";
}
.quiz-box .option-container .option:nth-child(2):after{
	content: "B";
}
.quiz-box .option-container .option:nth-child(3):after{
	content: "C";
}
.quiz-box .option-container .option:nth-child(4):after{
	content: "D";
}
.quiz-box .option-container .option:nth-child(5):after{
	content: "E";
}
.quiz-box .option-container .option:nth-child(6):after{
	content: "F";
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.quiz-box .option-container .option.correct::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--e-global-color-primary);
    z-index: -1;
    animation: slideInLeft .5s ease forwards;
    opacity: 1;
    background-image: url(/wp-content/uploads/2024/04/correct.png);
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: 97% 80%;
}

.quiz-box .option-container .option.wrong::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--e-global-color-accent);
    z-index: -1;
    animation: slideInLeft .5s ease forwards;
    opacity: 1;
    background-image: url(/wp-content/uploads/2024/04/wrong.png);
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: 97% 80%;
}


table tbody>tr:nth-child(odd)>td,table tbody>tr:nth-child(odd)>th {
    background-color: transparent;
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}

.quiz-box .option-container .option.correct {
    color: var(--e-global-color-text);
}

.quiz-box .option-container .option.wrong {
    color: var(--e-global-color-text);
}

.quiz-box .option-container .option.already-answered {
    pointer-events: none;
}

.quiz-box .btn {
    margin: 20px 0;
}

.quiz-box .answers-indicator {
    /* border-top: 1px solid #cccccc; */
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    margin-top: 30px;
}

.quiz-box .answers-indicator div {
    height: 45px;
    width: 45px;
    display: inline-block;
    background-color: var(--e-global-color-8703894);
    border-radius: 5px;
    margin: 0px 10px;
	position: relative
}

.quiz-box .answers-indicator div:after{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	width: 45px;
	height: 100%;
	color: var(--e-global-color-text);
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 1.2rem;
	font-weight: 700;
}
.quiz-box .answers-indicator div:nth-child(1):after{
	content: "1";
}
.quiz-box .answers-indicator div:nth-child(2):after{
	content: "2";
}
.quiz-box .answers-indicator div:nth-child(3):after{
	content: "3";
}
.quiz-box .answers-indicator div:nth-child(4):after{
	content: "4";
}
.quiz-box .answers-indicator div:nth-child(5):after{
	content: "5";
}
.quiz-box .answers-indicator div:nth-child(6):after{
	content: "6";
}


.quiz-box .answers-indicator div.correct {
    background-color: var(--e-global-color-primary);
    background-image: url("/wp-content/uploads/2024/04/correct.png");
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}

.quiz-box .answers-indicator div.wrong {
    background-color: var(--e-global-color-accent);
    background-image: url("/wp-content/uploads/2024/04/wrong.png");
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}

.quiz-box .answers-indicator div.wrong:nth-child(1):after,
.quiz-box .answers-indicator div.wrong:nth-child(2):after,
.quiz-box .answers-indicator div.wrong:nth-child(3):after,
.quiz-box .answers-indicator div.wrong:nth-child(4):after,
.quiz-box .answers-indicator div.wrong:nth-child(5):after,
.quiz-box .answers-indicator div.wrong:nth-child(6):after,
.quiz-box .answers-indicator div.correct:nth-child(1):after,
.quiz-box .answers-indicator div.correct:nth-child(2):after,
.quiz-box .answers-indicator div.correct:nth-child(3):after,
.quiz-box .answers-indicator div.correct:nth-child(4):after,
.quiz-box .answers-indicator div.correct:nth-child(5):after,
.quiz-box .answers-indicator div.correct:nth-child(6):after {
	color: transparent !important; 
}

.result-box {
    text-align: center;
}

.result-box.hide {
    display: none;
}

.result-box h1 {
    font-size: 4rem;
    line-height: 4.6rem;
    color: #17A4CB;
}

.result-box table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.result-box table td {
    border: 1px solid var(--e-global-color-primary);
    padding: 8px 15px;
    font-weight: 500;
    color: var(--e-global-color-primary);
    text-align: center;
    font-size: 2.8rem;
}

.result-box .btn {
    margin-right: 20px;
}

@media(max-width: 767px) {
    .home-box .btn {
        margin-top: 20px;
        width: 100%;
    }
    .result-box .btn {
        width: 100%;
        margin-bottom: 15px;
    }
    .result-box table {
        margin-left: 5px;
        margin-right: 5px;
    }
    body {
        padding: 5px;
    }
}



@media(max-width: 1024px) and (min-width:768px) {
}

@media(max-width: 1366px) {
}
@media(max-width: 1024px) {
}
@media(max-width: 767px) {
}