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

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

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

.left {
    width: 25vw;
    padding: 5px 0px;
}

.close {
    position: absolute;
    right: 20px;
    top: 25px;
}

.logo img {
    width: 100px;
}

.right {
    width: 75vw;
    padding: 5px 0px;

}

.home {}

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

.bg-black {
    background-color: black;
    color: white;
}

.invert {
    filter: invert(1);
}

.bg-grey {
    background-color: #121212;
}

.heading {
    display: flex;
    align-items: center;
    gap: 11px;
    list-style: none;
    /* padding-top: 12px; */
    font-weight: bold;
    font-size: 11px;
}

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

.heading img {
    width: 20px;
}

.footer {
    gap: 18px;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    position: absolute;
    bottom: 0;
    padding: 10px 0px;

}

.footer a {
    color: grey;
}


.header {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    padding: 5px;
}

.hamburger {
    display: none;
}

.hamburger-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.nav svg {
    padding-top: 14px;
}

.buttons {
    display: flex;
    align-items: center;
}

.signupbtn {
    background-color: rgb(48, 46, 46);
    color: grey;
    height: 34px;
    width: 90px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    outline: none;
    cursor: pointer;

}

.signupbtn:hover {
    font-size: 14.3px;
    color: white;
}

.signup-contain {
    width: 110px;
    height: 50px;
    background-color: (48, 46, 46);
    display: flex;
    justify-content: center;
    align-items: center;

}

.loginbtn {
    background-color: white;
    color: black;
    border-radius: 50px;
    width: 100px;
    height: 50px;
    font-weight: bold;
    font-size: 15px;
    border: none;
    outline: none;
    padding: 10px;
    margin: 0px 4px;
    cursor: pointer;
}

.loginbtn:hover {
    font-size: 16px;
    width: 105px;
    padding: 10px 14px;
}

.spotify-playlist {
    font-size: 13px;
    padding: 8px 16px;
    height: 82.3vh;
    position: relative;
}

.spotify-playlist h2 {
    margin-bottom: 14px;

}


.img-wrapper {
    position: relative;
}

.img-wrapper img {
    width: 100%;
    border-radius: 10px;
}

.cardContainer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-height: 67vh;
    overflow-y: scroll;

}

.spotify-playlist .card {
    width: 150px;
    /* height: 230px; */
    padding: 10px;
    border-radius: 15px;
    background-color: #252525;
    transition: all 0.5s;
}
.card:hover{
    background-color: rgb(68, 62, 62);
    cursor: pointer;
    .play{
        opacity: 1;
    }
}
.card>* {
    padding-top: 0px;
}

.card img {
    width: 100%;
    object-fit: contain;
}

.play {
    width: 40px;
    height: 40px;
    background-color: #45c93e;
    /* green background */
    border-radius: 50%;
    /* makes it a circle */

    display: flex;
    align-items: center;
    /* vertical center */
    justify-content: center;
    /* horizontal center */

    position: absolute;
    right: 12px;
    bottom: 12px;
    cursor: pointer;
    opacity: 0;
    transition: all 1s ease;
}

.play svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Scrollbar width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track (glass background) */
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 10px;
}

/* Thumb (the draggable part) */
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.player {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    position: fixed;
    bottom: 16px;
    width: 70vw;
    height: 40px;
    background-color: rgb(80, 209, 97);
    padding-top: 10px;
}

.abovebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 69vw;
    
    
    background-color: rgb(80, 209, 97);
}

.songinfoplay {
    padding-bottom: 16px;
    padding-left: 12px;
    font-size: 15px;
}

.songtime {
    padding-bottom: 16px;
    padding-right: 12px;
    font-size: 15px;
}

.playbtns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding-bottom: 16px;

}

.playbtns img {
    cursor: pointer;
}
.timevol{
    display: flex;
    justify-content:center ;
    align-items: center;
}

.player img {
    width: 23px;
}
.volume {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding-bottom: 15px;
}
.volume img{
    width: 20px;
}
.volume input{
    width: 80px;
    height: 5px;
    margin-bottom: 7px;
}
.range input{
    cursor: pointer;
}

.songlist {
    margin-top: 12px;
    height: 380px;
    border: 1px solid white;
    overflow-y: scroll;
}

.songlist {
    width: 280px;
}

.songlist ul {
    padding: 0px 0px;
}

.songlist ul li {
    list-style-type: decimal;
    display: flex;
    justify-content: space-between;
    gap: 1px;
    cursor: pointer;
    padding: 12px 0px;
    border: 1px solid white;
    margin: 12px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

.playnow {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.seekbar {
    height: 2px;
    width: 98%;
    border: 1.5px solid white;
    position: absolute;
    bottom: 5px;
    border-radius: 10px;

}

.circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: black;
    position: relative;
    bottom: 7px;
    left: 0%;
    transition: left 0.5s;

}

 @media (max-width: 1000px) {
    .left {
        position: absolute;
        left: -120%;
        transition: all .3s;
        z-index: 1;
        width: 310px;
        background-color: black;
        /*padding: 0;
        height: 100vh;
        position: fixed;
        top: 0; */
    }

    .right {
        width: 100vw;
    }

    .playber {
        width: 90vw;
    }

    .hamburger {
        display: inline;
        cursor: pointer;
    }

    .player {
        width: 90vw;
    }

    .seekbar {
        width: 85vw;
    }

    .abovebar {
        width: 90vw;
    }

    .spotify-playlist .card {
        width: 343px;
        height: 405px;
    }

    .cardContainer {
        max-height: 77vh;
        justify-content: centre;
    }
    .songlist{
        height: 65vh;
    }
    .songinfoplay{
        border: 1px solid black;
        width: 28vw;
    }
    
}