*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif !important;
}
.mainBox{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to right , #030303 , #a1a1a1);
}
.quizForm {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 8px;
    border-radius: 8px;

}
.formHeading{
    border-bottom: 2px solid rgb(252, 252, 252);
    padding: 8px;
    color: #e0dcdc;
    text-align: center;
    padding: 20px;
    margin-bottom: 50px;
}
.quizForm div{
    width: 100%;

}
.quizForm div input{
    width: 100%;
    display: block;
    height: 40px;
    outline: none;
    margin-top: 10px;
    padding: 8px;
    border: none;
    border-bottom: 2px solid rgb(51, 11, 11);
    background-color:transparent ;
    font-size: 20px;
    color: rgb(202, 202, 202);
    
}

.quizForm div small{
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    color: red;
    font-size: large;
}
.quizForm div button{
    display: block;
    margin-left: auto;
    width: 120px;
    height: 40px;
    margin-top: 10px ;
    margin-bottom: 10px ;
    background-color: #1D976C;
    color: rgb(0, 0, 0);
    font-size: large;
    padding: 5px;
    border-radius: 5px;
    outline: none;
    border: none;
    cursor: pointer;
}
.quizForm.hide{
    display: none;
}
.quizStartBtn{
    width: 250px;
    padding: 8px;
}
.quizStartBtn button{
    width: 100%;
    height: 50px;
    outline: none;
    border: none;
    background: linear-gradient(#e66465, #9198e5);
    color: rgb(0, 0, 0);
    font-size: 15px;
    font-weight: 900;
    padding: 12px ;
    border-radius: 5px;
    cursor: pointer;
}
.quizStartBtn.hide{
    display: none;
}

.QuestBox{
    width: 40%;
    border-radius: 8px 8px 0 0 ;
    border: 1px solid #1D976C;
}
.QuestBox.hide{
    display: none;
    
}
.userInfo{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #636e6a;
    color: rgb(44, 44, 44);
    font-family: 'Courier New', Courier, monospace;
    border-radius: 8px 8px 0 0 ;
    padding-top: 15px;

}

.question{
    width: 100%;
    padding: 8px;
}
.question h2{
    width: 100%;
    padding: 8px;
    color: rgb(255, 255, 255);
    font-family: 'Courier New', Courier, monospace;
    user-select: none;

}
.question ul{
    list-style: none;
    width: 100%;
}
.question ul li{
    width: 100%;
    color: rgb(172, 172, 172);
    border-bottom: 2px solid #1D976C;
    font-size: large;
    padding: 8px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    transition: all .9s;
    font-family: cursive;
    user-select: none;
    }
    .question ul li:hover{
        color: rgb(255, 254, 254);
    }
.question ul li.disabled{
    pointer-events: none;
}
.question ul li.success{
    background-image:linear-gradient(to right, #1D976C,#93F9B9);
    color: black;
}
.question ul li.wrong{
    background-image: linear-gradient(to right , #FF416C , #FF4B2B);
}
.quizFooter{
    width: 100%;
    background-color: #1D976C;
    display: flex;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
}
.quizFooter button{
    width: 120px;
    height: 40px;
    background-color: black;
    color: white;
    font-size: medium;
    padding: 3px;
    border-radius: 5px;
    outline: none;
    border: none;
    cursor: pointer;

}
#quesNum{
    color:#0F2027;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    
}
.resultBox{
    border: 2px dashed #1D976C;
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.resultBox.hide{
    display: none;
}

.congratsHeading{
    /* border: 1px solid red; */
    width: 100%;
    text-align: center;
}
.congratsHeading h1{
    color: #1D976C;
    font-size: 30px;
    margin: 10px 5px;
    font-family: 'Courier New', Courier, monospace;
}
.congratsHeading p{
    margin: 10px 5px ;
    color: white;
    font-family: cursive;
}
.RightOption{
    display: flex;
    justify-content: space-around;
    margin: 10px 5px;
    align-items: center;
}
.RightOption p {
    margin: 0 10px;
    display: flex;
    align-items: center;
    color: #93F9B9;
    font-family: 'Courier New', Courier, monospace;
}
.RightOption p i{
    font-size: 25px;
    margin: 0 5px;
}
.resetBtn{
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 10px 5px;
}
.resetBtn button{
     width: 120px;
    height: 40px;
    margin-top: 10px ;
    margin-bottom: 10px ;
    background-color: #1D976C;
    color: white;
    font-size: large;
    padding: 5px;
    border-radius: 5px;
    outline: none;
    border: none;
    cursor: pointer;
}

@media screen and (max-width:500px){
    .mainBox{
        justify-content: flex-start;
       
    }
    .quizForm,.resultBox,.QuestBox {
    width: 100%;
    padding: 25px;
    
    }
}