*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

body{
    color: #ffffff;
    overflow: hidden;
    background-color: #09001d;
}
/* for the header */
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100 ;
}
.logo{
    font-size: 32px;
    color: #ffffff;
    font-weight: 700;
    filter: drop-shadow(0 0 5px #09001d )   ;
}
.navbar a{
    font-size: 18px;
    color: #ffffff;
    font-weight: 500;
    margin-left: 35px ;
    transition: 3s;
}
.navbar a:hover,.navbar a.active{
    color: #c40094;
}
/* for the body */
.main{
    background-image: url(background.jpg);
    background-repeat: no-repeat;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    transition: .5s ease;
    pointer-events: auto;
}
.main.active{
    filter: blur(2px) ;
    pointer-events: none;
}
.container{
    display: flex;
    height: 100dvh;
    width: 200%;
}
.quiz-section{
    position: relative;
    left: -50%;
    /* left: 0; */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #09001d;
    z-index: 100 ;
    transition: .8s ease-in-out;
    transition-delay: .25s;
   
}
.quiz-section.active{
    left: 0;
}
.quiz-section .quiz-box{
    position: relative;
    width: 500px;
    background: transparent;
    border: 2px solid #c40094;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    padding: 20px 30px;    
    opacity: 0;
    pointer-events: none;
    transform: scale(.9);
    transform: .3s ease;
    transition-delay: 0s;
}
.quiz-section .quiz-box.active{
    opacity: 1;
    pointer-events:auto;
    transform: scale(1);
    transform: 2s ease;
    transition-delay: 1s;
}


.quiz-box h1{
    font-size: 32px;
    text-align: center;
    background: linear-gradient(45deg, transparent, #c40094, transparent);
    border-radius:  6px;
}
.quiz-box .quiz-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #c40094;
    margin-bottom: 20px;
}
.quiz-header span{
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
}
.quiz-header .header-score{
    background-color: #c40094;
    border-radius: 3px;
    padding: 7px;
}
.quiz-box .question-text{
    font-size: 16px;
    font-weight: 600;
}
.option-list .option{
    width: 100%;
    padding: 12px;
    background-color: transparent;
    border: 2px solid rgba(225, 225, 225, .2);
    border-radius: 4px;
    font-size: 17px ;
    margin: 15px 0;
    cursor: pointer;
    transition: .3s;
}

.option-list .option:hover{
    background-color: rgba(225, 225, 225, .1);
    border-color: rgba(225, 225, 225, .1);
}
.option-list .option.correct{
    background-color: #09001d;
    color: #00a63d;
    border-color: #00a63d;
}
.option-list .option.incorrect{
    background-color: #09001d;
    color: #a60045;
    border-color: #a60045;
}
.option-list .option.disabled{
    pointer-events: none;

}
.quiz-box .quiz-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid #c40094;
    padding-top: 20px;
    margin-top:15px;
}
.quiz-footer .question-total{
    font-size: 16px;
    font-weight: 600;
}
.quiz-footer .next-btn{
    width: 100px;
    height: 45px;
    background-color: rgba(225, 225, 225, .1);
    cursor: pointer;
    border: 2px solid rgba(225, 225, 225, .1);
    outline: none;
    border-radius: 6px;
    font-size: 16px;
    color: rgba(225, 225, 225, .3);
    font-weight: 600;
    cursor: pointer;
    transition: .5s;
    pointer-events: none;
}
.quiz-footer .next-btn.active{
    pointer-events: auto;
    background-color: #c40094;
    border-color: #c40094;
    color: #ffffff;
}
.quiz-footer .next-btn.active:hover{
    background-color: #950170;
    border-color: #950170;
}
.quiz-section .result-box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.9);
    width: 500px;
    background-color: transparent;
    border: 2px solid #c40094;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: .3s ease;
}
.quiz-section .result-box.active{
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}
.result-box h2{
    font-size: 52px;
}
.result-box .percentage-container{
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0 40px;
}
.percentage-container .circular-progress{
    position: relative;
    width: 250px;
    height: 250px;
    background:conic-gradient(#c40094 3.6deg, rgba(255,255, 255,.1) 0deg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.percentage-container .circular-progress::before{
    content: '';
    position: absolute;
    width: 210px;
    height: 210px;
    background-color: #09001d;
    border-radius: 50%;
}
.circular-progress .progress-value{
    position: relative;
    font-size: 45px;
    font-weight: 600;
}
.percentage-container .score-text{
    font-size: 26px;
    font-weight: 600;
    margin-top: 20px;
}
.result-box .buttons{
    display: flex;
}
.buttons button{
    width: 130px;
    height: 47px;
    background-color: #c40094;
    border: 2px solid #c40094;
    outline: none;
    border-radius: 6px;
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    margin: 0 20px 20px;
    cursor: pointer;
    transition: .5s;
}
.buttons button:nth-child(1){
    background-color: transparent;
    color: #c40094;
}
.buttons button:nth-child(1):hover{
    background-color: #950170;
    border-color: #950170;
    color: #ffffff;

}
.buttons button:nth-child(2){
    background-color: transparent;
    color: #c40094;
}
.buttons button:nth-child(2):hover{
    background-color: #c40094;
    color: #ffffff;
}

.home{
    position: relative;
    left: -50%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.home-content{
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.home-content h1{
    font-size: 78px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 0, 0, 3);
}
.home-content p{
    font-size: 16px;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, 3);
    margin-bottom: 30px;
}
.home-content .start-btn{
    width: 190px;
    height: 55px;
    background-color: #c40094;
    border: 2px sold #ffffff;
    outline: none;
    border-radius: 6px;
    box-shadow: 0 0 10px #c40094;
    font-size: 18px;
    color: #ffffff;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
}
.home-content .start-btn:hover{
    background-color: #09001d;
    box-shadow: none;
}
.popup-info{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) scale(.9);
    width: 450px;
    background-color: #b4b8b6;
    border-radius: 6px;
    padding: 10px 25px;
    opacity: 0;
    pointer-events: none;
    transition: .3s ease;
}
.popup-info.active{
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%,-50%) scale(1.4);
}
.popup-info h2{
    font-size: 50px;
    color: #c40094;    
}
.popup-info .info{
    display: inline-block;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin: 4px 0;
}
.popup-info .btn-group{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #999;
    margin-top: 10px;
    padding: 15px 0 7px;
}
.popup-info .btn-group .info-btn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 130px;
    height: 45px;
    background-color: #c40094;
    border: 2px solid #c40094;
    outline: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: .5s;
}
.popup-info .btn-group .info-btn:nth-child(1){
    background: transparent;
    color: #c40094;
}
.popup-info .btn-group .info-btn:nth-child(1):hover{
    background: #c40094 ;
    color: #ffffff;
}
.popup-info .btn-group .info-btn:nth-child(2):hover{
    background: #950170 ;
    border-color: #950170;
    color: #ffffff;
}


@media only screen and (max-width: 767px) {
    /* Styles for small screens */
    .header {
        padding: 20px 5%;
    }

    .navbar a {
        margin-left: 15px;
    }

    .quiz-section .quiz-box {
        width: 90%;
    }

    .home-content h1 {
        font-size: 36px;
    }

    .home-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .home-content .start-btn {
        width: 150px;
        height: 45px;
        font-size: 14px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    /* Styles for tablets */
    .header {
        padding: 20px 5%;
    }

    .navbar a {
        margin-left: 25px;
    }

    .quiz-section .quiz-box {
        width: 80%;
    }
    /* Add more styles as needed */
}