/* Colors used:
white: #f8f9fa
bg old: #2c2c2c
bg new: #2C97FA
blue: #232323
gold: #ffd700 */

body {
    /* --bs-body-color: #f8f9fa; */
    --bs-body-color: #2C97FA;
    /* --bs-body-bg: #2c2c2c; */
    --bs-body-bg: #232323;
}

a {
    color: #ffd700;
}

.homepage {
    width: 90%;
    margin: auto;
}

.wide70 {
    width: 70%;
    margin: auto;
}

.table {
    --bs-table-color-state:var(--bs-body-color);
}

.table-striped {
    --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0.2);
}

/* .table-bordered {
    border-top-right-radius: var(--bs-border-radius);
    border-top-left-radius: var(--bs-border-radius);
} */

/* .grid-section {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.grid-item {
    flex: 1 1 calc(33.333% - 1rem);
    min-width: 200px;
    max-height: 350px;
} */

@media (orientation: portrait) {
    .grid-item {
        flex: 1 1 100%;
        min-width: 0;
        max-height: 350px;
    }
}

.scrollable-list {
    width: 100%;
    overflow-y: auto;
    display: block;
}

.scrollable-table {
    width: 100%;
    display: block;
    overflow-y: auto;
    
}

.height-main {
    max-height: calc(100vh - 118px);
}

/* .main-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.main-section .side-by-side {
    flex: 1 1 calc(50% - 1rem);
    min-width: 300px;
} */

.table-hover {
    --bs-table-hover-color: #ffd700;
}

.list-group-item:hover {
    background-color: rgba(var(--bs-emphasis-color-rgb), 0.075);
    color: #ffd700; /* Golden accent */
}

/* .sticky-top-bar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #1f1f1f;
    padding: 0.5rem 1rem;
    color: #ffd700; /* Golden accent 
}

.sticky-top-bar a {
    text-decoration: none;
    font-size: 2rem
} */

.achievement img {
    width: 64px;
}

footer {
    text-align: center;
    background-color: #1f1f1f;
}

.ra-btn {
    /*position:absolute; /* Position relative to the .gamepage container */
    top: 10px; /* Distance from the top of the .gamepage container */
    right: 10px; /* Distance from the right edge of the .gamepage container */
}

.countdown-widget {
  border: 2px solid #2f2f2f;
  padding: 1rem;
  max-width: 500px;
  margin: auto;
  border-radius: 8px;
  background-color: #1f1f1f;
  text-align: center;
}
#countdown {
  font-size: 1.5rem;
  color: #ffd700;
}

.game-mastered {
    background-color: rgba(239,191,4,0.3) !important
}

.game-beaten {
    background-color: rgba(120,120,120,0.3) !important
}
