body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100dvh;
}

.game {
    display: flex;
}

#keyboard {
    padding: 5px;
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    column-gap: 5px;
    row-gap: 5px;
    width: 600px;
}

#keyboard button {
    width: 40px;
    height: 40px;

}

.box {
    border: 1px solid #dedede;
}

#left {
    width: 400px;
    height: 300px;
    margin-right: 10px;
    display: flex;
    flex-direction: column;
  gap: 2px;
  justify-content: center;
  align-items: center;
}

.line {
    width: 100%;
        display: flex;
  gap: 2px;
  justify-content: center;
  align-items: center;
}

#right {
    width: 200px;
    height: 300px;
    display: flex;
    justify-content: center;

}

.hangman-body {
    border: 1px solid #000;
    position: absolute;
}

#head{
    width: 80px;
    height: 80px;
    border-radius: 100%;
    margin-top: 30px;
    background-color: #000;
}

#body {
    height: 120px;
    margin-top: 100px;
    margin-right: 0px;
    margin-top: 110px;
}

#left-hand {
    height: 80px;
    margin-top: 110px;
    margin-left: 56px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}

#right-hand {
    height: 80px;
    margin-top: 110px;
    margin-right: 56px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


#left-leg {
    height: 80px;
    margin-top: 216px;
    margin-left: 56px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}

#right-leg {
    height: 80px;
    margin-top: 216px;
    margin-right: 56px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.letter {
    width: 55px;
    height: 55px;
    border: 1px solid #A0A0A0;
    font-size: 50px;
    text-align: center;
    text-transform: uppercase;
}

.box-letter {
    width: 50px;
    height : 50px;
    border: 1px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: bold;
}

.red {
    border-color: red !important;
    background-color: red !important;
    color: red !important;
}