* {
    padding: 0;
    margin: 0;
}
@font-face {
    font-family: "DelaGothicOne";
    src: url("assets/fonts/Dela_Gothic_One/DelaGothicOne-Regular.ttf");
    font-weight: 400;
}

@font-face {
    font-family: "Roboto";
    src: url("assets/fonts/Roboto/Roboto-Italic.ttf");
    font-weight: 400;
}

@font-face {
    font-family: "Righteous";
    src: url("assets/fonts/Righteous/Righteous-Regular.ttf");
    font-weight: 400;
}

@font-face {
    font-family: "Anton";
    src: url("assets/fonts/Anton/Anton-Regular.ttf");
    font-weight: 400;
}

.body {
    background-color: black;
}
html {
    scroll-behavior: smooth;
    height: 100%;
}

.super-container {
    height: 100vh;
}
.main {
    overflow: auto;
    width: 100%;

    background-color: black;
}

.main-container {
    background: url(/wc33/assets/img/bg.jpg);
    height: 80vh;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    background-color: #000000;
}
/* race wars page  */

.green-color {
    color: #0fd1a0;
    text-shadow: 1px 1px #000000;
}

.red-color {
    color: #b32b3f;
    text-shadow: 1px 1px #000000;
}

.blue-color {
    color: rgb(12, 20, 129);
    text-shadow: 1px 1px #000000;
}
.total-score,
.day1,
.day2,
.day3,
.day4 {
    width: 90%;
    margin: auto;
    position: relative;
    top: 20px;
    background-color: rgba(255, 255, 255, 0.452);
    flex-wrap: wrap;
    display: flex;
    justify-content: space-around;
}

.day1,
.day2,
.day3,
.day4 {
    flex-direction: column;
    top: 40px;
    align-items: center;
}

.day2 {
    top: 60px;
}
.day3 {
    top: 80px;
}
.day4 {
    top: 100px;
}

.total-score-orc,
.total-score-elf,
.total-colon,
.race-racewars {
    font-size: 30px;
    margin: auto;
}

.race-racewars {
    width: 150px;
    text-align: center;
}

.game-score-orc,
.game-score-elf,
.game-colon,
.game-racewars {
    font-size: 18px;
}

.race-game {
    width: 50%;
    margin: auto;
    display: flex;
    justify-content: space-between;
}
.game-racewars {
    position: relative;
    width: 160px;
    text-align: center;
}
.game-score-orc,
.game-score-elf {
    position: relative;
    width: 15px;
    margin: auto;
    text-align: center;
}
.race-race-war {
    position: relative;
    margin: auto;
    width: 40px;
    height: 15px;
}

.race-war-img-big {
    width: 50px;
    height: 50px;
    margin: auto;
}

th {
    color: white;
    text-shadow: 0 1px 1px #000000;
    padding-top: 10px;
    padding-bottom: 10px;
}
.select {
    cursor: pointer;
    background-color: black;
    color: white;
    border-color: white;
    border-radius: 5px;
    height: 30px;
    width: 40px;
}

.select:hover {
    color: #a38a00;
    box-shadow: 0 0 8px #a38a00;
}

.player {
    text-decoration: none;
    font-weight: 500;
    font-family: "Roboto";
    text-shadow: 1px 1px 1px #ffffff;
    color: #000000;
}
.player:hover {
    color: rgb(255, 0, 43);
    text-shadow: 1px 1px 1px white;
}

.long-title {
    background-color: #000000;
    color: white;
    height: 10vh;
}
.arrow {
    position: relative;
    width: 40px;
    height: 40px;
    border: 3px solid white;
    background-color: black;
    border-radius: 50%;
    left: 10px;
    cursor: pointer;
}
.arrow:after {
    position: absolute;
    top: 11px;
    left: 15px;
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
}

.arrow-mmr {
    top: 10px;
}
.arrow:hover {
    border-color: #a38a00;
    box-shadow: 0 0 10px #a38a00;
}

.arrow:hover::after {
    border-color: #a38a00;
}

.elf {
    color: rgb(1, 49, 1);
}

.ud {
    color: rgb(46, 0, 88);
}

.hum {
    color: rgb(0, 0, 92);
}
.caption {
    border: 1px solid black;
    font-size: 20px;
    color: white;
    background-color: black;
    height: 90px;
}

.caption-index {
    line-height: 100px;
}

.table {
    width: 100%;
    height: 200px;
    text-align: center;
    border: 1px solid black;
    border-collapse: collapse;
}
.p2n {
    color: #a38a00;
}

.table-title {
    font-family: "DelaGothicOne";
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    animation: fadeIn 3s ease-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.table-frame {
    border: 1px solid black;
}
.table-minititle {
    background-color: rgb(61, 8, 66);
    cursor: pointer;
    font-family: "Roboto";
    border-color: rgb(255, 255, 255);
    border-width: 1px 1px 1px 0;
}

.footer-con {
    width: 100%;

    height: 10vh;
    background-color: black;
    display: flex;
    justify-content: space-between;

    background-repeat: no-repeat;
    background-position: center 0;
    align-items: center;
}

.footer-data {
    display: flex;
    flex-direction: row;

    margin-left: 40px;
    gap: 20px;
}

.copy {
    font-family: Inter;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    color: #ffffff;
    padding-left: 0px;
    transition: 0.3s;
}

.hu-background {
    background-color: rgb(224, 255, 255);
}

.oc-background {
    background-color: rgb(245, 196, 196);
}
.ne-background {
    background-color: rgb(190, 252, 195);
}
.ud-background {
    background-color: rgb(238, 217, 247);
}
.bg {
    width: 100%;
    height: 50vh;
}

.logo {
    width: 40px;
    height: 50px;
    cursor: pointer;
    margin-right: 40px;
    margin-top: 5px;
}

.logo:hover {
    filter: invert(26%) sepia(15%) saturate(638%) hue-rotate(7deg)
        brightness(92%) contrast(87%);
}

#overlay {
    position: absolute;

    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgb(0, 0, 0, 0.95);
}

#modal-window {
    width: 150px;
    height: 150px;
    border: 1x solid black;
    border-radius: 4px;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10%;
}

#btn-close {
    width: 150px;
    height: 20px;
    background-color: rgb(55, 0, 255);
    border-radius: 4px;
    color: white;
    text-align: center;
}
.btn-close {
    cursor: pointer;
}

#modal-result-container {
    display: block;
}

#content {
    height: 30%;
    font-family: "Roboto";
    text-align: center;
}

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

.main__links {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    row-gap: 40px;
    width: 100%;
    top: -5%;
    left: -3%;
}

.main__links__link {
    display: block;
    text-decoration: none;
    color: #a38a00;
    text-shadow: 4px 3px 2px black;

    font-size: 25px;
    margin-top: 5px;
    font-family: "Righteous";
}

.links__con {
    background-color: rgb(0, 0, 0, 0.6);
    width: 120%;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px;
}

.links__con:hover {
    box-shadow: 0 0 15px #fdf913;
}

.main__links__link:hover {
    transition: 0.2s;
    color: rgb(226, 213, 26);
}
.main-page {
    background-image: url(/wc33/assets/img/background1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 80vh;
    animation: zoom-out 12s linear infinite;
    width: 120%;
}

.container {
    overflow: hidden;
}
@keyframes zoom-out {
    100% {
        width: 100%;
    }
}

.bg2 {
    width: 100%;
}

.none {
    display: none;
}

.mmr-page {
    height: 90vh;
    background: url(/wc33/assets/img/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}

.racewar-page {
    font-family: "DelaGothicOne";
    height: 90vh;
    background: url(/wc33/assets/img/orcelf.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    overflow-y: scroll;
}

.fixed-main {
    position: fixed;
    width: 100%;
    height: 80vh;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}

.links-nav {
    position: relative;
    align-items: center;
    margin: auto;
}

.russia {
    color: rgb(0, 57, 166);
    font-size: bold;
}

.belarus {
    color: rgb(204 0 0);
    font-size: bold;
}

.ukraine {
    color: rgb(0, 87, 184);
    font-size: bold;
}

.kazakhstan {
    color: rgb(0, 171, 194);
    font-size: bold;
}

.poland {
    color: #d4213d;
    font-size: bold;
}

.china {
    color: #ee1c25;
    font-size: bold;
}

.serbia {
    color: rgb(199, 54, 61);
    font-size: bold;
}

.button {
    background-color: black;
    color: white;
    border-color: white;
    border-radius: 5px;
    cursor: pointer;
    width: 50px;
    height: 30px;
}

.button:hover {
    color: #a38a00;
    box-shadow: 0 0 8px #a38a00;
}
.header {
    height: 10vh;
}
.header-mmr {
    display: flex;
    align-items: center;
}

@media all and (min-width: 740px) and (max-width: 900px) {
    .race-game {
        width: 100%;
    }
}
@media all and (min-width: 600px) and (max-width: 740px) {
    .main__links__link {
        display: block;
        text-decoration: none;
        font-size: 20px;
        margin-top: 5px;
    }
    .race-game {
        width: 100%;
        margin: auto;
        display: flex;
        justify-content: space-between;
    }

    .arrow {
        position: relative;
        width: 30px;
        height: 30px;
        border: 3px solid white;
        background-color: black;
        border-radius: 50%;
        left: 10px;
        top: 5px;
        cursor: pointer;
    }
    .arrow:after {
        position: absolute;
        top: 9px;
        left: 12px;
        content: "";
        display: block;
        width: 10px;
        height: 10px;
        border-left: 3px solid white;
        border-bottom: 3px solid white;
        transform: rotate(45deg);
    }
    .table-title {
        font-size: 13px;
    }
}

@media all and (min-width: 455px) and (max-width: 599px) {
    .main__links__link {
        position: relative;
        display: block;
        text-decoration: none;
        font-size: 15px;
        margin-top: 5px;
        line-height: 35px;
    }
    .race-game {
        width: 100%;
    }

    .race-racewars {
        width: 70px;
    }

    .total-score-orc,
    .total-score-elf,
    .total-colon,
    .race-racewars {
        font-size: 22px;
        margin: auto;
    }

    .game-score-orc,
    .game-score-elf,
    .game-colon,
    .game-racewars {
        font-size: 15px;
    }

    .arrow {
        position: relative;
        width: 22px;
        height: 22px;
        border: 3px solid white;
        background-color: black;
        border-radius: 50%;
        left: 10px;
        top: 5px;
        cursor: pointer;
    }
    .arrow:after {
        position: absolute;
        top: 5px;
        left: 7px;
        content: "";
        display: block;
        width: 9px;
        height: 9px;
        border-left: 3px solid white;
        border-bottom: 3px solid white;
        transform: rotate(45deg);
    }

    .table-title {
        font-size: 10.5px;
    }

    label {
        font-size: 15px;
    }

    .tbody {
        font-size: 13px;
    }

    .thead {
        font-size: 13px;
    }
}

@media all and (min-width: 381px) and (max-width: 454px) {
    .main__links__link {
        display: block;
        text-decoration: none;

        font-size: 13px;
        margin-top: 5px;

        line-height: 35px;
    }
    .race-game {
        width: 100%;
    }

    .race-racewars {
        width: 70px;
    }

    .total-score-orc,
    .total-score-elf,
    .total-colon,
    .race-racewars {
        font-size: 20px;
        margin: auto;
    }
    .game-score-orc,
    .game-score-elf,
    .game-colon,
    .game-racewars {
        font-size: 13px;
    }

    .links__con {
        height: 30px;

        margin-left: auto;
        margin-right: auto;
        border-radius: 4px;
    }

    .arrow {
        position: relative;
        width: 20px;
        height: 20px;
        border: 3px solid white;
        background-color: black;
        border-radius: 50%;
        left: 10px;
        top: 5px;
        cursor: pointer;
    }
    .arrow:after {
        position: absolute;
        top: 5px;
        left: 6px;
        content: "";
        display: block;
        width: 7px;
        height: 7px;
        border-left: 3px solid white;
        border-bottom: 3px solid white;
        transform: rotate(45deg);
    }

    .table-title {
        font-size: 10px;
    }

    label {
        font-size: 13px;
    }

    .tbody {
        font-size: 11px;
    }

    .thead {
        font-size: 11px;
    }
}

@media all and (max-width: 380px) {
    .main__links__link {
        display: block;
        text-decoration: none;
        /*  color: rgb(255, 255, 255); */
        font-size: 11px;
        margin-top: 5px;

        line-height: 35px;
    }
    .race-game {
        width: 100%;
    }

    .race-racewars {
        width: 70px;
    }

    .total-score-orc,
    .total-score-elf,
    .total-colon,
    .race-racewars {
        font-size: 18px;
        margin: auto;
    }

    .game-score-orc,
    .game-score-elf,
    .game-colon,
    .game-racewars {
        font-size: 11px;
    }

    .links__con {
        height: 30px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 4px;
    }

    .arrow {
        position: relative;
        width: 20px;
        height: 20px;
        border: 3px solid white;
        background-color: black;
        border-radius: 50%;
        left: 10px;
        top: 5px;
        cursor: pointer;
    }
    .arrow:after {
        position: absolute;
        top: 5px;
        left: 6px;
        content: "";
        display: block;
        width: 7px;
        height: 7px;
        border-left: 3px solid white;
        border-bottom: 3px solid white;
        transform: rotate(45deg);
    }

    .table-title {
        font-size: 11px;
    }

    label {
        font-size: 12px;
    }

    .tbody {
        font-size: 10px;
    }

    .thead {
        font-size: 10px;
    }
}
