/* General Body Styling */
body {
    background-color: #000;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Changed from height to avoid overflow */
    text-align: center;
    padding: 20px; /* Added padding for smaller screens */
    box-sizing: border-box; /* Ensure padding doesn't affect dimensions */
}

/* Container for Content */
.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 10px; /* Added padding for spacing */
}

/* Title Styling */
h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
    word-wrap: break-word; /* Ensure long titles wrap properly */
}

/* Styling for Riddle Text */
#riddle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    word-wrap: break-word;
}

/* Styling for Solution Text */
#solution {
    font-size: 1.1rem;
    font-style: italic;
    margin-top: 10px;
    word-wrap: break-word;
}

/* Styling for "Come bakh tomorrow" message */
#come-back-message {
    font-size: 1rem;
    color: #aaa; /* Subtle grey color for less emphasis */
    margin-top: 15px;
    font-style: italic;
}

/* Button Styling */
button {
    background-color: #1a1a1a;
    color: #fff;
    border: 2px solid #444;
    border-radius: 8px;
    padding: 10px 20px;
    margin: 15px auto;
    display: block;
    cursor: pointer;
    font-size: 1rem; /* Adjusted font size */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Button Hover Effect */
button:hover {
    background-color: #444;
    border-color: #666;
    transform: scale(1.05);
}

/* Button Active Effect */
button:active {
    background-color: #333;
    transform: scale(1.02);
}

/* Media Queries for Smaller Screens */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    #riddle {
        font-size: 1rem;
    }
    button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    #riddle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
