  #progress-bar {
    width: 0%;
    height: 20px;
    background-color: #4CAF50;
    margin-bottom: 20px;
}

#quiz-container {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-width: 600px;
    margin: auto;
}

button {
    margin: 10px;
    padding: 10px 20px;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    cursor: pointer;
}

button:hover {
    background-color: #e9e9e9;
}
.answer {
    display: block;
    width: 100%;
    padding: 10px 20px;
    margin: 10px 0;
    background-color: #f4f4f4;
    border: none;
    border-radius: 5px;
    text-align: left;
    font-size: 16px;
    transition: background-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.answer:hover, .answer:focus {
    background-color: #e8e8e8;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.answer.active {
    background-color: #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.result {
    padding: 20px;
    margin-top: 20px;
    border-radius: 5px;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh; /* Adjust this as necessary to fit your design */
}
.answer.active::after {
    content: "\f00c"; /* This is the Unicode for Font Awesome's check icon */
    font-family: 'Font Awesome 5 Free'; /* Make sure to use the correct font family for your Font Awesome version */
    color: green; /* Set the color of the icon */
    font-weight: 900; /* Font Awesome requires 900 weight for solid icons */
    margin-left: 10px; /* Add some space between the text and the icon */
}