*{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}
:root{
    --a:0;
}
body{
    background-color: rgb(0, 0, 0);
    color: rgb(0, 0, 0);
}
.left{
    width: 25vw;
    padding: 10px;
    background-color: black;
}
.right{
    width: 74vw;
    margin: 14px 0;
}
.home ul li{
    width: 15px;
    list-style: none;
    display: flex;
    gap: 15px;
    padding-top: 14px;
    font-weight: bold;
}
.library{
    min-height: 73vh;
    position: relative;
}
.heading {
    align-items: center;
    display: flex;
    gap: 15px;
    padding-top: 14px;
    padding: 23px 14px;
    font-weight: bold;
}
.heading img{
    display: flex;
    width: 26px;
}
.footer {
    display: flex;
    font-size: 9px;
    position: absolute;
    bottom: 0;
    padding-bottom: 10px;
    justify-content: center;
}
.footer a{
    text-decoration: none;
    color: gray;
    gap: 10px;
}
.header{
    display: flex;
    justify-content: space-between;
    background-color: rgb(34, 34, 34);
    border-radius: 7px;
}
.header >*{
    padding: 18px;
}
.playlist{
    padding: 15px;
}
.card{
    width: 190px;
    position: relative;
    padding: 10px;
    border-radius: 5px;
    background-color:#121212;

}
.card > *{
    padding-top: 10px;
}
.card img{

    width: 100%;
    object-fit: contain;
}
.cardcontainer{
    overflow-y: auto;
    height:100%;
    margin: 30px;
    display: flex;
    gap: 10px;
    padding-bottom: 60px;
    flex-wrap: wrap;
}
.cardcontainer1 a{
    overflow-y: auto;
    height:100%;
    margin: 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    text-decoration: none;
    color: #fff;
}
.play{
    position: absolute;
    top: 137px;
    right:-6px;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity:var(--a);
    transition:all ease-out .8s;
}


.signupbtn{
    font-weight: bold;
    background-color: rgb(34, 34, 34);
    color: rgb(104, 102, 102);
    border: none;
    outline: none;
    cursor: pointer;
}
.signupbtn:hover{
    color: white;
    font-size: 13px;
}
.button >*{
    margin: 0 12px;
}
.loginbtn{
    background-color: white;
    color: rgb(79, 72, 72);
    border-radius: 21px;
    width: 79px;
    padding: 10px;
}
.loginbtn:hover{
    color:black;
    font-weight: bold;

}
.right{
    position: relative;
}
.playbar{
    position: fixed;
    bottom: 3%;
    background-color: rgb(40, 39, 39);
    width: 70vw;
    padding-top: 16px;
    padding-bottom: 16px;
    border-radius: 30px;
    display: flex;
    height: 33px;
    align-items: center;
}
.songbutton{
    display: flex;
    justify-content: center;
    gap: 16px;


}
.songlist ul{
    padding: 0 16px;

}
.songlist ul li{
    list-style-type: decimal;
    display: flex;
    gap: 34px;
    padding: 12px 0;
    align-items: center;
    cursor: pointer;
    border: 1px solid rgb(0, 0, 0);
    margin: 13px 0;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    width: 256px;

}
.songlist{
    max-height: 370px;
    overflow: auto;
    margin-bottom:30px ;
}
.seekbar{
    height: 7px;
    width: 98%;
    background-image:-webkit-linear-gradient(left , #ff5c5c ,#fecd3a ,#ffcc33 );
    border-radius: 100px;
    position: absolute;
    bottom: 0;
    padding-right: 13px;
    cursor: pointer;
}
.circle{
   height: 20px;
   width: 20px;
   background-color: #000000;
   border-radius: 50%;
   position: relative;
   top: -7.5px;
   left: 0%;
   transition: left 0.5s;
}
.songbutton img{
    cursor: pointer;
}
.abovebar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 15px;
    height: 23px;
    padding-right: 15px;
}
.logo img{
    width: 98px;
}
.hamburger{
    display: none;
    height: 35px;
}
.hamburgercont{
    display: flex;
    justify-content: center;
    gap: 14px;
    align-items: center;
}
.card h3{
    display:none;
}

.close{
    display: none;

}

.volume {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.range input{
    cursor: pointer;
}

.abovebar {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    width: 100%;
}
.range{
    margin-right: 56px;
}
.card:hover{
    background-color: #2d2d2d;
    cursor:pointer;
    --a:1;
    filter: brightness(var(--a));
    
}
.name{
    text-align: center;
}
.circle3{
    border: 2px solid greenyellow;
    text-align: center;
    width: 19px;
    color: #000000;
    background: #fff;
    border-radius: 34px;
    padding: 3px;

}
/* Better spacing for sidebar list */
.songlist ul li {
    display: flex;
    justify-content: space-between; /* Pushes play icon to the right */
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.songlist ul li:hover {
    background-color: #282828;
}

.info div:first-child {
    font-weight: bold;
    color: white;
    width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Prevents long names from breaking UI */
}

/* Ensure the cards are centered and clean */
.cardcontainer {
    max-height: 70vh;
    padding-bottom: 100px;
}

.card h2 {
    font-size: 16px;
    color: white;
}

.card p {
    font-size: 13px;
    color: gray;
}