@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
        
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background-image: linear-gradient(to left, #BDBBBE 0%, #9D9EA3 100%), radial-gradient(88% 271%, rgba(255, 255, 255, 0.25) 0%, rgba(254, 254, 254, 0.25) 1%, rgba(0, 0, 0, 0.25) 100%), radial-gradient(50% 100%, rgba(255, 255, 255, 0.30) 0%, rgba(0, 0, 0, 0.30) 100%);
    background-blend-mode: normal, lighten, soft-light;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffff;
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.container > h1 {
    font-size: 40px;
    color: #2d2d2d;
    text-shadow: #eaeaea 1px 1px; 
}

.hangman-box img {
    width: 150px;
    margin-top: 20px;
    height: auto;
}

.game-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.word-display {
    display: flex;
    margin: 20px 0;
    list-style: none;
}

.word-display li {
    margin: 0 5px;
    font-size: 30px;
    border-bottom: 2px solid #000;
    width: 30px;
    text-align: center;
}

.letter.guessed {
    border-bottom: none;
}

.keyboard {
    display: flex;
    flex-wrap: wrap;
    max-width: 500px;
    justify-content: center;
    margin-top: 10px;
}

.keyboard button {
    margin: 5px;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    width: 40px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background-color: #ffff;
}

.keyboard button:hover {
    background-color: #9D9EA3;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.modal-content img {
    width: 100px;
    height: auto;
}

.modal-content button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 18px;
}