@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

body {
    background-color: black;
    color: white;
}

.logozuno {
    width: 40%;
    padding: 2px;
}

.left {
    width: 25vw;
    padding: 10px;
    height: 100vh;
}

.cross {
    position: relative;
    left: 175px;
    top: -25px;
    display: none;
    cursor: pointer;
}

.right {
    width: 75vw;
    margin: 16px 0px;
    position: relative;
}

.home ul li {
    display: flex;
    gap: 15px;
    width: 14px;
    list-style: none;
    padding-top: 14px;
    font-weight: bold;
    cursor: pointer;
}

.heading {
    display: flex;
    gap: 15px;
    width: 100%;
    padding-top: 14px;
    padding: 23px 14px;
    font-weight: bold;
    align-items: center;
    font-size: 13px;
}

.library {
    min-height: 85vh;
    position: relative;
}

.heading img {
    width: 30px;
}

.footer {
    font-size: 10px;
    color: grey;
    gap: 11px;
    position: absolute;
    bottom: 0;
    padding: 15px 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

}

.footer a {
    color: grey;
}

.header {
    display: flex;
    justify-content: space-between;
    background-color: rgb(34, 34, 34);
    min-height: 80px;
}

.header>* {
    padding: 20px;
}

.TrendingSongs {
    padding: 16px;
}

.TrendingSongs h2 {
    padding-bottom: 8px;
}

.cardcontainer {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px;
    max-height: 70vh;
    overflow: auto;
}

.card {
    width: 170px;
    padding: 10px;
    border-radius:10px;
    background-color: rgb(28, 28, 28);
    position: relative;
    cursor: pointer;

}

.card h3,
.card p {
    padding-top: 10px;
}

.card img {
    width: 100%;
    object-fit:contain;
    border-radius: 10px;
}

.play {
    position: absolute;
    top: 110px;
    right: 12px;
    opacity: 0;
    transition: all 0.2s ease-in-out;
}
.search-1{
    display: none !important;
}

.card:hover {
    .play {
        top: 100px;
        opacity: 1;
    }

    background-color: rgb(34, 34, 34);

}

.signupbtn {
    background-color: rgb(34, 34, 34);
    color: rgb(179, 179, 179);
    border: none;
    outline: none;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;

}

.signupbtn:hover {
    font-size: 1.0000000000000000000000000001rem;
    color: white;

}

.hamburger {
    display: none;
}

.loginbtn {
    background-color: white;
    color: black;
    font-size: 16px;
    font-weight: 700;
    border: none;
    outline: none;
    border-radius: 30px;
    cursor: pointer;
}

.loginbtn:hover {
    background-color: gainsboro;
    font-size: 17px;
}
.logoutbtn {
  padding: 10px 10px;
  border: none;
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 10px rgba(72, 62, 65, 0.3);
}

.logoutbtn:hover {
  background-color: #4a4546;
  color: #ffffff;
  transform: scale(1.05);
}

.logoutbtn:active {
  transform: scale(0.95);
}

.button>* {
    padding: 15px 30px;
}

.playbar {
    position: fixed;
    bottom: 15px;
    background-color: #000000;
    width: 70vw;
    padding: 12px;
    border-radius: 20px;
    min-height: 40px;
}

.songbuttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    align-items: center;
}

.songbuttons img {
    cursor: pointer;
    width: 33px;
}
.songlist ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width:thin; 
    scrollbar-color:  rgba(160, 160, 160, 0.25) transparent;
}

.songlist li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.songlist li:hover {
    background: rgba(255, 255, 255, 0.1);
}

.songlist li img.invert {
    width: 24px;
    height: 24px;
    margin-right: 14px;
    filter: invert(1);
}

.songlist .info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-left: 12px;
    color: white;
    font-size: 14px;
}

.songlist .info > div:first-child {
    font-weight: 500;
    font-size: 15px;
}

.songlist .playnow img {
    width: 18px;
    height: 18px;
}
.songlist li.playing {
    background-color: #2a2a2a;
    border-radius: 8px;
}

.songlist li .playnow img {
    width: 20px;
    transition: transform 0.2s;
}

.songlist li.playing .playnow img {
    content: url("assets/pause.svg");
}

.hidden {
    display: none;
}
.welcome-text {
  background: linear-gradient(90deg, #ffffff, #6f6c6c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.welcome-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-right: 20px;
    position: relative;
    top: 9px;
}




/* .songlist>ul {
    padding: 0px 0px;
}

.songlist ul li {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    padding: 12px 0px;
    border: 1px solid rgb(87, 87, 87);
    margin: 12px 0px;
    padding: 12px;
    border-radius: 5px;
} */

.playnow {
    display: flex;
    justify-content: center;
    align-items: center;
}

.playnow span {
    font-size: 15px;
    padding: 12px;
}

/* .songlist .info {
    font-size: 13px;
} */
.info div{
    word-break: break-all;
}

/* .songlist {
    height: 410px;
    overflow: auto;
    margin-bottom: 34px;
} */

.seekbar {
    height: 4px;
    width: 69.8vw;
    background-color: white;
    border-radius: 10px;
    position: absolute;
    bottom: 9%;
    cursor: pointer;
    user-select: none;
}
.progress {
    height: 100%;
    background-color: #4f8cff; /* progress color */
    width: 0%;
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.1s linear;
    z-index: 1;
}



.circle {
    width: 15px;
    height: 15px;
    border-radius: 100px;
    background-color: white;
    position: relative;
    bottom: 6px;
    transition: left 0.5 linear;
    z-index: 2;
}

.abovebar {
    display: flex;
    justify-content: space-between;
    gap: 9px;
    margin: 10px 0px;
}

.songinfo{
    padding: 0px 10px;
    width: 250px;
}
.songtime{
    padding: 0px 10px;
    width: 125px;
}
.volume{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.timevol{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
#Range1{
    cursor: pointer;
}



@media (max-width:1400px) {
    .left {
        position: absolute;
        left: -120%;
        transition: all 0.3s;
        z-index: 1;
        width: 370px;
        background-color: black;
        padding: 0;
    }

    .right {
        width: 100vw;
        margin: 0;

    }

    .playbar {
        width: calc(100vw - 60px);
        padding-left: 12px;
        background-color: rgb(34, 34, 34);
        font-size: 13px;
    }

    .seekbar {
        width: calc(100vw - 68px);
    }

    .hamburger {
        display: inline;
        margin: 0px 5px;
        cursor: pointer;
    }

    .cross {
        display: inline;
    }

    .cardcontainer {
        margin: 5px;
    }

    .songinfo {
        width: 180px;
    }
    .welcome-text{
        display: none;
    }
}

@media (max-width:635px) {
    .card {
        width: 100vw;
    }
    .library{
        height: 85vh;
    }
    .left{
        height: 100dvh;
        position: fixed;
        top: 0;
    }

    .play {
        position: absolute;
        top: 230px;
        right: 30px;
        opacity: 0;
        transition: all 0.2s ease-in-out;
    }
    .playbar{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 2px !important;
        margin-bottom: 10px;
    }

    .abovebar {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .cardcontainer {
        max-height: unset;
        overflow-y: unset;
        margin-bottom: 30vh;
    }


    .card:hover {
        .play {
            top: 220px;
            opacity: 0;
        }

        background-color: rgb(34, 34, 34);

    }
    .songinfo{
        width: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .songtime{
        width: auto;
    }
    .timevol{
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        margin-bottom:5px ;
    }
    .footer{
        margin-bottom: 15px;
    }
}

@media (max-width:400px) {
    .arrow {
        display: none;
    }

    .hamburger {
        position: absolute;
        top: 30px;
    }
}