
/* @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;*/
    font-family: 'Cinzel', serif;
}
html{
    overflow: hidden;
    scroll-behavior: smooth;
    width: min-content;
    
}
body{
    overflow: hidden;
    background-color: #f3e3c3;
    background-image: linear-gradient(450deg, #f3e3c3 0% , #fbe7a1, #ede275);
    min-height: 100vh;
}
::selection{
    color: #fff;
    background:#e4d3a8;
}
.start_btn,
.info_box,
.quiz_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);
}
.info_box.activeInfo,
.quiz_box.activeQuiz,
.result_box.activeResult{
    opacity: 1;
    max-width: 370px;
    width: 94%;
    margin-top: 3%;
    z-index: 0;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}
.start_btn button{
    font-size: 25px;
    font-weight: 500;
    background-color: #b8860b;
    padding: 15px 30px;
    outline: none;
    color: #d4edda;
    border: none;
    border-radius: 5px;
    /* color: #fff; */
    cursor: pointer;
}
.info_box{
    max-width: 470px;
    /* width: 90%; */
    background: #fff;
    border-radius: 5px;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.info_box .info-title{
    height: 60px;
    width: 90%;
    border-bottom: 1px solid lightgrey;
    display: flex;
    align-items: center;
    padding: 0 30px;
    border-radius: 5px 5px 0 0;
    font-size: 20px;
    font-weight: 600;
}
.info_box .info-list{
    padding: 15px 30px;
}
.info_box .info-list .info{
    margin: 5px 0;
    font-size: 17px;
}
.info_box .info-list .info span{
    font-weight: 600;
    color: #b8860b;
}
.info_box .buttons{
    /* height: 60px; */
    height: 7vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 30px;
    border-top: 1px solid lightgrey;
}
.info_box .buttons button{
    margin: 0 5px;
    height: 40px;
    width: 110px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 5px;
    border: 1px solid #b8860b;
    transition: all 0.3s ease;
}
.quiz_box{
    max-width: 470px;
    background: #fff;
    border-radius: 5px;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.time_line{
    width: 550px;
}
.quiz_box .heade{
    position: relative;
    z-index: 2;
    height: 70px;
    padding: 0 30px;
    background: #fff;
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.1);
}
.quiz_box .heade .title{
    font-size: 20px;
    font-weight: 600;
}
.quiz_box .heade .timer{
    color: chocolate;
    background:#eaca7c;
    border: 1px solid chocolate;
    height: 45px;
    padding: 0 8px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 145px;
}
.quiz_box header .timer .time_left_txt{
    font-weight: 400;
    font-size: 17px;
    user-select: none;
}

.quiz_box .heade .timer .timer_sec{
    font-size: 18px;
    font-weight: 500;
    height: 30px;
    width: 45px;
    color: #fff;
    border-radius: 5px;
    line-height: 30px;
    text-align: center;
    background: #343a40;
    border: 1px solid #343a40;
    user-select: none;
}
.quiz_box .heade .time_line{
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 3px;
    background: #b8860b;
}
section{
    padding: 25px 30px 20px 30px;
    background: #fff;
}
section .que_text{
    font-size: 25px;
    font-weight: 600;
}
section .option_list{
    padding: 20px 0px;
    display: block;   
}
section .option_list .option{
    background: rgb(249, 239, 198);
    border: 1px solid #c1a355;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 17px;
    margin-bottom: 15px;
    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:chocolate;
    background:#d9c082;
    border: 1px solid chocolate;
}
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: 26px;
    width: 26px;
    border: 2px solid transparent;
    border-radius: 50%;
    text-align: center;
    font-size: 13px;
    pointer-events: none;
    transition: all 0.3s ease;
    line-height: 24px;
}
.option_list .option .icon.tick{
    color: #23903c;
    border-color: #23903c;
    background: #d4edda;
}
.option_list .option .icon.cross{
    color: #a42834;
    background: #f8d7da;
    border-color: #a42834;
}
footer{
    height: 60px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid lightgrey;
}
 footer .total_que span{
    display: flex;
    user-select: none;
}
footer .total_que span p{
    font-weight: 500;
    padding: 0 5px;
}
 footer .total_que span p:first-child{
    padding-left: 0px;
}
footer button{
    height: 40px;
    padding: 0 13px;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 5px;
    background:#b8860b;
    border: 1px solid #b8860b;
    line-height: 10px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 0.3s ease;
}
footer button:hover{
    background:#b8860b;
}
footer button.show{
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}
.result_box{
    background: #fff;
    border-radius: 5px;
    display: flex;
    padding: 25px 30px;
    width: 420px;
    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: #b8860b;
    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{
    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 #b8860b;
    transition: all 0.3s ease;
}
.buttons button.restart{
    color: #fff;
    background: #b8860b;
}
.buttons button.restart:hover{
    background: #dfcc9b;
}
.buttons button.quit{
    color:#b8860b;
    background: #fff;
}
.buttons button.quit:hover{
    color: #fff;
    background:#b8860b;
}



@media (max-width: 600px) {
    .result_box .buttons button {
        font-size: unset; }
        .info_box.activeInfo,
.quiz_box.activeQuiz,
.result_box.activeResult{
    margin-top: 10%;
    
}

}







.header{
    padding: 0 2 rem;
    height: 5.3rem;
    width: 100%;
    top:0;
    display: flex;
    z-index: 1;
    justify-content: space-between;
    align-items: center;
    background-color:black; 
    background: linear-gradient(to right, #00093c , #2d0b00);
    position: fixed;
    border:2px solid darkblue;
} 


.icon{
    width: 3rem;
    height: 3rem;
}

.icon[name="close-outline"]{
    display: none;
}

.button{
    display: none;
    background: transparent;
    color: white;
    cursor: pointer;
}
.header h2{
     font-size: 1.5rem; 
     /* margin-bottom: 70px;  */
     margin-left: 10px;
    transition: 0.8s;
    background-image: linear-gradient(
        to right,
        #b8860b 0,
        #b8860b 22%, 
        #b8860b 45%,
        #b8860b 50%,
        #b8860b 55%,
        #b8860b 78%,
        #b8860b 100%
        );
       color:transparent;
       -webkit-background-clip:text;
}

.header h2 span{
    color: white;
    font-size: 1.7rem; 
}
body{
    overflow-x: hidden;
}
 .list{
    display: flex;
    font-size: large;
     gap: 4.1rem; 
     margin-right: 12px;
    list-style: none;
    background-image: linear-gradient(
	to right,
    
        white,
        white 22%, 
        gold 45%,
        rgb(214, 217, 31),
        #eac117 55%,
        #eac117 78%,
        #eac117 100% 
	 );
    -webkit-background-clip: text;
}
 /* .list:hover{
    color:white;
    scale(1.2);
    transform: .2s;
}  */

.link:link,.link:visited{
    display: inline-block;
    text-transform:uppercase;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color:transparent;
}

@media(max-width:920px){
    .header{
        height: 5rem;
    }
    .button{
        display: block;
        z-index: 999;
        border: 3px solid black;
    }


    .navbar{
        width: 100%;
        height: 100vh;
         /* background: #041a31 ;  */
        background: linear-gradient(to right, #00093c , #2d0b00);
        position: absolute;
        top: 0;
        left: 0;


        display: flex;
        justify-content: center;
        align-items: center;

        transform: translateX(100%);
        transition: all 0.2s linear;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

      
    }

    .list{
        flex-direction: column;
        align-items:center ;
        
    }

    .active .navbar{
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    main{
        margin-top: 36%;
        padding-top: 10%;
    }

    .active .button .icon[name="close-outline"]{
        display: block;
    }

    .active .button .icon[name="menu-outline"]{
        display: none;
    }


}

main{
    margin-top: 10%;
}

@media(max-width:800PX){
    main{
        margin-top: 25%;
        padding-top: 6%;
    }
}
@media screen and (max-width: 480px) {
    .header{
         height: 4.86rem; 
    }};