body {
    /* background-color: #7596f1; */
    background-image: url('../images/quiz.jpg');
    
    font-family: sans-serif;
}

.quiz-Container {
    max-width: 700px;
    margin: 0 auto;
    margin-top: 80px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.title {
    text-align: center;
    font-size: 28px;
    margin: 10px 0px;
    color: #333;
}

#instructions {
    margin-left: 30px;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

#quizInstructions {
    list-style-type: none;
    padding: 0;
}

#quizInstructions li {
    margin-bottom: 10px;
    font-size: 19px;
    transition: transform 0.3s ease;
}

#quizInstructions li:hover {
    transform: scale(1.05);
}

#quizInstructions li:before {
    content: "\2022";
    color: #007bff;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    margin-right: 5px;
}

#quizInstructions li span {
    font-weight: bold;
    color: #333;
    transition: color 0.3s ease;
}

#quizInstructions li:hover span {
    color: #007bff;
}

#quizInstructions {
    list-style-type: none;
    padding-left: 0;
}

#quizInstructions li {
    margin-bottom: 10px;
}

.timer {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.quiz {
    display: none;
}

.options {
    list-style-type: none;
    padding-left: 0;
    font-size: 18px;
    font-style: italic;

}

.options .option {
    margin-bottom: 10px;
    padding: 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.option.selected {
    background-color: #4070F4;
    color: #fff;
}

#submitBtn,
#downloadBtn,
#startBtn {
    display: block;
    margin: 30px auto;
    padding: 15px 40px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#submitBtn:hover,
#downloadBtn:hover {
    background-color: #0056b3;
}




#result {
    font-family: 'Arial', sans-serif;
    margin: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

#result h2 {
    color: #333;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

#result p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px;
}

#result span {
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
}

#result .correct {
    background-color: #c8e6c9;
    color: #2e7d32;
}

#result .incorrect {
    background-color: #ffcdd2;
    color: #c62828;
}

#downloadBtn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    border: none;
    border-radius: 4px;
    background-color: #2196f3;
    color: white;
    cursor: pointer;
    text-decoration: none;
}

#downloadBtn:hover {
    background-color: #1976d2;
}

.question,
.answer {
    display: block;
    margin-bottom: 5px;
    padding: 7px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.question {
    font-weight: bold;
    font-size: 16px;
    background-color: #f0f0f0;
}





.results-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
    cursor: pointer;
}

.result-circle {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.correct {
    background: linear-gradient(45deg, #4caf50, #81c784);
    border: 2px solid #4caf50;
    font-size: 30px;
}

.incorrect {
    background: linear-gradient(45deg, #f44336, #e57373);
    border: 2px solid #f44336;
    font-size: 30px;
}

.score {
    background: linear-gradient(45deg, #2196f3, #64b5f6);
    color: black;
    border: 2px solid #2196f3;
}

.label {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    font-style: italic;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

.result-circle:hover {
    animation: pulse 1s infinite;
}