html, body {
    height: 100%;
    width: 100%;
    text-align: center;
    font-family: 'Russo One', sans-serif;
    background-color: #f9f9dae8;
    color: rgb(204, 0, 0);
    text-shadow: -3.5px 0 black, 0 3.5px black, 3.5px 0 black, 0 -3.5px black;
    letter-spacing: 5px;
}

#title {
    font-size: 80px;
}

/* Left side info display and rest button */
.container {
    display:grid;
    grid-template-columns: 40% 50%;
    grid-template-rows: auto;
}

#info-display {
    display: flex;
    flex-direction: column;
    align-items:flex-end;
}

.header {
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

#move-display {
    padding-right: 10px;
}

.captures {
    display: grid;
    grid-template-rows: 50% 50%;
    grid-template-columns: 260px 260px;
    justify-items: center;
    padding-bottom: 15%;
}

#reset {
    border: none;
    border-radius: 15px;
    height: 40px;
    width: 100px;
    cursor: pointer;
    background-color: rgb(255, 0, 0);
    color:rgb(0, 0, 0);
    font-family: 'Russo One', 'Sans-serif';
    font-size: 18px;
    margin-right: 15px;
}

/* Board */
#board {
    align-self: right;
}

.square {
    height: 65px;
    width: 65px;
    border: 1px solid black;
    padding: 10px;
}

.row {
    display: flex;
    justify-content: center;
}

.null {
    background-color: none;
}

.light {
    background-color: burlywood;
}

.dark {
    background-color: black;
}

.blackPiece {
    background: black url(../img/blackPiece.png);
}

.redPiece {
    background: black url(../img/redPiece.png);
}

.redKing {
    background: black url(../img/redKing.png);
}

.blackKing {
    background: black url(../img/blackKing.png);
}

.blackPiece, .redPiece, .redKing, .blackKing {
    background-size: cover;
    cursor: pointer;
}

.selected {
    background-color: rgb(246, 255, 0);
}

@media only screen and (max-width: 1280px) {
    .container {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .square {
        height: 30px;
        width: 30px;
        border: 1px solid black;
        padding: 10px;
    }

    #board {
        padding-right: 0;
    }

    .captures {
        grid-template-columns: 150px 150px;
        padding-bottom: 5%;
    }

    #reset {
        margin: auto
    }

    #move-display {
        margin: auto;
    }

    .header {
        font-size: smaller;
    }
}

@media only screen and (max-width: 468px) {
    body {
        letter-spacing: 1px;
    }

    #title {
        font-size: 50px;
    }

    .container {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .square {
        height: 18px;
        width: 18px;
        border: 1px solid black;
        padding: 10px;
    }

    #board {
        padding-right: 0;
    }

    .captures {
        grid-template-columns: 150px 150px;
        padding-bottom: 5%;
    }

    #reset {
        margin: auto
    }

    #move-display {
        margin: auto;
    }

    .header {
        font-size: 14px;
    }
}