.app-background{
    background: white;
    padding-top: 40px;
    padding-bottom: 40px;
}
.app {
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    margin: auto;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);

}

.app h1 {
    font-size: 2.2rem;
    color: #211832;
    font-weight: 600;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
}

.quiz {
    padding: 20px 0;
}

.quiz h2 {
    font-size: 1.7rem;
    color: #211832;
}

/* Timer Bar */
#timer-container {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

#timer-bar {
    height: 100%;
    width: 100%;
    background: #7a0000;
    transition: width 0.05s linear; /* makes it smooth */
}

.btn {
    background: #fff;
    color: #222;
    font-weight: 500;
    width: 100%;
    border: 1px solid #222;
    padding: 10px;
    margin: 10px 0;
    text-align: left;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.25rem;
}

.btn:hover:not([disabled]) {
    background: #222;
    color: #fff;
}

.btn:disabled {
    cursor: no-drop;
}

#next-btn {
    background: #211832;
    color: white;
    font-weight: 500;
    width: 150px;
    border: 0;
    padding: 10px;
    margin: 20px auto 0;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    font-size: 1.25rem;

}

.correct {
    background: rgb(72, 170, 72) !important;
    color: #fff;
}

.incorrect {
    background: #ff9393 !important;
    color: #fff;
}

.question-img {
    display: block;
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    margin: 10px 0;
    border-radius: 8px;
}
