


.allNextGamesTableContainer,
.allPreviousGamesTableContainer {
    font-family: var(--font);
}

.allPreviousGamesTable {
    display: grid;
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    text-align: center;
}

.allNextGamesTable {
    display: grid;
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    text-align: center;
}

.allNextGamesTable.showAll,
.allPreviousGamesTable.showAll {
    max-height: 100%;
    overflow: unset;
}


.gameRow {
    display: grid;
    grid-template-columns: 14% 14% 8% 22% 14% 14% 14%;
    justify-items: center;
    align-items: center;
    background-color: #e9e9e9;
    height: 130px;
}

.gameRow.previousGames {
    grid-template-columns: 10% 10% 8% 22% 10% 20% 10% 10%;
}

.gameRow>div, .gameRow>a {
    height: 100%;
    width: 100%;
    border: 4px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
    font-size: 18px;
    line-height: 1.5;
}

.gameRow>div.score {
    font-size: 28px;
    font-weight: bold;
}

.worl {
    font-size: 0.8em;
    line-height: 1;
    margin-top: 5px;
}

.worl.win {
    color: #73b474;
}

.worl.lose {
    color: var(--main-color);
}

.tableBoardImg {
    width: 100px;
}

.redBG {
    background-color: var(--main-color);
    color: white;
    font-weight: 700;
    flex-direction: column;
}

.blackBg {
    background-color: black;
    flex-direction: column;
}

.blackBg>a {
    color: white;
    text-align: center;
    font-weight: bold;
}

.blackBg>a.hide {
    display: none;
}

.showMoreGamesButton {
    text-align: left;
    margin-left: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.adminContent {
    font-size: 18px;
    font-weight: 700;
    color: yellow;
}





@media only screen and (max-width: 600px) {
    
    .gameRow>div, .gameRow>a {
        font-size: 10px;
        padding: 0px 3px;
        border: 2px solid #ffffff;
        line-height: 1.3;
    }

    .gameRow {
        height: 70px;
        grid-template-columns: 14% 14% 8% 22% 14% 14% 14%;
    }

    .allNextGamesTable {
        max-height: 280px;
    }

    .allPreviousGamesTable {
        max-height: 280px;
    }

    .gameRow>div.score {
        font-size: 13px;
    }

    .worl {
        margin-top: 2px;
    }

    .blackBg>a {
        font-size: 7px;
    }

    .gameRow.previousGames {
        grid-template-columns: 12% 10% 8% 25% 10% 15% 10% 10%;
    }

    .gameRow.previousGames>div {
        font-size: 11px;
    }

    .adminContent {
        font-size: 8px;
    }

}