*{
    box-sizing: border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
}

.clear{
    clear: both;
}

.container{
    margin: 20px auto;
    width: 1000px;
}

.row{
    display: flex;
}

hr{
    border: 1px solid #EEE;
}

.gameinfo{
    display: flex;
}

.gameinfo .gamename{
    flex: 1;
}

.gameinfo .category{
    flex: 1;
    text-align: right;
}

.gameinfo .category span{
    text-transform: capitalize;
    color: #E91E63;
    font-weight: bold;
}

.hangmandraw{
    flex: 1;
    background-color: #F8F8F8;
    padding: 20px;
    height: 324px;
}

.hangmandraw .thedraw{
    width: 60px;
    height: 280px;
    border-bottom: 4px solid #222;
    position: relative;
    margin: auto;
    left: -60px;
    display: none;
}

.hangmandraw .stand{
    content: '';
    position: absolute;
    width: 4px;
    background-color: #222;
    height: 100%;
    left: 50%;
    margin-left: -2px;
    display: none;
}

.hangmandraw .hang{
    display: none;
}
.hangmandraw .hang::before{
    content: '';
    position: absolute;
    height: 4px;
    background-color: #222;
    width: 100px;
    left: 30px;
    top: 15px;
}

.hangmandraw .hang::after{
    content: '';
    position: absolute;
    background-color: #222;
    width: 4px;
    height: 30px;
    left: 130px;
    top: 15px;
}

.hangmandraw .rope{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    position: relative;
    border: 4px dashed #222;
    left: 95px;
    top: 45px;
    display: none;
}

.hangmandraw .man .head{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 4px solid #222;
    position: absolute;
    left: 105px;
    top: 55px;
    display: none;
}

.hangmandraw .man .body{
    position: absolute;
    background-color: #222;
    width: 4px;
    height: 110px;
    top: 102px;
    left: 128px;
    display: none;
}

.hangmandraw .hands{
    display: none;
}

.hangmandraw .man .hands::before{
    content:'';
    width: 50px;
    position: absolute;
    height: 4px;
    background-color: #222;
    transform: rotate(30deg);
    top: 140px;
    left: 85px;
}

.hangmandraw .man .hands::after{
    content:'';
    width: 50px;
    position: absolute;
    height: 4px;
    background-color: #222;
    transform: rotate(-30deg);
    top: 140px;
    left: 128px;
}

.hangmandraw .legs{
    display: none;
}
.hangmandraw .man .legs::before{
    content:'';
    width: 50px;
    position: absolute;
    height: 4px;
    background-color: #222;
    transform: rotate(-30deg);
    top: 220px;
    left: 85px;
}

.hangmandraw .man .legs::after{
    content:'';
    width: 50px;
    position: absolute;
    height: 4px;
    background-color: #222;
    transform: rotate(30deg);
    top: 220px;
    left: 128px;
}

.hangmandraw.wrong-1 .thedraw{
    display: block;
}

.hangmandraw.wrong-2 .stand{
    display: block;
}

.hangmandraw.wrong-3 .hang{
    display: block;
}

.hangmandraw.wrong-4 .rope{
    display: block;
}

.hangmandraw.wrong-5 .head{
    display: block;
}

.hangmandraw.wrong-6 .body{
    display: block;
}

.hangmandraw.wrong-7 .hands{
    display: block;
}

.hangmandraw.wrong-8 .legs{
    display: block;
}

.letters{
    flex: 1;
    padding: 15;
    text-align: center;
    margin: auto;
}

.letters.finished{
    pointer-events: none;
}

.letters .letterBox{
    display: inline-block;
    width: 55px;
    height: 55px;
    background-color: #009688;
    color: #FFF;
    font-size: 24px;
    margin-right: 10px;
    line-height: 55px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
}

.letterguess{
    margin: 10px auto;
    background-color: #F8F8F8;
    padding: 20px;
    display: flex;
    justify-content: center;
    min-height: 104px;
}

.letterguess span{
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin-right: 10px;
    text-align: center;
    line-height: 60px;
    text-transform: uppercase;
    font-weight: bold;
    background-color: #FDFDFD;
    border-bottom: 3px solid #222;
    transition: .3s;
}

.letterguess .hasspace{
    border-bottom: none;
    background: none;
    position: relative;
}

.letterguess .hasspace::before{
    content: '';
    width: 20px;
    height: 4px;
    background-color: #222;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.letters .letterBox.click{
    pointer-events: none;
    opacity: .2;
    background-color: #222;
}

.popup{
    position: fixed;
    background-color: #00968791;
    padding: 100px 20px;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    text-align: center;
    font-size: 50px;
    border: 1px solid #CCC;
    color: #FFF;
    padding-top: 200px;
}

.popup .btngameover{
    width: 150px;
    height: 50px;
    display: block;
    color: #009688;
    border-radius: 10%;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -60%);
    cursor: pointer;
    outline: none;
}

