@import url(https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i);

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
body{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #cc2d30;
}
.container{
    position: relative;
    width: 95%;
    max-width: 600px;
    background-color: #ffffff;
    padding: 15px 30px 25px 30px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.7);
}
.heading{
    text-align: center;
    flex-grow: 1;
    font-size: clamp(1rem, 5vw, 2rem);
    color: #222;
    margin-bottom: 15px;
}
.heading-image{
    width: 100%;
    margin: auto;
    display: flex;
    padding: 10px;
    margin-bottom: 0px;
    border-bottom: 1px solid #333;
}
label{
    display: block;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 3px;
    color: #222;
    text-transform: capitalize;
}
select{
    width: 100%;
    padding: 10px;
    text-transform: capitalize;
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: #ebeefd;
    color: #222;
    font-size: 16px;
}
.select_category{
    margin-bottom: 30px;
}
.btn{
    width: 100%;
    height: 60px;
    background-color: #0c80ef;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s linear;
}
.btn:hover{
    background-color: #0a6bc5;
}
.btn:disabled{
    cursor: not-allowed;
    background-color: #576081;
}
.hide{
    display: none;
}
.question-wrapper .number{
    color: #294285;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #333;
    margin-bottom: 10px;
}
.question-wrapper .number .total{
    color: #232631;
    font-size: 14px;
}
.question-wrapper .question{
    color: #212E52;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 20px;
}
.answer-wrapper .answer{
    width: 100%;
    min-height: 20px;
    height: auto;
    padding: 5px 5px 5px 10px;
    border-radius: 5px;
    font-size: 13px;
    color: #222;
    background-color: #ebeefd;
    border: 3px solid #3f4868;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    cursor: pointer;
    transition: 0.3s linear;
}
.answer .checkbox{
    min-width: 20px;
    min-height: 20px;
    border-radius: 50%;
    border: 3px solid #3f4868;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin-left: 5px;
}
.answer .checkbox i {
    opacity: 0;
}
.answer:hover .checkbox,
.answer.selected .checkbox{
    background-color: #0c80ef;
    border-color: #0c80ef;
}
.answer.selected .checkbox i {
    opacity: 1;
}
.answer.correct{
    border-color: #0cef2a;
    background-color: #0cef2a27;
}
.answer.wrong{
    border-color: #fc3939;
    background-color: #fc393927;
}
.question-wrapper,
.answer-wrapper{
    margin-bottom: 20px;
}
.question-image{
    max-width: 90%;
    margin: auto;
    display: block;
    margin-bottom: 10px;
}
.btn.next{
    /* show when answer submit */
    display: none;
}
.end-screen .score{
    color: #212E52;
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}
.end-screen .score-text{
    color: #232631;
    font-size: 16px;
    margin-bottom: 120px;
}
.percentage-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}
.percentage-container .circular-progress{
    position: relative;
    width: 250px;
    height: 250px;
    background: conic-gradient(#50C878 3.6deg, #ebeefd 0deg);
    border-radius: 50%;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}
.circular-progress::after{
    content: "";
    position: absolute;
}
.percentage-container .circular-progress::before{
    content: '';
    position: absolute;
    width: 210px;
    height: 210px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, 0.7);
}
.circular-progress .progress-value{
    position: relative;
    font-size: 45px;
    font-weight: 600;
}
.progress-value{
    color: #212E52;
    font-weight: 500;
    font-size: 25px;
    font-weight: 500;
}

@media (max-width:468){
    .container{
        min-height: 100vh;
        max-width: 100%;
        border-radius: 0;
    }
}
