@import url("https://fonts.googleapis.com/css?family=Red+Hat+Display:400,900&display=swap");


.center {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-family: "Red Hat Display", sans-serif;
}

.top3 {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    color: #4b4168;
}
.top3 .item {
    box-sizing: border-box;
    position: relative;
    background: white;
    width: 9rem;
    height: 10rem;
    text-align: center;
    padding: 2.8rem 0 0;
    margin: 1rem 1rem 2rem;
    border-radius: 0.5rem;
    transform-origin: bottom;
    cursor: pointer;
    transition: transform 200ms ease-in-out;
    box-shadow: 0 0 4rem 0 rgba(0, 0, 0, 0.1), 0 1rem 2rem -1rem rgba(0, 0, 0, 0.3);
}
.top3 .item .pic {
    position: absolute;
    top: -2rem;
    left: 2.5rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 1rem;
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.2), 0 1rem 1rem -0.5rem rgba(0, 0, 0, 0.3);
}
.top3 .item .pos {
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.top3 .item .name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.top3 .item .score {
    opacity: 0.5;
}
.top3 .item .score:after {
    display: block;
    content: "points";
    opacity: 0.5;
}
.top3 .item.one {
    width: 10rem;
    height: 11rem;
    padding-top: 3.5rem;
}
.top3 .item.one .pic {
    width: 5rem;
    height: 5rem;
    left: 2.5rem;
}
.top3 .item:hover {
    transform: scale(1.05);
}

.list {
    padding-left: 2rem;
    margin: 0 auto;
}
.list .item {
    position: relative;
    display: flex;
    align-items: center;
    background: black;
    height: 4rem;
    border-radius: 4rem;
    margin-bottom: 2rem;
    background: #2e5ba1;
    transform-origin: left;
    cursor: pointer;
    transition: transform 200ms ease-in-out;
    box-shadow: 0 0 4rem 0 rgba(0, 0, 0, 0.1), 0 1rem 2rem -1rem rgba(0, 0, 0, 0.3);
}
.list .item .pos {
    font-weight: 900;
    position: absolute;
    left: -2rem;
    text-align: center;
    font-size: 1.25rem;
    width: 1.5rem;
    color: white;
    opacity: 0.6;
    transition: opacity 200ms ease-in-out;
}
.list .item .pic {
    width: 4rem;
    height: 4rem;
    color: white;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 1rem;
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.2), 0 1rem 1rem -0.5rem rgba(0, 0, 0, 0.3);
}
.list .item .name {
    flex-grow: 2;
    flex-basis: 10rem;
    color: white;
    font-size: 1.1rem;
}
.list .item .score {
    margin-right: 1.5rem;
    opacity: 0.8;
    color: white;
}
.list .item .score:after {
    margin-right: 1rem;
    content: "Tokens";
    opacity: 0.5;
}
.list .item:hover {
    transform: scale(1.05);
}
.list .item:hover .pos {
    opacity: 0.8;
}
