body{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    user-select: none;

    background: url('./img/bg.png');
    background-repeat: no-repeat;
    background-size: cover;
}


.start-btn,.quiz-box,.result_box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.quiz-box.activeQuiz,.result_box.activeResult{
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.start-btn button{
    width: 200px; 
    height: 80px; 
    background-color: #FFB800; 
    border-radius: 20px; 
    font-size: 30px; 
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2),
                0 6px 20px rgba(0,0,0,0.19);
}

.start-btn button:hover{
    width: 200px; 
    height: 80px; 
    background-color: #FFB800; 
    border-radius: 20px; 
    font-size: 30px; 
    font-weight: 500;
}

.start-btn button:active{
    transform: translateY(-2px);
    box-shadow: 0px 0px 10px #000;
}

.quiz-box{
    width: 550px;
    background-color: rgb(255, 218, 95);
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.9);
}

.quiz-box header{
    position: relative;
    z-index: 99;
    height: 70px;
    padding: 0 30px;
    background: rgb(255, 218, 95);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px 5px 0 0;
    box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.1);
}

.quiz-box header .title{
    font-size: 20px;
    font-weight: 600;
}

.quiz-box header .timer{
    display: flex;
    align-items: center;   
    justify-content: space-between;
    width: 145px;
    height: 45px;
    background: rgb(255, 238, 182);
    border: 1px solid rgb(255, 218, 95);
    border-radius: 5px;
    padding: 0 8px;
}

.quiz-box header .timer .time_text{
    font-weight: 400;
    font-size: 17px;
}

.quiz-box header .timer .timer_sec{
    font-size: 18px;
    font-weight: 500;
    background-color: #343a40;
    height: 30px;
    width: 45px;
    color: #fff;
    text-align: center;
    line-height: 30px;
    border-radius: 5px;
    border: 1px solid #343a40;
}

.quiz-box header .time_line{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgb(119, 93, 6);
}

.quiz-box section{
    padding: 25px 30px 20px 30px;
    background-color: rgb(255, 218, 95);
    
}

.quiz-box section .que_text{
    font-size: 25px;
    font-weight: 600;
}

.quiz-box section .option_list{
    padding: 20px 0;
    display: block;
}

.quiz-box section .option_list .option{
    background: #fff;
    border: 1px solid rgb(255, 196, 3);
    border-radius: 5px;
    padding: 8px 15px;
    margin-bottom: 15px;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option_list .option:last-child{
    margin-bottom: 0px;
}

section .option_list .option:hover{
    color: #000;
    background-color: rgb(216, 190, 119);
    border-color: rgb(255, 204, 65);
}

.option_list .option .icon{
    height: 26px;
    width: 26px;
    border: 2px solid transparent;
    border-radius: 50%;
    text-align: center;
    font-size: 13px;
    line-height: 23px;
    pointer-events: none;
}

.option_list .option .icon.tick{
    color: #23903c;
    border-color: #23903c;
    background-color: #d4edda;
}

.option_list .option .icon.cross{
    color: #a42834;
    border-color: #a42834;
    background-color: #f8d7da;
}

.option_list .option.correct{
    color: #23903c;
    border-color: #23903c;
    background-color: #a1ecb3;
}

.option_list .option.incorrect{
    color: #a42834;
    border-color: #a42834;
    background: #f8d7da;
}

.option_list .option.disabled{
    pointer-events: none;

}

.quiz-box footer{
    height: 60px;
    width: 100%;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(94, 93, 93, 0.589);
}

.quiz-box footer .total_que span{
    display: flex;
}

footer .total_que span p{
    font-weight: 500;
    padding: 0 5px;
}

.total_que span p:first-child{
    padding-left: 0;
}

footer .next_btn{
    display: none;
    height: 40px;
    padding: 0px 13px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 400;
    border:none;
    outline: none;
    color: #fff;
    background-color: darkgoldenrod;
    border-radius: 5px;
    border: 1px solid darkgoldenrod;
    transition: all 0.3s ease;
}

footer .next_btn:hover{
    background-color: rgb(100, 73, 4);
}

.result_box{
    background: rgb(255, 218, 95);
    width: 450px;
    padding: 25px 30px;
    border-radius: 5px;
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.9);
}


.result_box .icon{
    font-size: 100px;
    color:goldenrod;
    margin-bottom: 10px;
}

.result_box .complete_text{
    font-size: 20px;
    font-weight: 500;
}

.result_box .score_text span{
    display: flex; 
    margin: 10px 0;
    font-size: 18px;
    font-weight: 500;
}

.score_text span p{
    font-weight: 600;
    padding: 0 4px;
}

.result_box .buttons{
    display: flex;
    margin: 20px 0;

}

.result_box .buttons button{
    margin: 0 10px;
    height: 45px;
    padding: 0 20px;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 5px;
    border: 1 px solid darkgoldenrod;
    transition: all 0.3s ease;
}

.result_box .buttons .restart{
    color: #fff;
    background-color: darkgoldenrod;
}

.restart:active{
    transform: translateY(-2px);
    box-shadow: 0 5px 10px #000;
}

.buttons .quit{
    color: darkgoldenrod;
    background-color: rgb(199, 199, 199);
}

.buttons .quit:hover{
    color: #fff;
    background-color: darkgoldenrod;
}