* {
    margin: 0;
    padding: 0;
    font-family: 'Happy Monkey';
    font-style: normal;
    font-weight: 400;
    box-sizing: border-box;   
}

.image-container {
    position: relative;
    display:flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Hide any overflow */
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.popQuizBlitz {
    position: absolute; /* Position the quiz container absolutely */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the quiz container */
    background:#ffffff;
    width: 90%;
    max-width: 600px;
    max-width: 600px;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a shadow for better visibility */
}

.popQuizBlitz h1 {
    font-size: 25px;
    color: #fe0879;
    font-weight: 600;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
    width: 100%;
    text-align: center;
}


.progress-bar-container {
    width: 100%;
    background-color: #ffffff;
    border: solid 2px #fe0879;
    border-radius: 10px;
    overflow: hidden; /* Ensures the progress bar stays within the container */
    margin: 20px 0; 
}

.progress-bar {
    width: 0;
    height: 20px;
    background-color: #70baff;
    border-radius: 10px; /* Rounded corners */
    transition: width 0.3s ease; /* Smooth transition for the progress bar */
}


.Quiz {
    padding: 20px 0;

}
.Quiz {
    font-size: 25px;
    font-family: 'Happy Monkey';
    color: #fe0879;
    font-weight: 600;
    margin-bottom: 20px;
}


#answer-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.btn {
    flex: 1 1 48%; /* Adjust the width of the buttons */
    margin: 5px;
    width: 50%;
    font-size: 1rem;
    padding: 10px;
    color: #0e078d;
    background-color: #f3f3f5;
    border: 1px solid #060600;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

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

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


#next-btn {
    background: #0037b3;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    width: 150px;
    border: 0;
    padding: 10px;
    margin: 20px auto 0;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    padding: 20px;
}

#next-btn:hover {
    background-color: #ff82e2;
    color: #000000;
}


.scr-btn-container {
    display: flex;
    justify-content: center;
    gap: 10px; /* Add some space between the buttons */
    margin-top: 20px;
}

.btn-home,
.btn-retry {
    background: #0037b3;
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    width: 100px;
    height: 50px; 
    border: 0;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-home:hover,
.btn-retry:hover {
    background-color: #70baff;
    color: #000000;
}

.correct {
    background: #1ad56b;
}

.incorrect {
    background: #d81717;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.5s;
}