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

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

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

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

table tr td img {
    width: 100px;
    height: 100px;
}

table td,
table th {
    padding: 20px;
    color: white;
    font-family: "Splatfont2";
}

tbody {
    font-size: 2.5rem;
    text-align: center;
}

thead {
    font-size: 2.7rem;
}

.card.all {
    background-color: rgb(156, 156, 0);
}

.card.recent {
    background-color: rgb(0, 0, 156);
}

.card.totals {
    background-color: rgb(156, 0, 0);
}

.card.heatmap {
    background-color: black;
}

.card.xpower {
    background-color: rgb(0, 190, 190);
}

.card.xpower td {
    line-height: 0;
}

.card.xpower b .highest {
    font-weight: lighter;
    color: #d0d0d0;
}

.card.xpower b {
    font-size: 1rem;
    line-height: 1rem;
    vertical-align: text-bottom;
    position: relative;
    top: -0.5rem;
}

.card.totals table,
.card.xpower table {
    margin-left: auto;
    margin-right: auto;
}

.row {
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
}

h1 {
    text-align: center;
    font-family: "Splatfont1";
    color: white;
}

table.heatmap {
    table-layout: fixed;
}

table.heatmap td {
    font-size: 1rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid black;
    border-radius: 10px;
    width: 2.5rem;
}

table.heatmap th {
    text-overflow: clip;
    font-size: 1rem;
    overflow-x: hidden;
    color: white;
    padding: 5px;
    font-family: "Splatfont1";
}

#heatmap-left, #heatmap-right {
    position: absolute;
    top: 0;
    width: 3rem;
    height: 100%;
    color: black;
    font-weight: bolder;
    font-size: 2rem;
    background-color: grey;
}

#heatmap-left:hover, #heatmap-right:hover {
    background-color: #d0d0d0;
}

#heatmap-left {
    text-align: left;
    left: 0;
}

#heatmap-right {
    text-align: right;
    right: 0;
}

.card.heatmap .card-body {
    margin-left: 3rem;
    margin-right: 3rem;
}