html{
    width: 100%;
    height: 100%;
}

body{
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-image: url(../img/bg_light.png);
}
#gameContainer{
    margin-top: -7px;
}
#board{

}


#gameModeSelection{
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border: solid 1px #333;
    border-radius: 0.5rem;
    transform: translate(-50%, -50%);
    font-family: sans-serif;
}

#gameModeSelection button{
    padding: 1rem;
    font-size: 1.3rem;
    border-radius: 0.5rem;
}


#gameModeSelection button:hover{
    background-color: #aaa;
}


#levelSelection{
    margin-top: 0.7rem;
    display: none;
}



#gameMessage{
    text-align: center;
    margin: 0 auto;
    transform: translateY(-50%);
    font-size: 2.5rem;
    font-weight: bold;
    font-family: sans-serif;
    color: black;
    width: 600px;
    display: block;
    position:relative;
    top: -50%;
    background-color: white;
    height: 200px;
    line-height: 2.2;
    border-radius: 10px;
    border: 2px solid green;
    padding-top: 20px;
    display: none;
}



#restartGameDiv{
    position: fixed;
    top: 30px;
    left: 15px;
    transform: translateY(-50%);
}


#restartGameDiv button {
    display: none;
    background-color: #2FBF2A;
    border: 2px solid #22821E;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 3px #333;
    text-align: center;
    padding: 10px;
    display: inline-block;
    border-radius: 6px;
    font-size: 14pt;
    box-shadow: 1px 1px 4px #3e3e3e;
}

#turnIndicator{
    background-image: url(../img/chesspieces/wTurn.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position:right;
    position: absolute;
    height: 160px;
    width: 167px;
    top: 30%;
    left: 0;
    display: block;
}

#thinkingMessage{
    background-image: url(../img/chesspieces/bTurn.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position:right;
    position: absolute;
    height: 160px;
    width: 167px;
    top: 30%;
    left: 0;
    display: none;
    z-index: 1;
}

#checkStatus{
    background-image: url(../img/chesspieces/check.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
    position: absolute;
    height: 160px;
    width: 157px;
    top: 30%;
    right: 0;
    display: none;
    z-index: 1;
}

#checkmateStatus{
    background-image: url(../img/chesspieces/checkmate.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
    position: absolute;
    height: 160px;
    width: 157px;
    top: 30%;
    right: 0;
    display: none;
    z-index: 1;
}


#winBanner{
    background-image: url(../img/chesspieces/bWin.png);
/*    background-image: url(../img/chesspieces/wWin.png);*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
    position: absolute;
    height: 360px;
    width: 187px;
    top: 20%;
    left: -5;
    display: none;
    z-index: 1;
}


.checkmate {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' preserveAspectRatio='none' viewBox='0 0 100 100'><path d='M100 0 L0 100 ' stroke='red' stroke-width='10'/><path d='M0 0 L100 100 ' stroke='red' stroke-width='10'/></svg>");
    background-repeat:no-repeat;
    background-position:center center;
    background-size: 100% 100%, auto;
}
