body {
    background-color: #058D09;
    font-family: Indie Flower;
}

h1{
    color: black;
    font-size: 70px;
    font-weight: bold;
    font-family: 'Gloria Hallelujah', cursive;
}

.board {
    background-color: #02AB08;
    border: solid 1px #08AC0D;
    width: 322px;
    height: 322px;
    border-radius: 20px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 3%;
    padding: 10px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.68), inset 0px 0px 60px 5px rgba(0, 0, 0, 0.48);
}

.numberOfPlayers {
    display: ;
}

h2 {
    margin-top: 10px;
    margin-bottom: 70px;
    font-size: 50px;
}

button {
    background-color: #17320D;
    color: #02AB08;
    box-shadow: 0.7px 1px 5px 0px rgba(0, 0, 0, 0.68), inset -0.01px -0.06px 1.2px 0.01px #89847e;
    font-family: 'Gloria Hallelujah', cursive;
}

button:active {
    transform: translate(0.7px, 1px);
    box-shadow: none;
}

.numPlayers {
    width: 100px;
    margin-top: 0px;
    margin-left: 20px;
    margin-right: 20px;
}

.chooseSymbol {
    display: none;
}

.symbol {
    margin-top: 0px;
    margin-left: 25px;
    margin-right: 25px;
    height: 50px;
    width: 50px;
}

.table {
    display: none;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
}

.square {
    margin: -4px -3px;
    overflow: hidden; /*Note that without this property the div cells were slightly repositioning when a symbol was displayed in one, came to realise that overflow was causing this*/
    font-size: 90px;
    font-weight: bold;
    font-family: Indie Flower;
    line-height: 95px; /*so text appears in middle vertically (already displayed center horizontally thanks to the bootstrap class on the container)*/
    color: #091206;
    text-align: center;
    height: 100px;
    width: 100px;
    border: solid 1px black;
    display: inline-block;
    cursor: pointer;
}

.table .tableRow:first-child .square { /*NB first .tableRow child of .table was only successfuly selected when there was no space between .tableRow: and first-child; as above*/
    border-top: 0px;
}

.table .tableRow:last-child .square {
    border-bottom: 0px;
}

.table .tableRow .square:first-child {
    border-left: 0px;
}

.table .tableRow .square:last-child {
    border-right: 0px;
}

.gameFinish {
    display: none;
    height: 200px;
    width: 250px;
    border-radius: 5px;
    border: solid 1px black;
    background-color: rgba(5, 124, 9, 0.75);
    position: absolute;
    top: 145px;
    left: 50%;
    margin-left: -125px;
    padding-top: 10px;
    font-weight: bold;
}

.gameFinishMessage {
    font-size: 40px;
    color: black;
}

#restartButton {
    margin-top: 65px;
}