.leaderboard{
    position: absolute;
    width: 25%;
    height: 35%;
    left: 1%;
    top: 15%;
    transform-origin: top left;
    transform: scale(0.7);
    z-index: 10;
    pointer-events: none;
}
.leader-self{
    position: absolute;
    width: 100%;
    top: 105%;
    color: rgb(255, 96, 255);
    font-family: 'Passero One', cursive;
    font-size: 3.5vh;
}
.leader{
    position: relative;
    width: 90%;
    color: aqua;
    font-family: 'Roboto', cursive;
    display: flex;
    font-size: 2.5vh;
    background-color: black;
    margin-top: 2%;
    padding-left: 5px;
    opacity: 0.8;
    border-top: solid 2px aqua;
    border-radius: 15px;
    padding: 5px;
}
.leader:hover{
    cursor: url(imgs/cursorButton.png) 20 20, auto;
}
.leader-attr{
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.leader-level{
  width: 15%;
}
.leader-badge{
  left: 15%;
}
.leader-time{
    text-align: center;
}
.leader-name{
  width: 50%;
}
.leader-first {
  width: 100%;
  overflow: hidden;
  position: relative;
  color: black;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.4);
  color: gold;
  box-shadow: 0px 0px 10px aqua;
}

.leader-first::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 251, 0, 0.6),
    transparent
  );
  animation: shining linear 5s infinite;
}
.leader-second {
  display: inline-flex;
  overflow: hidden;
  position: relative;
  color: black;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.4);
  color: white;
  width: 95%;
  box-shadow: 0px 0px 10px aqua;
}

.leader-second::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  animation: shining linear 5s 1s infinite;
}
.leader-third {
  display: inline-flex;
  overflow: hidden;
  position: relative;
  color: black;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.4);
  color: rgb(255, 94, 0);
  box-shadow: 0px 0px 10px aqua;
}
.leader-third::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 72, 0, 0.904),
    transparent
  );
  animation: shining linear 5s 2s infinite;
}
@keyframes shining {
  0%   { left: -75%; }
  100% { left: 125%; }
}