@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.start_btn button{
    position: absolute;
    top:90%;
    right: 5%;
    transform: translate(-50%,-50%);
    box-shadow: 0px 4px 8px 0 rgba(0,0,0,0.2)
               ,0px 6px 20px 0 rgba(0,0,0,0.19);
    transition: all 0.3s ease; 
}
.quiz_box,
.result_box{
    position: absolute;
    top:50%;
    left:700px;
    transform: translate(-50%,-50%);
    box-shadow: 0px 4px 8px 0 rgba(0,0,0,0.2)
               ,0px 6px 20px 0 rgba(0,0,0,0.19);
    transition: all 0.3s ease; 
    z-index: 50;
}
.quiz_box.activequiz,
.result_box.activeResult{
    z-index: 50;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%,-50%) scale(1);
}

/* Start Quiz Button Styling*/
.start_btn button{
    font-size:25px ;
    font-weight: 500;
    color: #007bff;
    padding:15px 30px ;
    outline: none;
    border: none;
    border-radius: 5px;
    background: #ffffcd;
    cursor: pointer;
}
.quiz_box{
    width:550px;
    background:#EBEBFF;
    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: #EBEBFF;
    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 section{
    padding: 25px 30px 20px 30px;
    background: #EBEBFF;
}
.quiz_box section .que_text{
    font-size: 25px;
    font-weight: 600;    
}
.quiz_box section .option_list{
    padding: 20px 0;
    display: block;
}
section .option_list .option{
    background: aliceblue;
    border:1px solid #C2C2FF;
    border-radius: 5px;
    padding :8px 15px;
    margin-bottom: 15px;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
section .option_list .option:hover{
    color: #004085;
    background: #cce5ff;
    border-color: #b8daff;
}
.option_list .option:last-child{
    margin-bottom: 0px;
}
.option_list .option .icon{
    height:26px;
    width: 26px;
    border:2px solid transparent;
    border-radius: 50%;
    text-align: center;
    font-size: 13px;
    line-height: 24px;
    pointer-events:none ;
}
.option_list .option .icon.tick{
    color:#23903c;
    border-color: #23903c;
    background: #d4edda;
}
.option_list .option .icon.cross{
    color:#a42834;
    border-color: #a42834;
    background: #f8d7da;
}
.option_list .option.correct{
    color:#155724;
    border-color: #c3e6cb;
    background: #d4edda;
}
.option_list .option.wrong{
    color:#721c24;
    border-color: #f5c6cb;
    background: #f8d7da;
}
.option_list .option.disabled{
    pointer-events: none;
}
footer .buttons{    
    margin: 0 0 20px 0;
    align-items: center;
    justify-content:end;
}
footer .buttons button{
   /* display: flex;*/
    position:absolute;
    bottom:10px;
    right:0;
    margin: 0 10px;
    height: 45px;
    padding: 0 20px;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 5px;
    border: 1px solid #007bff;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 45px;    
}
footer .restart{
     color: #fff;
     background: #007bff;
}
footer .restart:hover{
    background: #0263ca;
}
footer .quit{
    display: none;
    color: #007bff;
}
footer .quit:hover{
    color: #fff;
    background: #8C8CFF;
}

footer .nextque{
    display: none;
    color: #007bff;
}
footer .nextque:hover{
   color: #fff;
   background: #8C8CFF;
}

.result_box{
    background: #fff;
    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: #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;
}
.result_box .score_text span p{
    font-weight: 600;
    padding: 0 40px;
}
.result_box .buttons{
    margin: 20px 0;
}
.result_box .buttons .quit{
    margin: 0 10px;
    height: 40px;
    padding:0 20px;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 5px;
    border: 1px solid #007bff;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #007bff;
}
.result_box .buttons .quit:hover{
   color: #fff;
   background: #007bff;
}
