body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 600px;
}

h1 {
    color: #a00; /* Kırmızımsı bir hukuk teması rengi */
}

#hangman-img {
    width: 150px;
    height: auto;
    margin: 20px 0;
}

.word-display {
    font-size: 2em;
    letter-spacing: 15px; /* Harfler arasında boşluk bırakır */
    margin: 20px 0 30px;
    font-weight: bold;
}

.word-display span {
    border-bottom: 3px solid #ccc;
    padding: 0 5px;
}

/* Tire işareti için alt çizgiyi kaldırır */
.word-display span:has(span[style*="font-size: 0;"]) {
    border-bottom: none;
}

.guess-area input, .guess-area button {
    padding: 10px 15px;
    font-size: 1em;
    margin: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.guess-area button {
    background-color: #5c85d6; /* Mavi, resmi bir renk */
    color: white;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
}

.guess-area button:hover {
    background-color: #436bbd;
}

#message-area {
    margin: 15px 0;
    font-weight: bold;
    color: #555;
}

#guessed-letters-area {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}

#new-game-button {
    background-color: #4CAF50; /* Yeşil */
    color: white;
    padding: 10px 20px;
    margin-top: 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
}

#new-game-button.hidden {
    display: none;
}