*  {
    margin: 0;   
    Padding: 0;
    font-family: 'POPPINS', sans-serif;
    box-sizing: border-box;
}
body {
    background-image: url(background.jpg);
    background-size: cover; /* Ensures the image covers the entire page */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-position: center center; /* Centers the image */
    height: 100vh; /* Ensures the body takes up the full viewport height */
    margin: 0; /* Removes default margin */
}
.app{
    width: 90%;
    max-width: 600px;
    margin: 100px auto 0;
    border-radius: 10px;
    padding: 30px;
    /*transparent background color*/
    background-color: rgba(255, 255, 255, 0.6); /* White with 80% opacity */
}   
.app h1{
    text-align: center;
    font-size: 25px;
    color: #001e4d;
    font-weight: 600;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}
.quiz{
    padding: 20px 0;
}
.quiz h2{
    font-size: 20px;
    color: #001e4d;
    font-weight: 600;
}
.btn{
    display: block;
    text-align: center;
    background: #f46edd, linear-gradient(to right, #f46edd, #fe8c00);
    color: #000000;
    font-weight: 500;
    width: 45%;
    border: 1px solid #222;
    padding: 10px;
    margin: 10px auto;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}
.btn:hover:not([disabled]){
    background: #222;
    color: #fff;
}
.btn:disabled{
    cursor: no-drop;
}

#siguiente{
    background: #001e4d;
    color: #fff;
    font-weight: 500;
    width: 150px;
    border: 0;
    padding: 10px;
    margin: 20px auto 0;
    border-radius: 4px;
    cursor: pointer;
    display: none;
}
.correct{
    background-color: #9aeabc ;
}
.incorrect{
    background-color: #ff1111;
}
#category-select{
    font-size: 13px;
    color: #000000;
    font-weight: 600;
    margin: 0px 0;
}

#difficulty-select{
    font-size: 13px;
    color: #000000;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 5px;
}
#home-button {
    text-align: center;
    background: #fab71a;
    color: #fff;
    font-weight: 500;
    width: 150px;
    border: 0;
    padding: 10px;
    margin: 20px auto 0;
    border-radius: 7px;
    cursor: pointer;
}

.hide {
    display: none;
}
.home-screen {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}
.scoreboard {
float: left;
    width: 100%;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#question {
    color: black;

}

#quiz-container, #answer-buttons {
    text-align: center;
    height: auto;
    overflow: visible;
}
h3 {
    color: #001e4d;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: -10px;
}
h4 {
    color: #001e4d;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 5px;
}
#reset-quiz {
    text-align: center;
    background: #ff5722;
    color: #fff;
    font-weight: 500;
    width: 150px;
    border: 0;
    padding: 10px;
    margin: 20px auto 0;
    border-radius: 7px;
    cursor: pointer;
    position: relative;
    z-index: 10; /* Ensure it appears above other elements */
}
.tooltip-js {
    position: absolute;
    background-color: #f44336; /* Red background for warning */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    display: none; /* Hidden by default */
    z-index: 1000; /* Ensure it appears above other elements */
    font-size: 14px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    pointer-events: none; /* Prevent the tooltip from blocking clicks */
}
#reset-quiz {
    position: relative; /* Position relative to the button */
    z-index: 10; /* Ensure it appears above other elements */
}
/*text inside the answer button centered*/
.btn-text {
    text-align: center;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 1.5; /* Adjust line height for vertical centering */
    font-size: 16px; /* Adjust font size as needed */
    color: #000; /* Text color */
}
.difficulty-display {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 1000;
    display: none; /* Initially hidden */
}
#mute-button {
    position: fixed;
    bottom: 10px;
    left: 10px;
    background-color: #ff5722;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    border-color:  #000000; 
    font-size: 12px;
    z-index: 1000;
    cursor: pointer;
    margin: 0px;
    width: auto;
    height: auto;
}
.question-image {
    max-width: 100%; /* Ensure the image doesn't exceed the container width */
    height: medium; /* Maintain aspect ratio */
    margin: 10px 0; /* Add some spacing around the image */
    display: block; /* Ensure the image is displayed as a block element */
}
.smallbtn {
    display: block;
    text-align: center;
    background: #f46edd, linear-gradient(to right, #f46edd, #fe8c00);
    color: #000000;
    font-weight: 500;
    width: 20%;
    border: 1px solid #222;
    padding: 10px;
    margin: 10px auto;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}
.smallbtn:hover:not([disabled]){
    background: #222;
    color: #fff;
}
.smallbtn.disabled {
    background: #ccc; /* Gray background for disabled state */
    color: #666; /* Lighter text color */
    cursor: not-allowed; /* Change cursor to indicate it's disabled */
}
.question-id {
    font-size: 0.5em; /* Make the text smaller */
    opacity: 0.5; /* Make the text semi-transparent */
    display: inline-block; /* Ensure it stays inline with the question */
    margin-right: 5px; /* Add some spacing between the ID and the question */
}

#hint-button {
    background-color: #ffeb3b; /* Slightly yellow background */
    color: #000; /* Black text for contrast */
    font-weight: 500;
    width: 150px;
    border: 1px solid #ccc; /* Light border */
    padding: 10px;
    margin: 10px auto;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

#hint-button:hover:not([disabled]) {
    background-color: #dbbc30; /* Darker yellow on hover */
    color: #000; /* Keep text black */
}
#hint-button:disabled {
    background-color: #ccc; /* Gray background for disabled state */
    color: #666; /* Lighter text color */
    cursor: not-allowed; /* Change cursor to indicate it's disabled */
}
@media (max-width: 600px) {
    #quiz-container {
        font-size: 14px;
    }
}

