*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    list-style: none;
    text-decoration: none;
}
:root{
    --clr-primary: royalblue;
    --clr-secondary: #141414;
}

.btn{
    padding: 8px 16px;
    font-size: 16px;
    color: white;
    outline: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: capitalize;
    background-color: var(--clr-primary);
}
.btn.primary{
    background-color: var(--clr-primary);
}

.btn.secondary{
    background-color: var(--clr-secondary);
}


body{
    width: 100vw;
    min-height: 100svh;
    background-color: #1f1f1f;
    color: white;
}
.container{
    border: 1px solid #141414;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    margin-bottom: 20px;
}
.bar{
    border-radius: 3px;
    height: 100%;
    width: 20px;
    background-color: var(--clr-primary);
}
.bar.active{
    background-color: rgb(246, 189, 32);
}
.range{
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}
.range span{
    min-width: 50px;
}

input[type="range"]::-moz-range-thumb{
    background-color: royalblue;
    width: 30px;
    height: 100px;
}
.controlls{
    display: flex;
    justify-content: center;
    gap: 10px;
}
.drop-box{
    position: relative;
}
.drop-box ul{
    position: absolute;
    top: calc(100% + 10px);
    background-color: #141414;
    overflow: hidden;
    border-radius: 9px;
    padding: 4px;
    left: 0;
    display: none;
    color: white;
}

.drop-box.active ul{
    display: block;
}
.drop-box>div{
    display: flex;
    align-items: center;
    gap: 8px;
}
.drop-box>div img{
    aspect-ratio: 1;
    width: 16px;
}
.drop-box ul li{
    padding: 8px 16px;
    white-space: nowrap;
    border-radius: 5px;
    cursor: pointer;
    text-transform: capitalize;
}
#sort{
    min-width: 132px;
}
.drop-box ul li.active,
.drop-box ul li:hover{
    background-color: var(--clr-primary);
}
