*{
padding:0;
margin:0;
box-sizing:border-box;
list-style:none;
user-select:none;
}
body{
min-height:100vh;
background:#050505;
color:#f2f2f2;
display:flex;
justify-content:center;
align-items:center;
}
ul{
width:100%;
display:flex;
justify-content:center;
gap:2em;
align-items:center;
background:#2ab;
padding:5px 10px;
position:fixed;
bottom:0;
border-radius:20px;
z-index:9999999999;
}
section{
max-width:600px;
width:80%;
margin:0 auto ;
background:#2ab;

padding:30px 0 0 0;
position:relative;
transition:all 1s;
}
section::before{
content:'';
position:absolute;
top:0;
right:0;
width:calc(100% - 50px);
height:100%;
background:#000;
}

.test{
width:100%;
margin-top:-20px;
padding-bottom:10px;
position:relative;
}
.test h1{
display:block;
text-align:center;
position:relative;
}
.test-item{
display:grid;
grid-template-columns:50px 1fr;
padding:15px 20px;
gap:2em;
align-items:center;
position:relative;
}
.test-item::before{
content:'';
position:absolute;
width:100%;
height:100%;
transform:scaleX(0);
background:#2ab;
border-radius:0 30px 0 0;
transform-origin:left;
transition:0.5s;
}
.test-item:hover::before{
transform-origin:left;
transform:scaleX(1);
transition:0.5s;
}
.test-item:hover p,.test-item:hover h1 {
color:#001830;
}
.img{
height:50px;
width:50px;
position:relative;
}
img{
border-radius:10px;
width:50px;
height:50px;
position:relative;
object-fit:cover;
border:2px #f7f7f7 solid;
}
.test-result{
position:relative;
text-align:left;
}
.test-result::before{
content:attr(data-rank);
position:absolute;
top:50%;
right:0;
transform:translateY(-50%);
border-left:2px solid #2ab;
margin-left:5px;
padding-left:5px;
font-size:2em;
color:#C0E0E0;
}
.test-result h1{
font-family:Courier new,monospace;
letter-spacing:-1px;
color:#C0E0E0;
}
.test-result p{
color:#58A0A8;
font-weight:400;
}
ul li{
z-index:1;
font-size:2em;
padding:5px;
display:flex;
align-items:center;
justify-content:center;
height:50px;
width:50px;
position:relative;
}
ul li:hover,ul li:active{
transform:translateY(-50%);
transition:all 0.6s;
background:var(--c);
border-radius:50%;
border:5px double #fff;
}
li:hover i{
font-size:0.6em;
}
@media screen and (max-width:1200px){
ul{
justify-content:space-around;
}
}