
.civ-img {
    max-height: 34px;
    max-width: 34px;
    filter: drop-shadow(5px 5px 3px black);
    margin-bottom: 5px;
}

.matches {
    width: fit-content;
    margin: auto;
}

.match-header {
    background-color: var(--header-background-color);
    color: var(--text-color);
    font-size: x-large;
    padding-bottom: 5px;
    padding-top: 5px;
    display: grid;
    align-items: center;
    white-space: nowrap;
    margin-bottom: 5px;
    text-decoration: none;
    grid-template-columns: 1.37fr 1fr 1fr;
}

.match-header a {
    text-decoration: none;
    color: var(--text-color);
}

.match-left-header {
    justify-content: left;
    padding-left: 12px;
}

.match-central-header {
    justify-content: center;
}

.match-right-header {
    text-align: center;
}

.map-img {
    max-height: 65px;
    max-width: 65px;
    filter: drop-shadow(5px 5px 3px black);
    margin-bottom: 8px;
    margin-top: 8px;
    margin-left: 12px;
}

.match-date-string {
    grid-column: 2;
}

.match-duration {
    grid-column: 3;
}

.match-spectate-button {
    grid-column: 3;
}

.match-map-text {
    grid-column: 1;
    text-align: left;
}

.match {
    width: 100%;
    display: grid;
    align-items: center;
    margin: auto;
    margin-bottom: 5px;
    background-color: rgb(0 0 0 / 20%);
}

.player-container {
    display: grid;
    align-items: center;
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr repeat(4, 40px) 1fr;
    grid-template-rows: auto;
    min-height: 80px;
    margin-bottom: 10px;
}

.match-player-left {
    grid-column: 2;
    text-align: right;
    font-style: oblique;
    color: var(--text-color);
    font-size: large;
    padding: 0;
    padding-left: 25px;
    margin-left: 70px;
}

.match-rec-left {
    grid-column: 3;
    font-style: normal;
    display: flex;
    justify-content: center;
}

.match-civ-left {
    grid-column: 4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-civ-right {
    grid-column: 5;
    align-content: center;
    display: flex;
    justify-content: center;
}

.match-rec-right {
    grid-column: 6;
    font-style: normal;
    display: flex;
    justify-content: center;
}

.match-player-right {
    grid-column: 7;
    text-align: left;
    font-style: oblique;
    color: var(--text-color);
    font-size: large;
    padding: 0;
    padding-right: 25px;
}

.match-map-icon {
    position: absolute;
    max-height: 100%;
}

.button {
    border: none;
    text-align: center;
    display: inline-block;
    font-size: medium;
    padding: 5px;
    margin: auto;
    background-color: var(--button-light-color);
    text-decoration: none;
    color: var(--text-color);
    border-radius: 10px;
    box-shadow: 4px 4px #666;
}

.button-anim:hover {
    background-color: var(--button-dark-color);
}

.button-anim:active {
    background-color: var(--button-dark-color);
    box-shadow: 0px 0px #666;
    transform: translateY(4px) translateX(4px);
}

.rec-link::before {
    content: "\01F441";
}

.player-link {
    text-decoration: none;
}

.match-new {
    box-shadow: 0 0 7px 1px var(--glow-color);
}