@font-face {
    font-family: "Splatfont2";
    src: url("../font/Splatfont2.ttf");
}

@font-face {
    font-family: "Splatfont1";
    src: url("../font/Splatfont1.ttf");
}

.navbar {
    font-family: "Splatfont2";
}

.container {
    max-width: none;
}

body {
    background-image: url(../img/bg.png);
    background-size: cover;
}

.table-wrapper {
    width: 100%;
    /* overflow-x: auto; */
}

@media (max-width: 768px) {
    .table-wrapper {
        overflow-x: auto;
    }
}

table {
    width: 100%;
    background-color: white;
}

table thead {
    font-family: "Splatfont1";
    text-align: center;
    font-size: calc(var(--bs-body-font-size) * 2);
}

table tbody {
    font-family: "Splatfont2";
    font-weight: 1;
    text-align: center;
    font-size: calc(var(--bs-body-font-size) * 1.5);
}

thead th {
    position: sticky;
    top: 0;
    background-color: white;
    /* no wrap */
}

tr {
    cursor: pointer;
}

tr.bankara,
tr.freelance {
    background-color: #ffc0a0;
}

tr.league {
    background-color: #ffcde0;
}

tr.private {
    background-color: #ffddff;
}

tr.regular {
    background-color: #ccffcc;
}

tr.fest {
    background-color: #ccccff;
}

tr.fest.tricolor {
    background-color: #ffffcc;
}

tr.x_match {
    background-color: #ccffff;
}

tr.big_run {
    background-color: #e0ccff;
}

tr.eggstra_work {
    background-color: #fff3b0;
}

tr.win td.result,
tr.boss_defeated td.result {
    background-color: gold;
}

tr.clear td.result {
    background-color: #88ff88;
}

tr.xtrawave_defeat td.result {
    background-color: yellow;
}

tr.lose td.result,
tr.deemed_lose td.result,
tr.exempted_lose td.result,
tr.defeat td.result {
    background-color: #ff8888;
}

tr.draw td.result {
    background-color: #ccc;
}

td.result {
    font-family: "Splatfont1";
}

tr:hover td {
    background-color: white !important;
}

th:hover {
    background-color: black;
    color: white;
}

th,
td {
    padding: 0.5rem;
}

.salmon_table th,
.salmon_table td {
    padding: 0.25rem;
}

.checkboxes {
    color: white;
    font-family: "Splatfont2";
    font-size: 2rem;
    margin-bottom: 50px;
}

.checkboxes input {
    margin-right: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
}

@media screen and (max-width: 768px) {
    .checkboxes {
        font-size: 1rem;
    }
    .salmon_table .checkboxes {
        font-size: 0.75rem;
    }
}

th.ascending::after {
    content: "▲";
}

th.descending::after {
    content: "▼";
}

th.descending.loading::after {
    content: "▼⌛";
}

th.ascending.loading::after {
    content: "▲⌛";
}

@media (min-width: 992px) {
    .switch-to a {
        background-color: blue;
        border-radius: 10px;
        color: white !important;
    }
    .switch-to a:hover {
        background-color: white;
        color: blue !important;
    }
    .switch-nav {
        margin-left: auto !important;
    }
}

@media (min-width: 1150px) {
    .switch-to a {
        font-size: 25px;
        padding-top: 0.1rem;
        padding-bottom: 0.1rem;
    }
}

@media (max-width: 992px) {
    .switch-to a {
        color: rgb(128, 128, 255);
    }
}