*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root{
    --white-background:#ffffff;
    --white-color:#fff;
    --background-main:#ffe5b4;
    --border-color:lightgrey;
    --secondary-text:#007bff;
    --btn-bgcolor:#ff8c00;
}
body{
    background:var(--background-main);
}
.start_btn, .info-box, .quiz-box, .result-box{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2),0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius:5px;
}

.start_btn button{
    background-color:var(--btn-bgcolor);
    color:var(--white-color);
    font-size:25px;
    font-weight:500;
    padding:15px 30px;
    outline:none;
    border:none;
    border-radius:5px;
    cursor:pointer;
}

.info-box{
    width:540px;
    background-color:var(--white-background);
    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:100%;
    display:flex;
    align-items:center;
    padding:0px 30px;
    border-bottom:1px solid var(--border-color);
    border-radius:5px 5px 0px 0px;
    font-size:20px;
    font-weight:600;
}
.info-box .info-list{
    padding:15px 30px;
}
.info-box .info-list .info{
    margin:5px 0px;
    font-size:17px;
}
.info-box .info-list .info span{
    font-weight: 600;
    color:var(--secondary-text);
}
.info-box .buttons {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 30px;
    border-top: 1px solid var(--border-color);
}

.info-box .buttons button {
    margin: 0 5px;
    height: 40px;
    width: 100px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 5px;
    border: 1px solid var(--secondary-text);
    transition: all 0.3s ease;
}
.buttons button.quit:hover {
    color:var(--white-color);
    background: var(--secondary-text);
}
.buttons button.quit {
    color:var(--secondary-text);
    background:var(--white-color);
}
.buttons button.restart:hover {
    background: #0263ca;
}
.buttons button.restart {
    color:var(--white-color);
    background:var(--secondary-text);
}

.quiz-box {
    width: 550px;
    background:var(--white-background);
    border-radius: 5px;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.quiz-box header{
    height:70px;
    padding:0px 30px;
    background-color:var(--white-background);
    border-radius: 5px 5px 0px 0px;
    display:flex;
    align-items: center;
    justify-content:space-between;
    box-shadow: 0px 3px 5px 1px rgba(245 10 10 / 50%);
}
.quiz-box header .title {
    font-size: 20px;
    font-weight: 600;
}
.quiz-box header .timer {
    color: #004085;
    background: #cce5ff;
    border: 1px solid #b8daff;
    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 header .timer .timer-sec {
    font-size: 18px;
    font-weight: 500;
    height: 30px;
    width: 45px;
    color:var(--white-color);
    border-radius: 5px;
    line-height: 30px;
    text-align: center;
    background: #343a40;
    border: 1px solid #343a40;
    user-select: none;
}

.quiz-box  .time-line {
    height: 3px;
    background:var(--secondary-text);
    transition:width 0.5s linear;
    /* width:0; */
}

section .que-text {
    font-size: 25px;
    font-weight: 600;
}
section .option-list {
    padding: 20px 0px;
    display: block;
}
footer {
    height: 60px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
}

footer button {
    height: 40px;
    padding: 0 13px;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    border: none;
    outline: none;
    color: var(--white-color);
    border-radius: 5px;
    background: var(--btn-bgcolor);
    border: 1px solid var(--btn-bgcolor);
    line-height: 10px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 0.3s ease;
}


.activeInfoBox, .activeQuizBox{
    opacity: 1;
    z-index: 5;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

section {
    padding: 25px 30px 20px 30px;
    background:var(--white-background);
}

section .option-list .option {
    background: aliceblue;
    border: 1px solid #84c5fe;
    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;
}

footer button.show {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    background: #ff7f50;
}

footer .total-que span {
    display: flex;
    user-select: none;
}
footer .total-que span p:first-child {
    padding-left: 0px;
}
footer .total-que span p {
    font-weight: 500;
    padding: 0 5px;
}

section .option-list .option.correct {
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

section .option-list .option {
    background: aliceblue;
    border: 1px solid #84c5fe;
    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.disabled {
    pointer-events: none;
}
section .option-list .option.incorrect {
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

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;
}

 .result-box{
    background:var(--white-background);
    border-radius: 5px;
    display: flex;
    padding: 25px 30px;
    width: 450px;
    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 .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;
}
.result-box.activeResult {
    opacity: 1;
    z-index: 5;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}
.buttons button.restart-Quiz {
    color: #fff;
    background: #007bff;
}
.buttons button.quit-Quiz {
    color: #007bff;
    background: #fff;
}

.result-box .score-text span {
    /* display: flex; */
    margin: 10px 0;
    font-size: 18px;
    font-weight: 500;
}
.score-text{
    text-align:center;
}
.score-text span p{
    padding: 0 4px;
    font-weight: 600;
    display: inline;
}