body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #f06, #ffba00);
    color: white;
}

#main-menu, #game-screen, #game-over-popup, #score-list {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 15px;
    color: white;
    font-size: 1.5em; /* Increase the font size */
    max-width: 90%; /* Ensure it fits within the screen */
    box-sizing: border-box; /* Include padding in width */
}

#play-button, #submit-answer, #save-score-button, #view-scores-button, #back-button {
    padding: 15px 30px;
    margin-top: 30px;
    background-color: #28a745;
    border: none;
    color: white;
    font-size: 1.5em; /* Increase the font size */
    cursor: pointer;
    border-radius: 15px; /* Rounded corners */
    width: 100%; /* Full width buttons on smaller screens */
    max-width: 300px; /* Maximum width for larger screens */
}

#score-time {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    flex-wrap: wrap; /* Wrap items on smaller screens */
}

#question {
    font-size: 2em;
    margin-bottom: 30px;
}

#answer, #playername {
    padding: 15px;
    font-size: 1.5em; /* Increase the font size */
    border-radius: 10px; /* Rounded corners */
    width: 100%; /* Full width input fields on smaller screens */
    max-width: 300px; /* Maximum width for larger screens */
}

#scores-container {
    max-height: 300px;
    text-align: left;
    border-left: 10px;
    overflow-y: scroll;
    margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #main-menu, #game-screen, #game-over-popup, #score-list {
        font-size: 1.2em; /* Slightly smaller font size for tablets */
    }

    #play-button, #submit-answer, #save-score-button, #view-scores-button, #back-button {
        font-size: 1.2em; /* Adjust button font size */
    }

    #question {
        font-size: 1.5em; /* Adjust question font size */
    }
}

@media (max-width: 480px) {
    #main-menu, #game-screen, #game-over-popup, #score-list {
        font-size: 1em; /* Smaller font size for phones */
    }

    #play-button, #submit-answer, #save-score-button, #view-scores-button, #back-button {
        font-size: 1em; /* Adjust button font size */
    }

    #question {
        font-size: 1.2em; /* Adjust question font size */
    }

    #score-time {
        flex-direction: column; /* Stack items vertically on smaller screens */
    }
}

.menu {
  position: relative;
}

.made-by {
  position: absolute;
  bottom: -15px; /* Move the text down */
  right: 10px;
  font-size: 0.8em;
  color: #ccc; /* Light gray color */
}

#dont-save-button {
    padding: 15px 30px;
    margin-top: 30px;
    background-color: #dc3545; /* Red color for consistency */
    border: none;
    color: white;
    font-size: 1.5em; /* Match the font size of other buttons */
    cursor: pointer;
    border-radius: 15px; /* Rounded corners */
    width: 100%; /* Full width buttons on smaller screens */
    max-width: 300px; /* Maximum width for larger screens */
}

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}