table {
    margin: 10px;
    border-collapse: collapse;
}

table,td.board {
    border: 1px solid black;
}
 
td {
    height: 65px;
    width: 65px;
}

body {
    padding: 0px; 
    margin: 0px;
    background-color: #ead7b7;
}

nav {
    background-color: darkred;
    color: #FAF0E6;
    height: 100px;
}

#navleft {
    float: left;
    padding-left: 30px;
    font-size: 30px; 
    color: white; 
}

.turnCnt {
    padding-left: "15px";
    padding-right: "115px";
}

.centered {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.content {
    padding: 40px; 
}

.topdiv {
    float: right;
    padding-right: 1cm;
    padding-top: 35px; 
}

.topmenu {
    color: lightgray;
    margin: 10px;
    padding: 20px;
    font-size: 20px;
    text-decoration:none;
}
  
.topmenu:hover {
    color: white;
    font-weight: bolder; 
    text-decoration: underline;
}

.funcBtn {
    height: 50px;
    font-size: 20px;
    float: left; 
}

#movesRecords {
    border: none;
}

#movesRecords tbody {
    font-size: medium;
    text-align: center;
}

#movesRecords tbody tr td {
    height: 30px;
}
 
div.pieces {
    margin: 5px;
    height: 50px;
    width: 50px;
    border: 1px solid black;
    border-radius: 25px;

    text-align: center;
    font-family: Cursive;
    font-size: 2.0em;
    background-color: #FAF0E6;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.pieces:hover {
    cursor: pointer;
}

div.pieces.fog-hidden {
    color: transparent;
    background:
        repeating-linear-gradient(135deg, #8d8f8d 0 6px, #747874 6px 12px);
    border-color: #555b55;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

div.pieces.fog-hidden::after {
    color: #f4efe4;
    content: "?";
    font-family: Arial, sans-serif;
    font-size: 1.2em;
    font-weight: bold;
}

div.pieces.fog-visible-enemy {
    box-shadow: 0 0 0 3px rgba(25, 105, 176, 0.35);
}

div.pieces.fog-exposed {
    box-shadow: 0 0 0 4px rgba(183, 111, 31, 0.55);
}

div.pieces.fog-threatened {
    border-color: #ba1b1d;
    box-shadow: 0 0 0 4px rgba(186, 27, 29, 0.45);
}

div.pieces.selected-piece {
    background-color: #B0E0E6;
}

td.fog-cell {
    background-color: rgba(74, 87, 71, 0.16);
}

#fogText {
    color: #402b19;
    font-size: 17px;
    line-height: 1.35;
}

div.red {
    color: red; 
}

div.black {
    color: black; 
}

.endgame-index {
    margin-left: 400px;
}

#endgame-selector {
    width: 500px;
    height: 30px;
}
