.level-container{
    position: absolute;
    width: 25%;
    height: 15%;
    left: 3%;
    top: 1%;
    border-radius: 5px;
    transform: scale(0.7);
    transform-origin: top left;
    pointer-events: none;
}
.level-title{
    position: absolute;
    left: 40%;
    top: 10%;
    font-family: 'Passero One', cursive;
    font-size: 3vh;
    color: rgb(255, 255, 255);
    text-shadow: 0px 0px 10px rgb(255, 0, 255);
}
.level-profile{
    position: absolute;
    width: 25%;
    height: 90%;
    right: 85%;
    top: 10%;
    box-shadow: 0px 0px 5px rgb(78, 134, 255);
    background-color: black;
    border-radius: 100px;
    border-left: 4px white solid;
    z-index: 1000;
    box-sizing: border-box;
}
.level-lottie{
    filter: drop-shadow(0px 0px 20px rgb(231, 112, 255)) brightness(0.8);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.level-bar-container{
    position: absolute;
    width: 90%;
    height: 15%;
    left: 0%;
    bottom: 0%;
    background-color: white;
    border-radius: 20px;
}
.level-bar {
    border-radius: inherit;
    left: 0;
    top: 0;
    height: 100%;
    width: 1%;
    background: linear-gradient(90deg, #8e44ad 0%, #b889f6 50%, #ffd700 100%);
    background-size: 200% 100%;
    animation: shine 20s linear infinite;
}
.level-risk{
    position: absolute;
    font-size: 2.5vh;
    color: white;
    top: 115%;
    font-family: 'Passero One', cursive;
    padding-left: 5px;
    padding-right: 5px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    opacity: 0.8;
}


.level-text{
    position: absolute;
    right: 0;
    bottom: 100%;
    font-family: 'Passero One', cursive;
    font-size: 2.5vh;
    color: rgb(255, 255, 255);
    text-shadow: 0px 0px 10px rgb(255, 0, 255);
}
.level-number{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    font-size: 8vh;
    color: white;
    text-shadow: 0px 0px 5px black;
    font-family: 'Saira Stencil One', cursive;
    transform-origin: right top;
}
.cursor-xp{
    position: absolute;
    margin-left: 50px;
    color: rgb(255, 0, 255);
    text-shadow: 0px 0px 10px black;
    animation: cursor-xp ease-out forwards 2s;
    font-family: 'Passero One', cursive;
    font-size: 3vh;
}


@keyframes cursor-xp{
    100%{transform: translateY(-110px); opacity: 0;}
}


@keyframes levelPop{
    0%{transform: scale(1);}
    50%{transform: scale(1.5);}
    100%{transform: scale(1);}
}

@keyframes shine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}