*,*::after, *::before{
    box-sizing: border-box;
}
.leaderboard__box{
    margin-top: 15rem;
}
.leaderboard__pedestal img{
    width: 150px;
    height: 150px;
    position: relative;
}
.top-1 img{
    width: 200px;
    height: 200px;
}
.pedestal__image{
    padding: 0.5rem;
    background-color: rgb(233, 195, 53);
}
.top-1 .pedestal__image::before{
    content: url('/assets/images/medal-1.svg');
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    z-index: 2;
}
.top-2 .pedestal__image::before{
    content: url('/assets/images/medal-2.svg');
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    z-index: 2;
}
.top-3 .pedestal__image::before{
    content: url('/assets/images/medal-3.svg');
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    z-index: 2;
}
.top-2 .pedestal__image{
    background-color: #D6D6D6;
}
.top-3 .pedestal__image{
    background-color: #CB6F3B;
}
@keyframes slide {
    0% {transform:translateX(-100%);}
    10% {transform:translateX(100%);}
    100% {transform:translateX(100%);}
}
.leaderboard__pedestals{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 10rem;
    font-family: 'Inter', sans-serif;
    gap: 1rem;
}
.leaderboard__pedestal{
    background-color: #D9D9D9;
    display: flex;
    position: relative;
    gap: 1em;
    flex-direction: column;
    align-items: center;
    padding: 1em;
    padding-top: 5.5rem;
}
.top-1{
    padding-top: 7rem;
}
.top-3{
    padding-top: 4.5rem;
}
.leaderboard__pedestal__col--flex{
    display: flex;
    gap: 2rem;
}
.leaderboard__pedestal__col{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.3rem;
}
.pedestal__image{
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.pedestal__title{
    text-transform: uppercase;
    font-weight: bold;
    color: #111;
}
.pedestal__points{
    font-size: 1.8em;
    font-weight: bold;
    color: #111;
}
.pedestal__rate{
    font-size: 1.4em;
    text-align: right;
    color: #5E5E5E;
    font-weight: bold;
}
.pedestal__name{
    font-weight: bold;
    color: #111;
}
.pedestal__hash{
    color: #5E5E5E;
}
.left-col .pedestal__name, .left-col .pedestal__hash{
    text-align: left;
}
.table table, .table th, .table td{
    border: 1px solid #E5E7EB;
    border-collapse: collapse;
    padding: 1rem;
    font-family: "Inter", sans-serif;
    vertical-align: middle;
    text-align: left;
}
.table th{
    font-weight: bold;
    color: #222;
}
.table img{
    width: 100px;
}
.table table{
    width: 100%;
}
.table{
    width: 70%;
    margin: 0 auto;
    margin-top: 2rem;
}
.table:first-of-type{
    border-bottom: none;
}
table.table__options td{
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: end;
    border: none;
}
table.table__options, .table__options td{
    font-weight: bold;
    border-bottom: none;
}
.table__options input{
    padding: 0.5rem;
    border: 1px solid #E5E7EB;
    font-family: 'Inter', sans-serif;
}
.gridjs-wrapper{
    box-shadow: none;
    border-radius: 0;
}
.gridjs-search{
    float: right;
}
.gridjs-search input{
    border-radius: 0;
}
.gridjs-pagination{
    font-family: "Inter", sans-serif;
}
img{
    opacity: 0;
}
img[src]{
    opacity: 1;
}
[data-column-id="tokenId"]{
    width: 116px !important;
}
.gridjs-head{
    background-color: #f9fafb;
    margin-bottom: 0;
}
.gridjs-search::before {
    content: "Search by id";
    margin-right: 0.5em;
    font-weight: bold;
    color: #222;
}
td.gridjs-td{
    background-color: transparent;
}
tr:nth-child(even) {
    background: #f9f9f9
}
@media screen and (max-width: 753px) {
    .leaderboard__pedestals{
        display: none;
    }
    .leaderboard__box{
        margin-top: 6rem;
    }
    .table{
        width: 100%;
    }
    .gridjs-search{
        width: 100%;
        padding-top: 2em;
        position: relative;
    }
    .gridjs-search::before{
        position: absolute;
        top: 0.5em;
        margin-left: 1em;
    }
    .gridjs-search input{
        display: block;
        width: 90%;
        margin: 0 auto;
    }
    .gridjs-pagination{
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
}