/* Styling for the Word Guess game with colorful 3D letters */
body {
    margin: 0;
    overflow: hidden;
    background: linear-gradient(to bottom, #87CEEB, #ADD8E6);
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: white;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

#game-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
}

.logo {
    position: static;
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 10px 0;
}

#input-container {
    position: static;
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#guess-input {
    padding: 10px;
    font-size: 16px;
    width: 100%;
    max-width: 250px;
    border: none;
    border-radius: 5px;
    outline: none;
    text-align: center;
}

#guess-button, #start-button {
    padding: 12px 24px;
    font-size: 16px;
    width: 80%;
    max-width: 200px;
    background-color: #ff6f61;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    margin-top: 5px;
}

#guess-button:hover, #start-button:hover {
    background-color: #ff8a80;
}

#message-area {
    margin-top: 20px;
    font-size: clamp(18px, 4vw, 24px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0 10px;
}

#word-display {
    /* The line below was removed or changed */
    /* display: none; */
    font-size: 40px; /* Example: set a font size to make it more visible */
    margin: 20px 0; /* Example: add some spacing */
    letter-spacing: 15px; /* Example: add space between letters */
    font-weight: bold;
}

#level-display {
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin-bottom: 10px;
    /* Added to ensure it's not hidden by other rules */
    display: block;
}

/* Also ensure your word-display is visible, as mentioned before */
#word-display {
    font-size: 40px;
    margin: 20px 0;
    letter-spacing: 15px;
    font-weight: bold;
    display: block; /* Explicitly set to block */
}

.animated-heading {
    animation: pulse-color 3s infinite alternate;
}

@keyframes pulse-color {
    0% {
        color: #ffffff;
        transform: scale(1);
    }
    50% {
        color: #ffeb3b;
    }
    100% {
        color: #ffffff;
        transform: scale(1.05);
    }
}

/* Media queries for specific breakpoints */
@media (min-width: 768px) {
    .logo {
        position: absolute;
        top: 10px;
        left: 10px;
        max-width: 150px;
        margin-bottom: 0;
    }

    #input-container {
        position: absolute;
        top: 80px;
        flex-direction: row;
        gap: 10px;
    }

    #guess-input {
        width: auto;
    }

    #guess-button, #start-button {
        width: auto;
    }
}








