body {
    font-family: Arial, sans-serif;
    text-align: center;
}

#message {
    margin-top: 30px;
    height: 20px;
}

#message span {
    color: #4CAF50;
    font-weight: bold;
}

#gameContainer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

#gallows {
    width: 100px;
    height: 200px;
    position: relative;
    margin-right: 20px;
}

#word {
    font-size: 24px;
    margin: 20px;
}

.part {
    position: absolute;
    background-color: rgb(248, 188, 115);
    border-radius: 50%;
}

.head {
    width: 30px;
    height: 30px;
    top: 36px;
    left: 77px;
}

.body {
    width: 10px;
    height: 60px;
    top: 66px;
    left: 87px;
}

.arm {
    width: 10px;
    height: 40px;
    top: 69px;
}

.leftArm {
    transform: rotate(-30deg); 
    left: 100px;
}

.rightArm {
    transform: rotate(30deg);
    left: 74px;
}

.leg {
    width: 10px;
    height: 55px;
    top: 113px;
}

.leftLeg {
    transform: rotate(10deg); 
    left: 80px;
}

.rightLeg {
    transform: rotate(-10deg);
    left: 94px;
}

.gallowsStructure {
    position: absolute;
    width: 100px;
    height: 200px;
    border-left: 5px solid rgb(57, 34, 4);
    border-top: 5px solid rgb(57, 34, 4);
    left: 0;
    top: 0;
}

.crossbar {
    width: 5px; 
    height: 30px;
    background-color: rgb(157, 136, 98);
    position: absolute;
    top: 0;
    left: 85px;
}

.vertical {
    height: 200px;
    width: 5px; 
    background-color: rgb(57, 34, 4);
    position: absolute;
    left: 0;
}

.horizontal {
    width: 50px;
    height: 5px;
    background-color: rgb(57, 34, 4);
    position: absolute;
    top: 0;
    left: 10px;
}

#keyboard {
    margin-top: 20px;
}

.keyboard-row {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.key {
    margin: 5px;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.key.correct {
    background-color: #4CAF50; 
    color: white;
    cursor: not-allowed;
}

.key.incorrect {
    background-color: #9E9E9E;
    color: white;
    cursor: not-allowed;
}
#restartButton {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
}

#restartButton:hover {
    background-color: #45a049;
}
#stats {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 20px;
}

.stat {
    text-align: center;
}

.stat-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.stat-label {
    margin-top: 5px;
    font-size: 14px;
    color: #333;
}

.base {
    width: 85px;
    height: 5px;
    background-color: rgb(57, 34, 4);
    position: absolute;
    bottom: 0;
    left: 15px;
}

.vertical {
    height: 180px;
    width: 5px;
    background-color: rgb(57, 34, 4);
    position: absolute;
    bottom: 0;
    left: 25px;
}

.horizontal {
    width: 75px;
    height: 5px;
    background-color: rgb(57, 34, 4);
    position: absolute;
    top: 15px;
    left: 25px;
}

.rope {
    width: 5px;
    height: 20px;
    background-color: #8B4513;
    position: absolute;
    top: 20px;
    left: 90px;
}