body {
    background: linear-gradient(to bottom, rgb(255, 255, 0), rgb(100, 100, 0));
    min-height: 100vh;
}

@font-face {
    font-family: Posver;
    src: url('fonts/Posver-Regular.ttf');
}

@font-face {
    font-family: Arial;
    src: url('fonts/arial.ttf') format('truetype');
}

.awesomeBackground {
    width: 100%;
    min-height: 100vh;
    background-image: url('images/cyberboxer/awesomeBackgroundPattern_leaderboardList.png');
    background-repeat: repeat;
    animation-name: awesomeBackgroundAnimation_LeaderboardList;
    animation-duration: 5s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.leaderboardBackground {
    min-height: 100vh;
    background-image: url('images/cyberboxer/leaderboard_frame.png');
    background-repeat: repeat-y;
    background-size: 100% auto;
}

#locationText {
    color: #ffffff;
    font-size: 1.25em;
    font-weight: 400;
}

#scores {
    padding-bottom: 1vh;
}

.entryDiv {
    position: relative;
    margin-bottom: 10%;
    width: 84%;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: center;
    cursor: pointer;
}

.entryGlow {
    position: absolute;
}

.entryBackground {
    width: 100%;
}

.avatarDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 36%;
    transform: translate(-50%, -50%);
    height: 190%;
}

.avatarImage {
    position: absolute;
    height: 80%;
    border-radius: 50%;
}

.avatarGlow {
    position: absolute;
    height: 120%;
}

.avatarFrame {
    z-index: 1;
    height: 120%;
}

#modalDialog {
    background-color: #000000;
    background-image: url('images/cyberboxer/awesomeBackgroundPattern_leaderboardModal.png');
    border: 5px solid white;
    animation-name: awesomeBackgroundAnimation_LeaderboardModal;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: normal;
}

#modalHeader {
    border: none;
}

#modalLoading {
    font-family: Arial, sans-serif;
    font-size: 1.5em;
    font-weight: 500;
    color: #FFFFFF;
    text-align: center;
    line-height: 1.0;
    margin-bottom: 0px;
}

#modalContent {
    padding-top: 0;
}

#modalCTA {
    font-family: Arial, sans-serif;
    font-size: 1.5em;
    font-weight: 500;
    color: #FFFFFF;
    text-align: center;
    line-height: 1.0;
    margin-bottom: 0px;
}

.modalAvatarDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: -10%;
}

#modalAvatarImage {
    position: absolute;
    height: 67%;
    border-radius: 50%;
}

#modalAvatarGlow {
    position: absolute;
    z-index: 1;
    width: 80%;
}

#modalAvatarFrame {
    z-index: 1;
    width: 80%;
}

#modalScore {
    text-align: center;
    font-family: Posver, sans-serif;
    font-size: 14vw;
    color: #ffffff;
    line-height: 0.4;
}

#modalWeightClass,
#modalPower {
    text-align: center;
    font-family: Posver, sans-serif;
    font-size: 2.5rem;
    color: #FFFF00;
    margin-bottom: 0px;
    line-height: 0.4;
}

#modalWeightClass span,
#modalScore span,
#modalPower span {
    font-family: Arial, sans-serif;
    font-size: 0.35em;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.0;
    color: #FFFFFF;
}

@media (max-width: 800px) {
    #modalScoreDetails {
        flex-direction: column;
    }

    #modalWeightClass {
        margin-bottom: 5%;
    }
}

#modalLocation {
    font-size: 0.75em;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 0px;
    line-height: 1.0;
}

@media (min-width: 590px) {
    #modalScore {
        font-size: 70px;
    }
}

#modalFooter {
    border: none;
}

.machine-texture {
    width: 40px;
    height: 80px;
}

.positionText {
    font-family: Posver, sans-serif;
    color: yellow;
    text-align: center;
    font-size: 4vw;
    position: absolute;
    top: 54%;
    left: 14%;
    transform: translate(-50%, -50%);
}

.scoreText {
    font-family: Posver, sans-serif;
    color: white;
    text-align: center;
    position: absolute;
    top: 54%;
    left: 72%;
    transform: translate(-50%, -50%);
}

.lowScoreText {
    font-size: 6.6vw;
}

.highScoreText {
    font-size: 5.6vw;
}

.weightClassText,
.punchForceText {
    font-family: Posver, sans-serif;
    font-size: 3.0vw;
    color: rgba(0, 0, 0, 1);
    text-align: center;
    position: absolute;
    left: 72%;
    transform: translate(-50%, -50%);
}

.weightClassText span,
.punchForceText span {
    font-family: Arial, sans-serif;
    font-size: 0.40em;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.75);
    white-space: nowrap;
}

.weightClassText {
    text-transform: uppercase;
    top: 10%;
}

.punchForceText {
    top: 90%;
}

@media (min-width: 576px) {
    .positionText {
        font-size: 25px;
    }

    .lowScoreText {
        font-size: 38px;
    }

    .highScoreText {
        font-size: 30px;
    }

    .weightClassText,
    .punchForceText {
        font-size: 16px;
    }

    .weightClassText span,
    .punchForceText span {
        font-size: 0.40em;
    }
}

@media (min-width: 768px) {
    .positionText {
        font-size: 35px;
    }

    .lowScoreText {
        font-size: 53px;
    }

    .highScoreText {
        font-size: 42px;
    }

    .weightClassText,
    .punchForceText {
        font-size: 23px;
    }

    .weightClassText span,
    .punchForceText span {
        font-size: 0.40em;
    }
}

@media (min-width: 992px) {
    .positionText {
        font-size: 45px;
    }

    .lowScoreText {
        font-size: 72px;
    }

    .highScoreText {
        font-size: 59px;
    }

    .weightClassText,
    .punchForceText {
        font-size: 27px;
    }

    .weightClassText span,
    .punchForceText span {
        font-size: 0.40em;
    }
}

@media (min-width: 1200px) {
    .positionText {
        font-size: 55px;
    }

    .lowScoreText {
        font-size: 85px;
    }

    .highScoreText {
        font-size: 70px;
    }

    .weightClassText,
    .punchForceText {
        font-size: 27px;
    }

    .weightClassText span,
    .punchForceText span {
        font-size: 0.40em;
    }
}

@media (min-width: 1400px) {
    .positionText {
        font-size: 65px;
    }

    .lowScoreText {
        font-size: 100px;
    }

    .highScoreText {
        font-size: 80px;
    }

    .weightClassText,
    .punchForceText {
        font-size: 27px;
    }

    .weightClassText span,
    .punchForceText span {
        font-size: 0.40em;
    }
}

@keyframes awesomeBackgroundAnimation_LeaderboardList {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 50px 100px;
    }
}

@keyframes awesomeBackgroundAnimation_LeaderboardModal {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 256px 512px;
    }
}

/* Modal fix for iOS */
.modal-dialog {
    position: absolute;
    margin-inline: auto;
    left: var(--bs-modal-margin);
    right: var(--bs-modal-margin);
    padding-bottom: var(--bs-modal-margin);
    width: calc(100% - 2 * var(--bs-modal-margin));
}
@media (min-width: 576px) {
    .modal-dialog {
        width: 100%;
    }
}     