body {
    background: linear-gradient(45deg, #ff5f6d, #ffc3a0);
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

* {
    user-select: none;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
}

#hangman {
    position: absolute;
    left: 20px;
    top: 60px;
    font-size: 40px;
    color: white;
    line-height: 1.2;
}

#hangman img {
    width: 150px;
    height: auto;
}

.word {
    font-size: 3rem;
    letter-spacing: 2px;
    font-weight: bold;
    margin: 20px;
    color: white;
}

.input-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.input-container input {
    font-size: 2rem;
    padding: 10px;
    width: 50px;
    text-align: center;
    border-radius: 8px;
    border: 2px solid #ccc;
    margin-right: 10px;
}

.input-container button {
    font-size: 2rem;
    padding: 10px 20px;
    background-color: #ff6347;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.input-container button:hover {
    background-color: #ff4500;
}

.scoreboard {
    font-size: 1.5rem;
    color: white;
    margin-top: 20px;
}

.back-button {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    background-color: transparent;
    border: none;
    color: white;
    cursor: pointer;
}

.back-button:hover {
    text-decoration: underline;
}