body {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    justify-content: center;
    background-color: #101010;
    color: #cfcfcf;
}

A {
    color: inherit;
}

h1 {
    font-size: 1.75em;
}

.top {
    height: 80px;
    width: 100%;
}

#title{
    line-height: 45px;
    display: none;
}

#scoreboard {
    display: flex;
    font-size: 1.75em;
    width: min(95vw, 71vh);
}

.scoreEntry{
    width: calc( min(95vw, 71vh) / 3);
}

.scoreLabel{
    font-size: 12px !important;
    margin-top: 10px;
}

#board {
    z-index: 0;
}

.positionTransformCenter {
    margin: auto;

}

.boardContainer {
    display: grid;
    grid-template-columns: auto auto auto;
    width: min(95vw, 71vh);
    height: min(95vw, 71vh);
    gap: calc(0.7vw + 10px);
    background-color: #e8e8e8;
}

.boardSpot {
    background-color: #101010;
    /*same as body background but can't use inherit*/
    border: 10px rgb(255, 255, 255);
    width: calc(calc( min(95vw, 71vh) - calc(0.7vw + 10px) * 2) / 3);
    height: calc(calc( min(95vw, 71vh) - calc(0.7vw + 10px) * 2) / 3);
}

.firstMoveSelected {
    background-color: #e8e8e8;
    color: #101010;
}

.firstMoveSelectionGrid {
    display: grid;
    grid-template-columns: auto auto auto;
    width: 300px;
    cursor: pointer;
}

.firstMoveSelectionBox {
    width: 100px;
}

.playerCountSelectionBox {
    width: 150px;
    margin-top: 6px;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #00000000;
}

::-webkit-scrollbar-thumb {
    background: #808080;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}

.gamePieceImaginary {
    opacity: 0;
    cursor: pointer;
}

.gamePieceImaginary:hover {
    opacity: 0.25;
}

@media (pointer: coarse) {
    .gamePieceImaginary:hover {
        opacity: 0;
    }
}

.gamePieceDisplay {
    opacity: 1;
}

.gamePieceCenter {
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.gamePieceO {
    border-radius: 50%/50%;
    width: 40%;
    height: 40%;
    border: calc(0.7vw + 10px) solid white;
    background: #00000000;
}

.gamePieceX {
    position: relative;
    height: 80%;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: inherit;
}

.gamePieceX::before,
.gamePieceX::after {
    position: absolute;
    content: '';
    width: 100%;
    height: calc(0.7vw + 10px);
    background-color: white;
}

.gamePieceX::before {
    transform: rotate(45deg);
}

.gamePieceX::after {
    transform: rotate(-45deg);
}