*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

body{
    background: linear-gradient(135deg,#8e3f89 0%, #2575fc 100% );
    display:flex;
    justify-self:center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container{
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 600px;
    padding: 30px;
    text-align: center;
}
h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.screen{
    display: none;
}
.active{
    display: block;
}
        

#start-screen p{
    color: #666;
            margin-bottom: 30px;
            font-size: 1.5rem;
            line-height: 1.6;
}

.btn{
    background: linear-gradient(to right, #3a6679, #9f3198);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin: 10px 0; 
}

.btn:hover{
    transform: translateY(3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:active{
    transform: translateY(0);
}

.quiz-info{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #666;
    font-weight: 500;
}

.progress-bar {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
}
.progress {
            height: 100%;
            background: linear-gradient(to right, #6a11cb, #2575fc);
            width: 0%;
            transition: width 0.3s;
        }

 #question {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #333;
    line-height: 1.4;
}

.option {
    background-color: #f5f7ff;
    border: 2px solid #e1e5f2;
    border-radius: 10px;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    margin: 10px 0;
} 
.option:hover {
    background-color: #e8edff;
    border-color: #6a11cb;
}

.option.selected {
    background-color: #d6e4ff;
    border-color: #2575fc;
} 

.option.correct {
    background-color: #d4edda;
    border-color: #28a745;
}

.option.incorrect {
    background-color: #f8d7da;
    border-color: #dc3545;
}

.feedback {
    margin-top: 10px;
    font-style: italic;
    color: #666;
    text-align: left;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    display: none;
} 
#result-screen h2 {
    margin-bottom: 20px;
    color: #333;
}

.score {
    font-size: 3rem;
    font-weight: bold;
    color: #8f3f8f;
    margin: 20px 0;
}

.message {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}
