.leaderboard {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    margin-left: 265px;
    overflow: hidden;
}

.leaderboard-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
}

.leaderboard-contents {
    flex: 1 0 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.leaderboard-title {
    font-size: 76px;
    font-size: 76.0px;
    text-shadow: 0px 0px 69px var(--Primary-Primary-600);
    font-weight: 900;
    filter: blur(0px);
    transform: skewX(0deg) translateY(145px);
    animation-name: none;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
}

@keyframes leaderboard-title {
    0% {
        transform: skewX(0deg) translateY(145px);
        filter: blur(0px);
    }

    50% {
        transform: skewX(90deg) translateY(145px);
        filter: blur(15px);
    }

    100% {
        transform: skewX(0deg) translateY(145px);
        filter: blur(0px);
    }
}

.leaderboard-podium {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 30px;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 200px;
    height: 559.2px;
    overflow: clip;
}

.leaderboard-podium-item {
    display: flex;
    width: 204px;
    flex-direction: column;
    gap: 32px;
    animation-name: none;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
}

@keyframes leaderboard-bar {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(567px);
    }

    100% {
        transform: translateY(0px);
    }
    
}

.leaderboard-bar {
    width: 204px;
    height: 621px;
}

.leaderboard-bar-user {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.leaderboard-bar-user-picture {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.leaderboard-bar-user-picture img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.leaderboard-bar-user-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.leaderboard-bar-user-details h2 {
    color: var(--Primary-Primary-900);
    font-family: Montserrat;
    font-size: 36px;
    font-style: normal;
    font-weight: 900;
    line-height: 42px;
    /* 116.667% */
    letter-spacing: -0.36px;
    margin: 0;
}

.leaderboard-bar-user-details p {

    /* Body 1/600 - Semibold */
    font-family: "Be Vietnam Pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
    /* 144.444% */
    letter-spacing: -0.216px;
    margin: 0;
}

.leaderboard-table {
    width: 85%;
    border-radius: 16px;
    border: 2px solid var(--Neutral-Neutral-400);
    background: rgba(35, 25, 44, 0.80);
    backdrop-filter: blur(75px);
    padding: 15px 32px;
    transform: translateY(-612px);
}

.leaderboard-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 410px;
    height: 35px;
    flex-shrink: 0;
    padding-left: 22px;
}

.leaderboard-table-header p {
    color: var(--Primary-Primary-800, #E6B3F6);

    /* Caption 1/600 - Semibold */
    font-family: "Be Vietnam Pro";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    /* 142.857% */
    letter-spacing: -0.14px;
}

.leaderboard-table-items {
    display: flex;
    width: 100%;
    align-items: flex-start;
    align-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
    padding: 18px 0px;
}

.leaderboard-item {
    display: flex;
    width: 403.4px;
    height: 47.6px;
    padding: 10px 26px;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(24, 17, 30, 0.50);
    backdrop-filter: blur(5px);
    overflow: hidden;
    text-decoration: none;
}

.leaderboard-item-user {
    display: flex;
    align-items: center;
    gap: 27px;
}

.leaderboard-item-user>p {
    width: 30px;
    text-decoration: none;
}

.leaderboard-item-user-preview {
    display: flex;
    align-items: center;
    gap: 17.8px;
    width: 200px;
}

.leaderboard-item-user-preview img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.leaderboard-item-user-preview p {
    text-decoration: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    flex: 1 0 0;
    overflow: hidden;
    color: var(--Primary-Primary-800, #E6B3F6);
    text-overflow: ellipsis;

    /* Body 2/500 - Medium */
    font-family: "Be Vietnam Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    /* 150% */
    letter-spacing: -0.192px;
    text-align: left;
}

.leaderboard-item-stats {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25.8px;
    flex: 1 0 0;
}

.leaderboard-item-stats p {
    color: var(--Primary-Primary-800, #E6B3F6);

    /* Body 2/500 - Medium */
    font-family: "Be Vietnam Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    /* 150% */
    letter-spacing: -0.192px;
    width: 32.4px;
}

.leaderboard-phone {
    display: none;
    width: 100%;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* P-Override so that the leaderboard looks okay on phones */
@media screen and (max-width: 1400px) {
    p {
        text-align: start !important;
    }
}

.leaderboard-phone-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.leaderboard-phone-title {
    font-size: 40px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0px 0px 30px var(--Primary-Primary-600);
    filter: blur(0px);
    animation-name: none;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
}

.leaderboard-phone-podium {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
}

.leaderboard-phone-podium-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(24, 17, 30, 0.70);
    backdrop-filter: blur(10px);
    border: 2px solid var(--Neutral-Neutral-400);
    animation-name: none;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
}

@keyframes leaderboard-phone-item {
    0% {
        transform: translateX(0px);
        opacity: 1;
    }
    50% {
        transform: translateX(-100vw);
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

.leaderboard-phone-podium-rank {
    font-size: 28px;
    font-weight: 900;
    font-family: Montserrat;
    color: var(--Primary-Primary-800);
}

.leaderboard-phone-podium-picture {
    display: flex;
}

.leaderboard-phone-podium-picture img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}


.leaderboard-phone-podium-details h3 {
    color: var(--Primary-Primary-900);
    font-family: Montserrat;
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 6px 0;
}

.leaderboard-phone-podium-details p {
    color: var(--Primary-Primary-800);
    font-family: "Be Vietnam Pro";
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.leaderboard-phone-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 600px;
}

.leaderboard-phone-item {
    display: flex;
    padding: 5px 20px;
    align-items: center;
    gap: 18px;
    border-radius: 12px;
    background: var(--Neutral-Neutral-400);
    backdrop-filter: blur(5px);
    text-decoration: none;
    border: solid 1px var(--Neutral-Neutral-500);
}

.leaderboard-phone-item-rank {
    color: var(--Primary-Primary-800);
    font-family: "Be Vietnam Pro";
    font-size: 20px;
    font-weight: 600;
    min-width: 45px;
}

.leaderboard-phone-item-user {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.leaderboard-phone-item-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.leaderboard-phone-item-user p {
    color: var(--Primary-Primary-800);
    font-family: "Be Vietnam Pro";
    font-size: 18px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.leaderboard-phone-item-stats {
    color: var(--Primary-Primary-800);
    font-family: "Be Vietnam Pro";
    font-size: 16px;
    font-weight: 600;
    text-align: right;
    white-space: normal;
    flex-shrink: 0;
}

@media screen and (max-width: 1400px) {
    .leaderboard {
        display: none;
    }

    .leaderboard-phone {
        display: flex;
    }
}