body{
    display: flex;
    justify-content: center;
    padding: 0 10px;
    align-items: center;
    min-height: 100vh;
    background-color: #5E63BA;
}
.container{
    width: 860px;
    background: #fff;
    display: flex;
    padding: 60px 40px;
    gap: 70px;
    align-items: flex-end;
    border-radius: 10px;
    justify-content: center;
}
.hangman-box img{
    max-width: 270px;
}
.hangman-box h1{
    font-size: 1.45rem;
    margin: 20px 0px 0px 0px;
    text-align: center;
    text-emphasis: uppercase;
}
.word-display{
    display: flex;
    gap: 10px;
    list-style: none;
    align-items: center;
    justify-content: center;
}
.word-display .letter{
    width: 28px;
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 3px solid #000;
}
.word-display .letter.guessed{
    border-color: transparent;
    margin: -40px 0 35px;
}
.game-box h4{
    text-align:center;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
}
.game-box h4 b{
    font-weight: 600;
}
.game-box .guesses-text b{
    color: red;
}
.game-box .keyboard{
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 40px;
    justify-content: center;
}
:where(.game-modal, .keyboard) button{
    
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #5E63BA;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    border: none;
}
.keyboard button{
    padding: 7px;
    width: calc(100% / 9 - 5px);
}
:where(.game-modal, .keyboard) button:hover{
    background-color: #8286c9;
}

.game-modal{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0,0,0.6);
}
.game-modal .content{
    background: #fff;
    max-width: 420px;
    width: 100%;
    text-align: center;
    border-radius: 10px;
    padding: 30px;
}
.game-modal img{
    max-width: 130px;
    margin-bottom: 20px;
}
.game-modal h4{
    font-size: 1.53rem;
}
.game-modal p {
    font-size: 1.15rem;
    margin: 15px 0 30px;
    font-weight: 500;
}
.game-modal p b{
    font-weight: 600;
    color: #5E63BA;
}
.game-modal button{
    padding: 12px 23px;
}
.scol-12{
    width: 100%;
}

.clearCanvasSignature{
    background-color: #064B73 !important; 
    padding: 13px 34px !important;
    color: #ffffff !important;
    font-size: 17px !important;
    text-align: center !important;
    font-weight: 600 !important;
    line-height: 22px;
    border: none; 
    display: block;
    margin: auto;
}
.sig_main .name, .sig_main .date{
    width: 100%;
    padding: 8px;
    margin: 0px 0px 10px 0px;
}