body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f0f4f8;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding-top: 80px;
    padding-bottom: 70px;
    box-sizing: border-box; 
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

header h1 {
    margin: 0;
    font-size: 2rem;
     color: white;
}

.container {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 400px;
}

h1 {
    color: #2c3e50;
    margin-top: 0;
}

p {
    font-size: 1.1rem;
    line-height: 1.5;
}

.input-area {
    display: flex;
    margin: 1.5rem 0;
    gap: 0.5rem;
}
#guessInput {
    flex-grow: 1;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

#guessInput::-webkit-outer-spin-button,
#guessInput::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}
#guessBtn {
    background-color: #3498db;
    color: white;
}
#guessBtn:hover {
    background-color: #2980b9;
}

#hintBtn {
    background-color: #f39c12;
    color: white;
    margin-top: 0.5rem;
}
#hintBtn:hover {
    background-color: #e67e22;
}
#hintBtn:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}
#restartBtn {
    background-color: #2ecc71;
    color: white;
    width: 100%;
    margin-top: 1rem;
}
#restartBtn:hover {
    background-color: #27ae60;
}
#message {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 1.5rem;
    min-height: 1.5rem;
}

.hidden {
    display: none;
}

footer {
    background-color: #34495e;
    color: #ecf0f1;
    text-align: center;
    padding: 1.5rem 0;
    text-align: center;
    width: 100%;
    position: fixed; 
    bottom: 0;
    left: 0;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    color: white;
    
}