.new_quiz{
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 700px;
    height:700px;
    font-family: sans-serif;
}

::selection{
    color: #fff;
    background: #007bff;
}
.quiz_box,
.start_box,
.result_box{
    position: absolute;
    /* top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 
                0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}

.start_btn{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 
                0 6px 20px 0 rgba(0, 0, 0, 0.19);  
}

.quiz_box.activeQuiz,
.result_box.activeResult{
    opacity: 1;
    z-index: 5;
    pointer-events: auto;
   /* transform: translate(-50%, -50%) scale(1); */
}

.start_box.passiveStart{
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.start_box{
    background: #cccccc;
    width: 100%;
    max-width: 700px;
    
    opacity: 1;
    z-index: 5;
    pointer-events: auto;
   /* transform: translate(-50%, -50%) scale(1); */
}

.start_image{
    width: 100%;
    height:auto;
}
.start_btn button{
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    padding: 15px 30px;
    outline: none;
    border: none;
    border-radius: 5px;
    background: #000;
    cursor: pointer;
}

.quizImg img{
    width: 100%;
    max-width:700px;
}

.quiz_box{
    width: 100%;
    max-width: 700px;
    background: #fff;
    
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

section{
    padding: 10px 30px 10px 30px;
    background: #fff;
}
section .que_text{
    font-size: 18px; /*Font size question*/
    font-weight: 600;
}
section .option_list{  /*Dist question to answers*/
    padding: 10px 5px;
    display: block;   
}
section .option_list .option{
    background: #f1f1f1;
    border: 1px solid #d1d1d1;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
section .option_list .option:last-child{
    margin-bottom: 0px;
}
section .option_list .option:hover{
    color: #333226;
    background: #d1d1d1;
    border: 1px solid #ababab;
}
section .option_list .option.correct{
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
}
section .option_list .option.incorrect{
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}
section .option_list .option.disabled{
    pointer-events: none;
}
section .option_list .option .icon{
    height: 18px;
    width: 18px;
    border: 2px solid transparent;
    border-radius: 50%;
    text-align: center;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.3s ease;
    line-height: 16px;
}
.option_list .option .icon.tick{
    color: #23903c;
    border-color: #23903c;
    background: #d4edda;
}
.option_list .option .icon.cross{
    color: #a42834;
    background: #f8d7da;
    border-color: #a42834;
}
footerquiz{
    height: 42px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fce535;
}
footerquiz .total_que span{
    display: flex;
    user-select: none;
    align-items: center;
}
footerquiz .total_que span p{
    font-weight: 500;
    padding: 0 5px;
}
footerquiz .total_que span p:first-child{
    padding-left: 0px;
}
footerquiz button{
    height: 34px;
    padding: 0 13px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 5px;
    background: #007bff;
    border: 1px solid #007bff;
    line-height: 10px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 0.3s ease;
}
footerquiz button:hover{
    background: #0263ca;
}
footerquiz button.show{
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}
.result_box{
    background: #fff;
    border-radius: 5px;
    display: flex;
    padding: 25px 30px;
    width: 100%;
    max-width: 700px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    /* transform: translate(-50%, -50%) scale(0.9); */
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.result_box .icon{
    font-size: 100px;
    color: #007bff;
    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;
    text-align: center;
}
.result_box .score_text span p{
    padding: 0 4px;
    font-weight: 600;
}
.result_box .buttons{
    display: flex;
    margin: 20px 0;
}
.result_box .buttons button{
    margin: 0 10px;
    height: 45px;
    padding: 0 20px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 5px;
    border: 1px solid #007bff;
    transition: all 0.3s ease;
}
.buttons button.restart{
    color: #fff;
    background: #007bff;
}
.buttons button.restart:hover{
    background: #0263ca;
}