body{
    margin: 0;
    padding: 0 0 10px 0;
    box-sizing: border-box;
    background: url(pic-fold/question-mark-blue-background-3d-render_188237-4096.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 90vh;
    gap: 5px;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    align-items:center;
    justify-content: center;

}
body::before{
    overflow: hidden;
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px); 
    z-index: -2;
}
.finshQuiz,
.Ques-con,
.wc-con,
.login{
    width: 50%;
    transition: all 0.5s ease;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    border-radius: 35px;
    color: rgb(0, 0, 0);
    font-size: 20px;
    gap: 10px;
    min-height: 200px;
}

.wc-con span{
    font-size: 25px;
}
.login input{
    background-color: rgba(255, 255, 255, 0.422);
    border-radius: 50px;
    border:2px solid rgb(118, 117, 117);
    padding: 10px 20px;
    font-size: 18px;
    width: 100%;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    transition: all 0.3s ease;
}
.login input:focus{
    color: black;
    background-color: rgb(240, 238, 238);
    border:2px solid rgb(0, 0, 0);  
    outline: none;
    transform: translateY(-7px);
}
.login input::placeholder{
    color: black;
}

.login h1{
    text-align: center;
    color: rgb(106, 165, 33);
}
.d-none{
    display: none;
}
.d-block{
    display: block;
}
.d-flex{
    display: flex;
}
#btn{
    background-color: blue;
    color: white;
    padding: 15px 35px;
    border: 2px solid blue;
    outline: none;
    font-size: 17px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
#btn:hover{
    border:2px solid rgb(4, 4, 117);
    background-color: rgb(4, 4, 117);
}
#nextBtn{
    background-color: rgb(0, 136, 255);
    color: white;
    padding: 12px 35px;
    border-color: transparent;
    font-size: 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
#nextBtn:hover{
    border:2px solid rgb(109, 173, 250);
    background-color: rgb(109, 173, 250);
}
#options{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    width: 90%;
}
 .option-btn{
  width: 100%;
  padding: 12px;
  /* margin: 8px 0; */
  font-size: 18px;
  font-weight: 700;
  border: 2px solid #ccc;
  background: white;
  cursor: pointer;
  border-radius: 6px;
}

.option-btn.selected{
  background-color: #4caf50;
  color: white;
  border-color: #ffffff;
}
.Ques-con ul button{
    width: 100%;
}
.timer{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    gap: 5px;
    top: 0;
    right: 0;
    font-size: 38px;
    padding: 0px 10px 0px 4px;
    border-radius: 12px;
    background-color: #ffffff56;
}
.score{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    gap: 5px;
    top: 0;
    left: 0;
    font-size: 38px;
    padding: 5px 15px 5px 9px;
    border-radius: 12px;
    background-color: #ffffff56;
}
a{
    text-decoration: none;
}
#score-pic{
    width: 70px;
}
#timer-pic{
    width: 70px;
    animation: rotation 1s ease-in-out infinite reverse;
    animation-direction:alternate-reverse;
}
.progress-bar{
    animation: timer 1s ease-in-out infinite reverse;
    animation-direction:alternate-reverse;
    width: 100%;
    position: absolute;
    bottom: 0px;  
    text-align: center;
    height: 45px;
    background-color: #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}
.progress-fill{
    height: 100%;
    width: 0%;
    background-color: #00ff40;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 1px 10px 3px 10px; */
    color: rgb(0, 0, 0);
    font-weight: bold;
    transition: width 0.5s ease-in-out;
}
.progress-bar span{
    font-size: 14px;
    margin-left: 10px;
}

/* .box{
  position:relative;
}
svg{
  transform: rotate(-90deg);
}
circle{
  fill:none;
  stroke-width:15;
}
.bg{
  stroke:#333;
}
.progress{
  stroke:lime;
  stroke-linecap:round;

  stroke-dasharray: 502;      

  transition: strokeDashoffset 1.2s ease;
}
.box h1{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  color:white;
} */
@keyframes timer {
    form{
        transform: translatey(0px);
    }
    to{
        transform: translatey(10px);
    }
}
@keyframes rotation {
    form{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}
@media screen and (max-width: 1423px){
    .wc-con,
    .login{
        width: 40%;
        padding: 40px;
        border-radius: 35px;
        color: rgb(0, 0, 0);
        font-size: 17px;
        gap: 5px;
    }
    .finshQuiz{
        text-align: center;
        width: 40%;
        padding: 30px;
        border-radius: 35px;
        color: rgb(0, 0, 0);
        font-size: 17px;
        gap: 5px;
    }
    .Ques-con{
        width: 40%;
        padding: 20px;
        border-radius: 35px;
        color: rgb(0, 0, 0);
        font-size: 17px;
        text-align: center;
        gap: 4px;
    }
    body{
        padding: 0;
        gap: 5px;
    }
    
    .timer{
        gap: 4px;
        font-size: 28px;
        padding: 0px 8px 0px 4px;
        border-radius: 10px;
    }
    .score{
        gap: 4px;
        font-size: 28px;
        padding: 10px 8px 10px 4px;
        border-radius: 10px;
    }
    #score-pic,
    #timer-pic{
        width: 60px;
    }
    .option-btn{
        width: 80%;
        font-size: 16px;
        padding: 10px;
    }
    #options{
        gap: 5px;
    }
    .login input{
        border-radius: 10px;
        font-size: 15px;
    }
    #btn{
        padding: 10px 15px;
        width: 100%;
        font-size: 14px;
        border-radius: 10px;
    }
    #nextBtn{
        padding: 9px 25px;
        border-radius: 10px;
        font-size: 14px;
    }

}
@media screen and (max-width: 767px){
    .wc-con,
    .login{
        width: 65%;
        padding: 20px;
        border-radius: 15px;
        color: rgb(0, 0, 0);
        font-size: 14px;
        gap: 4px;
    }
    .finshQuiz{
        text-align: center;
        width: 65%;
        padding: 30px;
        border-radius: 15px;
        color: rgb(0, 0, 0);
        font-size: 14px;
        gap:0px;
    }
    .Ques-con{
        width: 65%;
        padding: 20px;
        border-radius: 15px;
        color: rgb(0, 0, 0);
        font-size: 14px;
        text-align: center;
        gap: 4px;
    }
    .progress-bar{ 
        margin-top: 10px;
    }
    h2,
    .Ques-con h2{
        margin: 10px;
        font-size: 18px;
    }
    h1{
        font-size: 25px;
    }
    body{
        padding: 0;
        gap: 0px;
        overflow: hidden;
        background: url(pic-fold/IMG-20260119-WA0007.jpg);
    }
  
   
    
    .timer{
        gap: 4px;
        font-size: 22px;
        padding: 2px 10px 2px 6px;
        border-radius: 7px;
    }
    .score{
        gap: 4px;
        font-size: 22px;
        padding: 9px 15px 9px 15px;
        border-radius: 7px;
    }
    #score-pic,
    #timer-pic{
        width: 40px;
    }
    .option-btn{
        font-size: 14px;
        padding: 7px;
        width: 100%;
    }
    #options{
        gap: 5px;
    }
    .login input{
        border-radius: 10px;
        font-size: 14px;
        width: 80%;
    }
    #btn{
        padding: 10px 15px;
        width: 100%;
        font-size: 14px;
        border-radius: 10px;
    }
    #nextBtn{
        padding: 7px 25px;
        width: 100%;
        border-radius: 7px;
        font-size: 14px;
    }
}