/* Hangman Game Styles */

.hangman-game {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    max-width: 1424px;
    margin: 0 auto;
}

.hangman-left {
    flex: 1;
    text-align: center;
}

.hangman-gallows {
    font-family: monospace;
    font-size: 24px;
    margin-bottom: 20px;
}

.word-display {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.word-display .letter {
    font-size: 24px;
    font-weight: bold;
    margin: 0 5px;
    border-bottom: 2px solid black;
    width: 20px;
    text-align: center;
}

.word-display .space {
    border-bottom: none;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.result {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.result.win {
    color: green;
}

.result.lose {
    color: red;
}

.controls {
    margin-bottom: 20px;
}

.hangman-right {
    flex: 1;
    text-align: center;
}

.letters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.letter-btn {
    margin: 5px;
    width: 40px;
    height: 40px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.wrong-letters {
    margin-bottom: 20px;
}

.hint-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hint-text {
    margin-left: 10px;
    font-style: italic;
}
