body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #f7f7f7;
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    font-size: 1.2rem;
    color: white;
    background-color: #007BFF;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}

#game {
    width: 80%;
    max-width: 700px;
    margin: auto;
}

.choice-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.choice-container:hover {
    background-color: #f1f1f1;
}

.choice-prefix {
    font-size: 1.5rem;
    font-weight: bold;
}

.choice-text {
    flex: 1;
    text-align: left;
    margin-left: 10px;
}

.choice-container.correct {
    background-color: #4caf50;
    border-color: #4caf50;
    color: white;
}

.choice-container.incorrect {
    background-color: #f44336;
    border-color: #f44336;
    color: white;
}

#hud {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    width: 100%; /* Ensure it takes full width */
}

#hud-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#progressBar {
    background-color: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    height: 20px; /* Added height to make it visible */
    margin-top: 5px; /* Adjust margin to provide some spacing */
}

#progressBarFull {
    height: 100%;
    width: 0;
    background-color: #4caf50;
    transition: width 0.3s; /* Smooth transition effect */
}

.hud-prefix {
    margin: 0;
    font-size: 1.2rem;
}

.hud-main-text {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
}

#endText {
    font-size: 2.5rem;
}

#finalScore {
    font-size: 2rem;
    margin: 20px 0;
}
