/* Basic Styling */

*{
    margin:0;
    padding: 0;
    box-sizing: border-box;

}

body{
    background-color: #c9c5c9a2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    font-family: sans-serif;

}
.container{
 
 border-radius:1rem ;
 box-shadow: 0 11px  30px rgb(10, 10, 10,0.2);
 background-color: #f9f6f6;
 width: 100%;
 max-width: 600px;
 overflow:hidden;
 position: relative;

}

/* SCREEN */
.screen{
    display: none;
    padding: 2rem;
    text-align: center;
}

.screen.active{
    display: block;
}
/* START SCREEN */
#start-screen h1{
    color: #801044;
    margin-bottom: 20px;
    font-size: 2.5rem;
    
}

#start-screen p{
    color: #433037;
    margin-bottom: 20px;
    font-size: 1.1rem;
    
}

.quiz-header{
    margin-bottom: 1rem;
}

#question-text{
    color:#852360;
    font-size:1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}


.quiz-info{
   display: flex;
   justify-content: space-between;
   color: #524545;
   margin-bottom: 10px;
}
.answer-container{
    display: flex;
    flex-direction:column;
    gap: 10px;
    margin-bottom: 25px;
}

.answer-btn{
background-color: #fadcf1a3 ;
border:2px solid #e6bac6;
border-radius: 10px ;
padding:1rem;
color:#4d0232;
cursor:pointer ;
text-align:left ;
transition: all 0.3s ease;;
} 

.answer-btn:hover{
    background-color: #ae97a1;
    border-color: #2a1a1a;
}


.answer-btn.correct{
    background-color:#d7f7ee;
    border-color: #0b4725;
    color: #28a745;
}
.answer-btn.incorrect{
    background-color: #faa0a041;
    border-right-color: #d53b694f;
    color: #2b0c0ce0;
}

.progrss-bar{
    height:10px ;
    background-color:  #fff0f3;
    margin: top 20px; 
    overflow: hidden;
    border: radius 5px;
}

.progrss{
 height: 100%;
width: 0%;
transition: width 0.3s ease;
 background-color:#e8659f; 
}

/* RESULT SCREEN */
#result-screen h1{
    color: #f05bba;
    margin-bottom: 30px;
 }

 .result-info{
    background-color: #f8f0e5;
    border-radius: 10px;
    padding: 2px;
    margin-bottom: 30px;
 }

 .result-info p{
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
 }

 #result-message{
    font-size: 1.5rem;
    font-weight: 600;
    color:#e8659f;
    margin-bottom:1rem ;

 }

 button{
    background-color: #f871ab;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    cursor: pointer;
 }

 button:hover{
    background-color: #bb6286;
 }

 /* RESPONSIVE DESIGN */
 @media (max-width:500px){
    .screen{
        padding: 1rem;
    }
    #start-screen h1{
        font-size: 2rem;
    }
    #question-text{
        font-size:1.3rem;
    }
    .answer-btn{
        padding: 12px;
    }
    button{
        padding: 12px 25px;
        font-size: 1rem;
    }
 }