body {
    font-family: Arial, sans-serif;
    background-color: rgb(155, 179, 231);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

#quiz-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 500px;
    text-align: center;
    position: static; /* Add this line */

}

#start-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #707174;
    color: rgb(0, 217, 255);
    cursor: pointer;
    font-size: 1cm;
    font-weight: bold;
}

#question-container h2 {
    font-size: 2cm;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#options button {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: none;
    border-radius: 5px;
    background-color: #3183db;
    color: white;
    cursor: pointer;
    font-size: 1em;
}

#options button:hover {
    background-color: #3183db;
}

#continue-btn {
    padding: 10px 20px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    background-color: #28a745;
    color: white;
    cursor: pointer;
    font-size: 1em;
    display: none;
    position: absolute; /* Add this line */
    left: 50%; /* Add this line */
    transform: translateX(-50%); /* Add this line */
}

#continue-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#message {
    margin-top: 20px;
    font-size: 1em;
    font-weight: bold;
}

#score, #timer {
    margin-top: 10px;
    font-size: large;
}

#correct-answer {
    color: red;
    font-weight: bold;
    font-size: larger;
}

/* New styling for question images */
#question-container img {
    max-width: 100%;
    height: auto;
    margin: 20px 0; /* Adds space around the image */
    display: block; /* Ensures the image is a block element */
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
    padding-top: 60px; 
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
}

#try-again-btn {
    background-color: #4CAF50; 
    color: white;
    padding: 15px 20px;
    border: none;
    cursor: pointer;
    text-align: center;
}

#try-again-btn:hover {
    background-color: #45a049;
}

