@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

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

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

.right {
    width: 75vw;
}

.close {
    display: none;
}

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

.heading {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-top: 15px;
    padding: 24px 15px;
    font-size: 11px;
    /* font-weight: bold; */
}

.heading img {
    width: 15px;
}

.library {
    /* height: 77vh; */
    min-height: 77vh;
    position: relative;
    /* overflow-y: scroll; */
}

.songList {
    height: 500px;
    overflow: auto;
    margin-bottom: 55px;
}

.songList ul {
    padding: 0 12px;
}

.songList ul li {
    font-size: 15px;
    list-style-type: decimal;
    text-transform: capitalize;
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-around;
    gap: 8px;
    cursor: pointer;
    /* padding: 12px 0; */
    border: 1px solid white;
    margin: 12px 0;
    padding: 13px;
    border-radius: 7px;
}

.songList ul li img {
    width: 35px;
}

.songList .info {
    font-size: 13px;
    width: 150px;
    /* word-break: break-all; */
    /* overflow-x: clip; */
    /* width: 344px; */
}

.songList .info div {
    word-break: break-all;
}

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

.playnow span {
    padding: 12px 2px;
    font-size: 10px;
    width: 50px;
    /* background-color: maroon; */
}






.footer {
    display: flex;
    flex-wrap: wrap;
    font-size: 10px;
    gap: 12px;
    position: absolute;
    justify-content: space-between;
    bottom: 0;
    padding: 10px;
}

.footer a {
    color: grey;
    text-decoration: none;
}

.right {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    position: relative;
}

.nav img {
    width: 35px;
}

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

.hamburger {
    display: none;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header>* {
    padding: 20px;
}

.buttons{
    display:flex;
    /* justify-content: space-evenly; */
}

.buttons>* {
    margin: 0 12px;
}

.signupbtn {
    background-color: #1f1f1f;
    color: rgba(255, 255, 255, 0.537);
    font-weight: bold;
    border: none;
    outline: none;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.signupbtn:hover {
    transform: scale(1.1);
    color: white;
}

.loginbtn {
    border: none;
    outline: none;
    background-color: white;
    color: black;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    font-size: 1rem;
    width: 100px;
}

.loginbtn:hover {
    transform: scale(1.03);
    background-color: rgba(255, 255, 255, 0.893);
}

.spotifyPlaylist {
    padding: 0 10px;
}

.spotifyPlaylist h1 {
    padding: 16px;
}

.spotifyPlaylist .cardContainer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 30px;
    overflow-y: auto;
    max-height: 68vh;
}

.spotifyPlaylist .card {
    width: 200px;
    /* border: 1px solid crimson; */
    padding: 10px;
    border-radius: 5px;
    background: #252525;
    position: relative;
}

.card {
    transition: all 0.4s ease;
}

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

.card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit:cover;
}

/* .card .play{
    width: 30px;
    aspect-ratio: 1/1;
    background-color: lime;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
    position: absolute;
    top: 166px;
    right: 25px
} */
.card .play img {
    width: 25px;
}

.card .play {
    width: 30px;
    aspect-ratio: 1/1;
    background-color: crimson;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
    position: absolute;
    /* top: 215px; */
    top: 166px;
    right: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.card:hover .play {
    opacity: 1;
    transform: translateY(0);
    /* top: 166px; */
}

.card:hover {
    background: linear-gradient(to top, black, #252525, #252525, #252525);
    cursor: pointer;
}

.playbar {
    min-height: 49px;
    padding: 12px;
    width: 70vw;
    position: fixed;
    bottom: 15px;
    background-color: white;
    border-radius: 7px;
}

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

.playbar .songbuttons img {
    cursor: pointer;
    width: 40px;
}

/* .playbar .songbuttons :nth-child(3){
    width: 40px;
} */
.songinfo,
.songtime {
    color: black;
}

.songinfo {
    width: 250px;
}

.timevol {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

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

.timevol .volume img {
    width: 40px;
    cursor: pointer;
}

.songtime {
    width: 125px;
}

.volume .range input {
    cursor: pointer;
}

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

.seekbar {
    height: 2px;
    width: 97.5%;
    border: 2px solid crimson;
    background-color: crimson;
    position: absolute;
    bottom: 9px;
    border-radius: 10px;
    cursor: pointer;
}

.circle {
    width: 15px;
    aspect-ratio: 1/1;
    border-radius: 13px;
    position: relative;
    bottom: 6.5px;
    background-color: crimson;
    /* left: 100%; */
    left: 0%;
    transition: left 0.5s;
    cursor: pointer;
}

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

    .left .close {
        display: block;
        position: absolute;
        width: 30px;
        right: 30px;
        top: 25px;
    }

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

    .playbar {
        width: calc(100vw - 45px);
    }

    .songinfo {
        text-align: center;
    }

    .songinfo,
    .songtime {
        width: auto;
    }

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

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

    .hamburger {
        display: block;
    }

    .spotifyPlaylist .card {
        width: 42vw;
    }

    .spotifyPlaylist .cardContainer {
        margin: 0;
        justify-content: space-evenly;
    }

}

@media (max-width: 450px) {
    .spotifyPlaylist .card {
        width: 90vw;
    }

    .spotifyPlaylist .cardContainer {
        margin: 0;
        justify-content: center;
    }
}