@media (min-width: 320px) {
    .loading-container {
        position: absolute;
        display: flex;
        margin-left: 15%;
    }
}

@media (min-width: 480px) {
    .loading-container {
        position: absolute;
        display: flex;
        margin-left: 6%;
    }
}

@media (min-width: 801px) {
    .loading-container {
        position: absolute;
        display: flex;
        margin-left: 3%;
    }
}

.loader {
    width: 70px;
    height: 70px;
    position: relative;
}

.loader::before,
.loader::after {
    content: '';
    position: absolute;
    height: inherit;
    width: inherit;
    border-radius: 50%;
    animation: rotate 1s infinite cubic-bezier(0.77, 0, 0.175, 1);
}

.loader::before {
    background-color: #ff0000;
}

.loader::after {
    background-color: #1100ff;
    animation-delay: 0.5s;
}

@keyframes rotate {
    0%,
    100% {
        left: 95px;
    }
    25% {
        transform: scale(0.3);
    }
    50% {
        left: 0;
    }
    75% {
        transform: scale(1);
    }
}

/*  */

*,
*::before,
*::after {
    box-sizing: border-box;
}

.container {
    align-items: center;
    display: flex;
    flex-direction: column;
}

h2 {
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.container {
    min-height: 450px;
    height: 100vh;
    margin: 0;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
}

html {
    background: url('https://res.cloudinary.com/dg8stmwqi/image/upload/v1735319570/bg_7_yamlut.jpg');
    background-repeat: repeat;
}

.leaderboard {
    width: 285px;
    height: 308px;
    background: linear-gradient(to bottom, #3a404d, #181c26);
    border-radius: 10px;
    box-shadow: 0 7px 30px rgb(62 9 11 / 30%);
}

.leaderboard h1 {
    font-size: 18px;
    color: #e1e1e1;
    padding: 12px 13px 18px;
}

.leaderboard h1 svg {
    width: 25px;
    height: 26px;
    position: relative;
    top: 3px;
    margin-right: 6px;
    vertical-align: baseline;
}

.leaderboard ol {
    counter-reset: leaderboard;
}

.leaderboard ol li {
    position: relative;
    z-index: 1;
    font-size: 14px;
    counter-increment: leaderboard;
    padding: 18px 10px 18px 50px;
    cursor: pointer;
    backface-visibility: hidden;
    transform: translateZ(0) scale(1, 1);
}

.leaderboard ol li::before {
    content: counter(leaderboard);
    position: absolute;
    z-index: 2;
    top: 15px;
    left: 15px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    color: #c24448;
    background: #fff;
    border-radius: 20px;
    text-align: center;
}

.leaderboard ol li mark {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 18px 10px 18px 50px;
    margin: 0;
    background: none;
    color: #fff;
}

.leaderboard ol li mark::before,
.leaderboard ol li mark::after {
    content: '';
    position: absolute;
    z-index: 1;
    bottom: -11px;
    left: -9px;
    border-top: 10px solid #c24448;
    border-left: 10px solid transparent;
    transition: all 0.1s ease-in-out;
    opacity: 0;
}

li {
    list-style-type: none;
    content: '';
}

ol {
    padding: 0;
}

.leaderboard ol li mark::after {
    left: auto;
    right: -9px;
    border-left: none;
    border-right: 10px solid transparent;
}

.leaderboard ol li small {
    position: relative;
    z-index: 2;
    display: block;
    text-align: right;
}

.leaderboard ol li::after {
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fa6855;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    opacity: 0;
}

.leaderboard ol li:nth-child(1) {
    background: #fa6855;
}

.leaderboard ol li:nth-child(1)::after {
    background: #fa6855;
}

.leaderboard ol li:nth-child(2) {
    background: #e0574f;
}

.leaderboard ol li:nth-child(2)::after {
    background: #e0574f;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.leaderboard ol li:nth-child(2) mark::before,
.leaderboard ol li:nth-child(2) mark::after {
    border-top: 6px solid #ba4741;
    bottom: -7px;
}

.leaderboard ol li:nth-child(3) {
    background: #d7514d;
}

.leaderboard ol li:nth-child(3)::after {
    background: #d7514d;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.11);
}

.leaderboard ol li:nth-child(3) mark::before,
.leaderboard ol li:nth-child(3) mark::after {
    border-top: 2px solid #b0433f;
    bottom: -3px;
}

.leaderboard ol li:nth-child(4) {
    background: #cd4b4b;
}

.leaderboard ol li:nth-child(4)::after {
    background: #cd4b4b;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.leaderboard ol li:nth-child(4) mark::before,
.leaderboard ol li:nth-child(4) mark::after {
    top: -7px;
    bottom: auto;
    border-top: none;
    border-bottom: 6px solid #a63d3d;
}

.leaderboard ol li:nth-child(5) {
    background: #ca4343;
}

.leaderboard ol li:nth-child(5)::after {
    background: #ca4343;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.leaderboard ol li:nth-child(5) mark::before,
.leaderboard ol li:nth-child(5) mark::after {
    top: -7px;
    bottom: auto;
    border-top: none;
    border-bottom: 6px solid #ca4343;
}

.leaderboard ol li:nth-child(6) {
    background: #c73d3d;
}

.leaderboard ol li:nth-child(6)::after {
    background: #c73d3d;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.leaderboard ol li:nth-child(6) mark::before,
.leaderboard ol li:nth-child(6) mark::after {
    top: -7px;
    bottom: auto;
    border-top: none;
    border-bottom: 6px solid #c73d3d;
}

.leaderboard ol li:nth-child(7) {
    background: #aa3232;
}

.leaderboard ol li:nth-child(7)::after {
    background: #aa3232;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.leaderboard ol li:nth-child(7) mark::before,
.leaderboard ol li:nth-child(7) mark::after {
    top: -7px;
    bottom: auto;
    border-top: none;
    border-bottom: 6px solid #aa3232;
}

.leaderboard ol li:nth-child(8) {
    background: #9b2d2d;
}

.leaderboard ol li:nth-child(8)::after {
    background: #9b2d2d;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.leaderboard ol li:nth-child(8) mark::before,
.leaderboard ol li:nth-child(8) mark::after {
    top: -7px;
    bottom: auto;
    border-top: none;
    border-bottom: 6px solid #9b2d2d;
}

.leaderboard ol li:nth-child(9) {
    background: #681c1c;
}

.leaderboard ol li:nth-child(9)::after {
    background: #681c1c;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.leaderboard ol li:nth-child(9) mark::before,
.leaderboard ol li:nth-child(9) mark::after {
    top: -7px;
    bottom: auto;
    border-top: none;
    border-bottom: 6px solid #681c1c;
}

.leaderboard ol li:nth-child(10) {
    background: #501414;
    border-radius: 0 0 10px 10px;
}

.leaderboard ol li:nth-child(10)::after {
    background: #501414;
    box-shadow: 0 -2.5px 0 rgba(0, 0, 0, 0.12);
    border-radius: 0 0 10px 10px;
}

.leaderboard ol li:nth-child(10) mark::before,
.leaderboard ol li:nth-child(10) mark::after {
    top: -9px;
    bottom: auto;
    border-top: none;
    border-bottom: 8px solid #501414;
}

.leaderboard ol li:hover {
    z-index: 2;
    overflow: visible;
}

.leaderboard ol li:hover::after {
    opacity: 1;
    transform: scaleX(1.06) scaleY(1.03);
}

.leaderboard ol li:hover mark::before,
.leaderboard ol li:hover mark::after {
    opacity: 1;
    transition: all 0.35s ease-in-out;
}

.the-most {
    position: fixed;
    z-index: 1;
    bottom: 0;
    left: 0;
    width: 50vw;
    max-width: 200px;
    padding: 10px;
}

.the-most img {
    max-width: 100%;
}

h1,
h2 {
    text-align: center;
}