@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;
}

body.sideorder {
    background-image: none;
    background-color: #eccdc8;
}

.bar {
    height: 100%;
    margin: 0;
    overflow: visible;
}

.meter {
    display: flex;
    border-radius: 9999px;
    background-color: black;
    padding: 0;
    overflow: hidden;
    height: 6em;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.meter-scores {
    display: block;
    height: 100px;
    position: relative;
}

.scores {
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    justify-content: space-between;
    align-items: center;
    height: 6em;
    color: white;
}

.score:first-child {
    text-align: left;
    padding-left: 20px;
    vertical-align: middle;
    margin-bottom: 0.5;
}

.score:last-child {
    text-align: right;
    padding-right: 20px;
    vertical-align: middle;
    margin-bottom: 0.5;
}

.score:nth-child(2):nth-last-child(2) {
    text-align: center;
    vertical-align: middle;
    margin-bottom: 0.5;
}

.score {
    padding-top: 3px;
    font-size: 5em;
    line-height: 1em;
    font-family: "Splatfont2";
    white-space: nowrap;
    display: block;
}

.rule {
    float: right;
}

.map {
    float: left;
}

.card.meterscore {
    margin-bottom: 30px;
}

.card {
    background-color: rgba(0, 0, 0, 1);
    color: white;
    border-radius: 30px;
}

.card-header * {
    font-size: 3rem;
    font-family: "Splatfont2";
}

.splatfest-team-name {
    margin-left: 20px;
    text-transform: none;
    font-size: 2rem;
}

@media (max-width: 800px) {
    .card-header * {
        font-size: 2rem;
    }
    .splatfest-team-name {
        font-size: 1.5rem;
    }
    .score {
        font-size: 3em;
    }
    .scores {
        height: 4em;
    }
    .meter {
        height: 4em;
    }
}

@media (max-width: 576px) {
    .card-header * {
        font-size: 1.5rem;
    }
    .splatfest-team-name {
        font-size: 1rem;
    }
    .score {
        font-size: 2em;
    }
    .scores {
        height: 3em;
    }
    .meter {
        height: 3em;
    }
}

@media (max-width: 375px) {
    .card-header * {
        font-size: 1rem;
    }
    .splatfest-team-name {
        font-size: 0.75rem;
    }
    .score {
        font-size: 1.5em;
    }
    .scores {
        height: 2em;
    }
    .meter {
        height: 2em;
    }
}

.people * {
    font-family: "Splatfont2";
}

.title-name .title {
    font-size: 1rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-right: 10px;
    color: grey;
}

.title-name .name {
    font-size: 1.5rem;
    font-family: "Splatfont2";
}

.stat svg {
    width: 25px;
    height: 25px;
    padding-left: auto;
    padding-right: auto;
}

.stats .stat,
.stats .stat .stat-text {
    font-size: 1.2rem;
}

.stats {
    text-align: center;
}

.stat.points h1 {
    padding-top: 20px;
}

.weapon-image-container {
    padding-right: 0;
}

@media (min-width: 1400px) {
    .title-name {
        padding-left: 0;
    }
}

.weapon-image {
    width: 60px;
    height: 60px;
    margin-left: max(calc(90% - 60px), 0px);
}

.assists {
    font-size: 0.8rem;
    color: grey;
    padding-left: 3px;
}

@keyframes sidetoside {
    0% {
        left: -50px;
    }
    50% {
        left: -30px;
    }
    100% {
        left: -50px;
    }
}

.arrow {
    position: absolute;
    top: 0px;
    fill: yellow;
    width: 50px;
    height: 50px;
    display: block;
    animation: sidetoside 0.8s infinite linear;
}

.people {
    position: relative
}

@media (max-width: 576px) {
    .title-name .title {
        font-size: 0.75rem;
    }
    .title-name .name {
        font-size: 1rem;
    }
    .stats .stat,
    .stats .stat .stat-text {
        font-size: 0.8rem;
    }
    .stat.points h1 {
        padding-top: 15px;
    }
    .weapon-image {
        width: 40px;
        height: 40px;
        margin-left: max(calc(90% - 40px), 0px);
    }
    .assists {
        font-size: 0.5rem;
    }
}

@media (max-width: 375px) {
    .title-name .title {
        font-size: 0.6rem;
    }
    .title-name .name {
        font-size: 0.8rem;
    }
    .stats .stat,
    .stats .stat .stat-text {
        font-size: 0.6rem;
    }
    .stat.points h1 {
        padding-top: 15px;
    }
    .weapon-image {
        width: 30px;
        height: 30px;
        margin-left: max(calc(90% - 30px), 0px);
    }
    .assists {
        font-size: 0.3rem;
    }
}

.card.winlose {
    background-color: var(--color);
    margin-bottom: 50px;
}

.card.winlose.tricol {
    /* 50/50 color1 color2 */
    background: linear-gradient(180deg, var(--color), var(--color) 55%, var(--color2) 59%, var(--color2)) no-repeat;
}

.people {
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
}

.people-wrapper {
    margin-left: 0;
}

.stats {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 30px;
}

.name-stuff {
    padding-left: 0
}

.judgement {
    text-transform: uppercase;
    font-family: "Splatfont1";
}

.noroshi-exists .col-3 {
    width: 20%;
}

.winlose-row,
.card-body.row,
.people-wrapper.row {
    align-items: center;
}

.award {
    font-family: "Splatfont1";
    background: url("/static/img/award-bg.png") no-repeat;
    background-size: 100% 100%;
    height: calc(29px * 2.5);
    width: calc(220px * 2.5);
    position: relative;
}

.award-name * {
    font-size: 1.75rem;
    padding-top: 0.5rem;
    padding-left: 0.5rem;
    position: absolute;
    text-align: center;
    width: 70%;
    left: 20%;
    top: 10px;
}

.award-name,
.award-image {
    height: 100%;
    width: 100%;
    position: absolute;
}

.award.gold .award-image-inner {
    height: calc(52px * 2.5);
    width: auto;
    position: absolute;
    top: -20px;
    left: 0px;
}

.award.silver .award-image-inner {
    height: calc(36px * 2.5);
    width: auto;
    position: absolute;
    top: -10px;
    left: 10px;
}

@media (max-width: 576px) {
    .award {
        height: calc(29px * 1.5);
        width: calc(220px * 1.5);
    }
    .award-name * {
        font-size: 1rem;
        padding-top: 0.5rem;
        padding-left: 0.5rem;
        position: absolute;
        text-align: center;
        width: 70%;
        left: 20%;
        top: 5px;
    }
    .award.gold .award-image-inner {
        height: calc(52px * 1.5);
        width: auto;
        position: absolute;
        top: -20px;
        left: 0px;
    }
    .award.silver .award-image-inner {
        height: calc(36px * 1.5);
        width: auto;
        position: absolute;
        top: -10px;
        left: 10px;
    }
}

@media (max-width: 375px) {
    .award {
        height: calc(29px * 1.2);
        width: calc(220px * 1.2);
    }
    .award-name * {
        font-size: 0.8rem;
        padding-top: 0.5rem;
        padding-left: 0.5rem;
        position: absolute;
        text-align: center;
        width: 70%;
        left: 20%;
        top: 5px;
    }
    .award-image-inner {
        height: calc(52px * 1.2);
        width: auto;
        position: absolute;
        top: -10px;
        left: 0px;
    }
    .award.silver .award-image-inner {
        height: calc(36px * 1.2);
        width: auto;
        position: absolute;
        top: -5px;
        left: 10px;
    }
}


/* 1200 - 1640px */

@media (min-width: 1200px) and (max-width: 1640px) {
    .award {
        height: calc(29px * 1.85);
        width: calc(220px * 1.85);
    }
    .award-name * {
        font-size: 1.25rem;
        padding-top: 0.5rem;
        padding-left: 0.5rem;
        position: absolute;
        text-align: center;
        width: 70%;
        left: 20%;
        top: 10px;
    }
    .award-image-inner {
        height: calc(52px * 1.85);
        width: auto;
        position: absolute;
        top: -10px;
        left: 0px;
    }
    .award.silver .award-image-inner {
        height: calc(36px * 1.85);
        width: auto;
        position: absolute;
        top: -20px;
        left: 10px;
    }
}

.golden-egg-count svg {
    height: 1.75rem;
    width: 1.75rem;
    margin-right: 5px;
}

.points svg,
.scale img {
    height: calc(1.375rem + 1.5vw);
    width: calc(1.375rem + 1.5vw);
    margin-right: 10px
}

.so-points svg,
.palette-text img {
    height: calc(1.5rem + 1.5vw);
    width: calc(1.5rem + 1.5vw);
    margin-right: 10px
}

.weapon-drone svg,
.weapon-drone img {
    height: calc(2rem + 1.5vw);
    width: calc(2rem + 1.5vw);
    margin-right: 10px
}

.wave-row .golden-egg-count {
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
}

.wave-row,
.points-row {
    justify-content: center;
    align-items: stretch;
    margin-bottom: 50px;
}

.points-row .card {
    height: 100%;
}

.wave-row * {
    text-align: center;
    color: black;
    font-family: "Splatfont2";
}

.wave-row .col:first-child .card {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.wave-row .col:last-child .card {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.wave-row .col .card {
    border-radius: 0px;
    background-color: #dce34a;
}

.wave-row .col .card .card-body {
    padding: 0;
}

.points-value {
    font-size: 4em;
}

.points-scale {
    font-family: "Splatfont2";
}

.job-stats * {
    text-align: center;
    font-family: "Splatfont2";
}

@media (max-width: 375px) {
    .points-value {
        font-size: 2em;
    }
}

.card-text.event {
    padding-bottom: 20px;
    font-size: 1rem;
}

@media (min-width: 1310px) {
    .stat svg {
        width: auto;
    }
}

.text-align-right {
    text-align: right;
}

.text-align-center {
    text-align: center;
}

.mini-special-image {
    width: 100%;
    height: auto;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
}

.specials-row {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
}

.wave-inner-row {
    width: 100%;
    justify-content: center;
    align-items: center;
}


/* 576px and smaller */

@media (max-width: 576px) {
    .wave-row .col .card {
        border-radius: 30px;
    }
}

@media (min-width: 768px) {
    .col-ninth {
        width: 11.1111111111%;
    }
}

.col-ninth img {
    width: 100%;
    height: auto;
}

.palette {
    margin-top: 20px;
    background-color: white;
}

.chip {
    position: relative;
}

.chip span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Splatfont2";
    font-size: 1.25rem;
    color: white;
    background-color: black;
    opacity: 0;
    text-align: center;
}

.chip:hover span {
    opacity: 1;
}

.chip-row {
    margin-bottom: var(--bs-gutter-y);
}

.chip.empty img {
    opacity: 0.2;
}

