body {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 1.5rem;
    height: 100vh;
    background-image: url('2150061737.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    justify-content: center;
    box-sizing: border-box;
    font-size: 16px;
    color: white;
}

@keyframes gradientBG {
100% {background-position: 50% 50%;}

}
h1 {
    font-size: clamp(2.5rem, 10vw, 6em);
    margin-bottom: 20px;
    text-shadow: 5px 5px 5px rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    background-color: rgba(115, 69, 241, 0.685);
    padding: 3vw 3%;
    border-radius: 25px;
    box-shadow: 0 0 20px black;
    width: 90%;
    max-width: 700px;
    margin: 20px auto;
}

p {
    font-size: clamp(1.2rem, 5vw, 2em);  
    font-weight: bold;
    text-shadow: 2px 2px 2px rgb(111, 91, 199);
    background-color: rgba(36, 98, 231, 0.705);
    padding: 2vw 2%;
    border-radius: 20px;
    box-shadow: 0 0 20px black;
    width: 90%;
    max-width: 600px;
    margin: 10px auto;
    color: white;
}

.controls-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on very small screens */
    margin: 20px auto;
    width: 90%;
    max-width: 600px;
}

input {
    padding: 15px;
    font-size: clamp(1rem, 4vw, 1.5em);
    border-radius: 10px;
    border: none;
    margin: 10px;
    max-width: 200px;
    width:100%;
    background-color: rgba(255, 255, 255, 0.836);
    flex-grow: 1;
    min-width: 150px;
    max-width: 250px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

button {
    min-height: 44px;
    padding: 12px 20px;
    font-size: clamp(1em, 3vw, 1.2rem);
    margin: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}

#submitBtn {
    background-color: rgba(255, 255, 0, 0.85);
    color: black;
    border: 3px solid black;
    border-radius: 10px;
    font-weight: bold;
}

#submitBtn:hover {
    background-color: #ffcc00; 
}

#restartBtn {
    background-color: rgba(144, 238, 144, 0.8);
    border: 3px solid black;
}

#restartBtn:hover {
    background-color: #8ce98c;
}

#feedback {
    font-size: clamp(1.2rem, 5vw, 2em);
    font-weight: bold;
    text-shadow: 2px 2px 5px black;
    margin-top: 20px;    
    color: rgb(241, 106, 241);
    max-width: 90%;
    background-color: transparent; 
    box-shadow: none;
}

#guessCount {
    font-weight: bold;
    color: white; 
    background-color: transparent; 
    box-shadow: none;

}
/* Media Query for larger screens (e.g., tablet landscape and desktop) */
@media (min-width: 768px) {
    body {
        padding: 40px;
    }
    .controls-container {
        /* Reduce margin between elements on larger screens */
        gap: 15px; 
    }
    
}














