::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: #0000;
}

::-webkit-scrollbar-thumb {
    background: #0000;
}

body {
    background-color: #383A40;
    margin: 0;
    padding: 0;
    color: #fff;
}

.title {
    text-align: center;
    padding: 1rem;
}

.body {
    background-color: #313338;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.logo {
    width: 10rem;
    border-radius: 2rem;
    margin: 2rem;
}

.content {
    height: 100%;
    background-color: #2B2D31;
    border-radius: 0.5rem;
    flex-grow: 1;
    width: 100%;
}

.content:hover ::-webkit-scrollbar-thumb {
    background-color: #36383d;
    border-radius: 0.5rem;
}

.users {
    display: grid;
    justify-items: stretch;
    counter-reset: user-count;
    gap: 0.2rem;
    overflow-y: scroll;
    max-height: calc(100svh - 24.4rem);
}

.table-title,
.user {
    display: inline-grid;
    grid-template-columns: 15rem auto 18rem;
    padding: 0.7rem 1.5rem;
    align-items: center;
    border-radius: 0.5rem;
    width: 100%;
}

.table-title {
    color: #aaa;
    border-radius: 0.5rem 0.5rem 0 0;
    background-color: #26282B;
    padding: 0.7rem calc(1.5rem + 10px) 0.7rem 1.5rem;
}

.table-title .left,
.user .left {
    display: grid;
    grid-template-columns: 4rem 3rem auto;
    align-items: center;
}

.table-title .table-title-nmr {
    width: 2rem;
    text-align: center;
}

.table-title .right,
.user .right {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    float: right;
    justify-content: space-evenly;
    text-align: center;
}

.user .position {
    background-color: #383A40;
    border-radius: 100%;
    width: 2rem;
    height: 2rem;
    margin-right: 2rem;
}

.user:nth-child(1) .position {
    background-color: #FF9E03;
    width: 2rem;
    height: 2rem;
    border-radius: 10%;
}

.user:nth-child(2) .position {
    background-color: #6093BA;
}

.user:nth-child(3) .position {
    background-color: #C66E04;
}

.user .position::after {
    counter-increment: user-count;
    content: counter(user-count);
    display: block;
    text-align: center;
    font-weight: bold;
    padding: 0.2rem;
    width: 2rem;
    height: 2rem;
}

.user .user-avatar {
    border-radius: 100%;
    width: 2rem;
    margin-right: 1rem;
}

.user .user-name {
    color: rgb(242 244 251);
    font-weight: bold;
}

.user .user-xp,
.user .user-messages {
    color: #aaa;
}

.user .user-level {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user .user-level-text {
    position: absolute;
    color: rgb(242 244 251);
    font-weight: bold;
    background-color: #2B2D31;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user .user-level-arc {
    margin: -0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    box-shadow: inset 0 0 10px #0008;
    border-radius: 100%;
}