/*--------------------------------------------------------------
# Quiz Page
--------------------------------------------------------------*/

.quiz-page{
    height: 100vh;
    width: 100%;
    background: #105fb6;
    font-family: "Dosis", sans-serif;
}

.quiz-page .box{
    background-color: #fff;
    text-align: center;
    border-radius: 12px;
    box-shadow: 10px 10px #ffffff8c;
}

.quiz-page .box .top-box{
    padding: 40px 20px;
    position: relative;
    background: linear-gradient(0deg, rgb(238 180 97) 0%, #f39520 100%);
    border-radius: 12px 12px 0 0;
}

.quiz-page .box .top-box img{
    height: 30px; 
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    max-width: 100%;
}

.quiz-page .box .top-box .domanda{

}

.quiz-page .box .top-box .domanda h2{
    margin-bottom: 0;
    color: #fff;
}

.quiz-page .box .numero-domande{
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #f3952080;
    border-radius: 50%;
    background-color: #fff;
    z-index: 1;
    font-weight: 700;
    font-size: 16px;
}

.quiz-page .box .bottom-box{
    padding: 40px 100px;
}

.quiz-page .box .bottom-box .risposte{

}

.quiz-page .box .bottom-box .risposte .risposta{
    cursor: pointer;
    margin-bottom: 1rem;
}

.quiz-page .box .bottom-box .risposte .risposta:last-child{
    margin-bottom: 0;
}

.quiz-page .box .bottom-box .risposte .risposta p{
    margin-bottom: 0;
    padding: 25px;
    border: 4px solid #f3952080;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 600;
}

.quiz-page .box .bottom-box .risposte .risposta p:hover{
    background: #efefef;
}

.quiz-page .box .bottom-box .risposte .risposta p.esatta{
    background: #57a057;
    border: 4px solid #57a057;
    color: #fff;
    animation: flash .7s infinite;
}

.quiz-page .box .bottom-box .risposte .risposta p.errata{
    background: #bc4f4f;
    border: 4px solid #bc4f4f;
    color: #fff;
    animation: flash .7s infinite;
}

@keyframes flash {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}

.quiz-page .box-quiz-terminato{
    background-color: #fff;
    text-align: center;
    border-radius: 12px;
    box-shadow: 10px 10px #ffffff8c;
    width: 100%;
    padding: 40px;
}


.quiz-page .box-quiz-terminato h2{
    color: #f39520;
    font-weight: 600;
}

.quiz-page .box-quiz-terminato .btn-home{
    background: #f39520;
    width: fit-content;
    display: block;
    color: #fff;
    text-align: center;
    font-family: "Dosis", sans-serif;
    font-weight: 500;
    font-size: 16px;
    padding: 6px 26px;
    border-radius: 999px;
    text-transform: uppercase;
    transition: 0.5s;
    border: 2px solid #f39520;
}

.quiz-page .box-quiz-terminato .btn-home:hover{
    background: #fff;
    color: #f39520;
}

@media (max-width: 991px) {
    .quiz-page .box .bottom-box{
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .quiz-page .box .bottom-box .risposte .risposta p{
        padding: 10px;
        font-size: 14px;
    }
    
    .quiz-page .box .top-box .domanda h2{
        font-size: 1.2rem;
    }
}  