body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    color: #333;
}

#quiz-container {
    background-color: white;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

#question-section {
    margin-bottom: 20px;
}

#question {
    font-size: 20px;
    font-weight: bold;
}

#answer {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

#submit {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

#submit:hover {
    background-color: #0056b3;
}

#response {
    color: #28a745;
    font-weight: bold;
}

#hint {
    color: #17a2b8;
    font-style: italic;
}

#scoreboard {
    background-color: white;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

#scores {
    font-size: 16px;
}

#scores p {
    margin: 5px 0;
}
#scoreboard {
    background-color: white;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

.score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    padding: 5px;
    border-bottom: 1px solid #eee;
}

.score-name {
    font-weight: bold;
}

.score-value {
    background-color: #007bff;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: bold;
}
button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s; /* Smooth transition for hover effect */
    cursor: pointer;
    border-radius: 5px; /* Rounded corners for the button */
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2), 0 2px 10px 0 rgba(0, 0, 0, 0.19); /* Adds a shadow for depth */
}

button:hover {
    background-color: #45a049; /* Darker shade of green */
}


