.grid-container {
	display: grid;
	grid-template-columns: 5fr 1fr;
	gap: 24px;
}
.table-800 {
    padding-top: 10px;
	margin: auto;
	max-width: 900px;
}
.text-wheat {
	color: wheat;
}

.tag {
    border-radius: 5px;
    display: inline;
    line-height: 2;
    margin-bottom: 2px;
    /*margin-right: 5px;*/
    padding: 2px;
    text-wrap: nowrap;
}
.tag-info-container:has(.tag-sg) {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}
.tag-genres {
    border: 1px solid orange;
    color: orange;
}
.tag-platform {
    border: 1px solid #34cb34;
    color: #34cb34;
}
.tag-sg {
    /*background-color: var(--brand-red-color);
    border: 1px solid white;*/
    color: var(--brand-red-color);
    font-size: 1.1em;
    padding: 5px;
}
.tag-sg:hover {
    background-color: var(--brand-red-color);
    /*border: 0;*/
    color: unset;
    & svg path {
        fill: white;
    }
}
.tag-sg svg {
    display: inline;
    margin-right: 3px;
}
.sg-logo {
    height: 1em;
    width: auto;
    vertical-align: middle;
}
.tag-year {
    border: 1px solid #2bcef4;
    color: #2bcef4;
}
.tags-container {
    background: black;
    border: 1px solid var(--brand-red-color);
    border-radius: 8px;
    bottom: 90%;
    /*left: 50%;*/
    margin-top: 1px;
    opacity: 0;
    padding: 5px;
    position: absolute;
    transition: opacity 0.3s;
    visibility: hidden;
    width: 100%;
    z-index: 1;
}
.tags-container h3 {
    font-size: 1.9em;
    line-height: 1.1;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}
.card, .next-game-logo {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 10px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 15px;
    box-sizing: border-box;
}
.card-numbers {
    display: flex;
    justify-content: space-between;
    /*font-size: 18px;*/
    font-weight: bold;
    z-index: 2;
}
.card-name {
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    /*font-size: 18px;*/
    font-weight: bold;
    z-index: 2;
    text-align: center;
    margin-top: 10px;
}
.num {
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
}
.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box;
    font-size: 0.85em;
    z-index: 3;
}
.card:hover .card-info {
    transform: translateY(0);
}
.paginator {
    display: flex;
    justify-content: space-between;
}
.paginator button {
    border: 1px solid var(--brand-red-color);
    border-radius: 8px;
    color: var(--brand-red-color);
    padding: 5px;
}
.paginator button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.paginator-page {
    font-size: 0.9em;
    padding: 5px;
}

.next-date, .next-add {
    color: wheat;
    font-size: 24px;
    font-weight: bold;
}
.next-game {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 0.9em;
    gap: 20px;
    padding: 20px 20px 0 20px;
}
/*.next-game .tag-info-container {
    font-size: smaller;
}*/

.next-game-logo {
    flex: 0 0 250px;
}
.next-game-info {
    flex: 1 0 200px;
}
.next-game-name {
    font-weight: bold;
    font-size: 1.7em;
}

.stream-live a {
    background-color: var(--brand-red-color);
    border-radius: 8px;
    color: white;
    font-size: 1.2em;
    padding: 5px;
    text-transform: uppercase;
}

.rawg-info {
    font-size: 0.8em;
    text-align: center;
    & a {
        text-decoration: underline;
    }
}