:root {
    --white: #EFE6DD;
    --black: #231F20;
    --grey: #564D4F;
    --blue: #7EBDC2;
    --orange: #BB4430;
    --yellow: #F3DFA2;
    --green: #71d484;
    --red: #e77b7b;
    --dark-green: #32bb40;
}

@font-face {
    font-family: FreeSans;
    src: url(../assets/fonts/FreeMono.ttf);
}

@font-face {
    font-family: FreeSans;
    src: url(../assets/fonts/FreeMonoBold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: Endor;
    src: url(../assets/fonts/Endor.ttf);
}

* {
    font-family: FreeSans;
    white-space: nowrap;
}

body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    background-color: var(--black);
    color: var(--white);
    font-size: 1.5vh;
}

#main {
    width: 100%;
    height: 100%;
}

object {
    width: 100%;
    height: 100%;
}

h1 {
    color: var(--yellow);
    font-family: Endor;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.full-width {
    width: 100%;
}

.col {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.full-height {
    height: 100%;
}

.left {
    justify-content: flex-start;
}

.right {
    justify-content: flex-end;
}

.hidden {
    visibility: hidden;
}

.no-display {
    display: none;
}

.champion {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.champion-frame {
    z-index: 1;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.champion-portrait {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.fade-out {
    opacity: 0 !important;
    transition: opacity 2s linear;
}

.fade-in {
    opacity: 1 !important;
    transition: opacity 2s linear;
}

.wrap {
    white-space: normal;
}

#music {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 12vw;
    margin: 1vh;
}

#player-stats {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 1vh;
    background-color: var(--white);
    color: var(--black);
    border-radius: 1vh;
    margin: 1vh;
    font-size: 1.8vh;
    border: var(--grey) solid 0.5vh;
}

#player-stats > .row {
    margin-bottom: 1vh;
}

#player-stat-elo {
    margin-bottom: 0 !important;
    padding-top: 1vh;
    border-top: solid black 1px;
}

#grid-sort {
    font-size: 1.5vh;
}