/* Reset some default styles */
body,
h1,
h2,
p,
ul {
    color: white;
    margin: 0;
    padding: 0;
}
#hmain{
    font-size: xx-large;
    color: turquoise;
}
body {
    font-family: Arial, sans-serif;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    text-align: center;
}

.container {
    
    background: rgb(53, 52, 52);
    padding: 5%;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 50%;
}

h1 {
    margin-bottom: 20px;
}

#questiontext{
    margin-bottom: 20px;
    color: #ddff00;
}
#quizcontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#questioncontainer {
    margin-bottom: 20px;
    width: 90%;
}

ul {
    list-style-type: none;
    padding: 0;
    width: 100%;
}

.correct {
    background-color: #94e69d 

}

.wrong {
    background-color: #ff755a 
}

.correct:hover {
    background-color: #78f887 

}

.wrong:hover {
    background-color: #fe502d 
}
.disabled {
    pointer-events: none;
}

li {
    color: #000000;
    background: #ddd;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}
#nextbtn{
margin-top: 10px;
}
#score{
    color: #ff0000;
    font-size: 20px;
   margin-top: 10px; 
    margin-bottom: 20px;
}
li:hover {
    background: #8ba0fb;
}

button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    width: 100%;
    max-width: 300px;
}

button:hover {
    background-color: #0056b3;
}

.hidden {
    display: none;
}
#resultcontainer {
    margin-top: 20px;
}

/* 📱 Responsive Design */
@media screen and (max-width: 768px) {
 
    .container{
        width: 90vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    h1 {
        font-size: 22px;
    }

    li {
        font-size: 16px;
        padding: 12px;
    }

    button { 
        width: max-content
        margin-top: 20px;
        padding: 8px;
       
    }
}

@media screen and (max-width: 480px) {
    .container{
        width: 90%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    h1 {
        font-size: 20px;
    }

    ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    li {
        font-size: 14px;
        padding: 10px;
        width: 70%;
    }

    button {
        display: inline;
        margin-top: 20px;
        font-size: 12px;
        padding: 6px;
        width: max-content;
        height: 5vh;
    }
};
