@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@200;300;400;600;700;800;900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


:root{
    --a : 0;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    ;
}


body {
    background-color: black;
    color: white;
}

.left {
    width: 25vw;
    padding: 10px;
   

}

.right {
    width: 75vw;
    margin: 14px 0px;
    position: relative;
   
}

.logo img {
    width: 120px;
    object-fit: contain;
}
.left .close{
    position: absolute;
    top: 35px;
    right: 25px;
    cursor: pointer;
   
}

.home {
    padding: 20px;

}

.home ul li {
    list-style: none;
    width: 15px;
    display: flex;
    gap: 15px;
    padding-top: 14px;
    font-weight: bold;
}

.heading {
    width: 100%;
    display: flex;
    gap: 15px;
    padding-top: 14px;
    padding: 23px 14px;
    font-weight: bold;
    align-items: center;
}

.heading img {
    width: 30px;

}

.library {
    min-height: 80vh;
    position: relative;
}

.footer {
    display: flex;
    gap: 10px;
    color: grey;
    position: absolute;
    bottom: 0;
    width: 80%;
    padding: 20px;
    flex-wrap: wrap;
    
}

.footer a {
    color: grey;
}


.header {
    display: flex;
    justify-content: space-between;
    background-color: #343434;
    height: 55px;
}

.header>* {
    padding: 10px;
}

.SpotifyPlaylists {
    padding: 10px;
}

.cardContainer {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 25px;
    overflow-y: auto;
    max-height: 70vh;
    
}

.card {
    width: 200px;
    padding: 10px;
    border-radius: 5px;
    background-color: #252525;
    position: relative;
    transition: all 1s;
}

.card img {
    width: 100%;
    object-fit: contain;
}

.card>* {
    padding-top: 10px;
}
.card:hover{
    background-color: black;
    cursor: pointer;
    --a:1;
}

.play {
    bottom: 0;
    position: absolute;
    width: 48px;
    height: 28px;
    padding: 4px;
    display: flex;
    justify-content: center;
    top: 168px;
    right: 17px;
    opacity: var(--a);
    transition: all 1s ease-out;
    display: flex;
    align-items: center;
}

.buttons>* {
    margin: 0px 15px;
}

.signupbtn {
    background-color: #343434;
    color: rgb(114, 111, 111);
    font-weight: bold;
    border: none;
    outline: none;
}

.signupbtn:hover {

    color: black;
    cursor: pointer;
    font-size: 17px;
}

.loginbtn {
    background-color: white;
    color: black;

    border: none;
    outline: none;
    border-radius: 21px;
    padding: 10px;
    width: 79px;
}

.loginbtn:hover {

    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
}

.playbar {
    position: fixed;
    bottom: 20px;
    background-color: green;
    width: 70vw;
    padding: 12px;
    margin: 10px;
    border-radius: 5px;
    min-height: 40px;

}

.songbuttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    cursor: pointer;

}

.songlist {
    height: 450px;
    overflow-y: scroll;

}


.songlist ul {

    padding: 0px 20px 0px 10px;


}

.songlist ul li {
    display: flex;
    list-style-type: decimal;
    padding: 12px 0;
    gap: 20px;
    cursor: pointer;
    border: #f5efef solid 1px;
    margin: 12px;
    padding: 15px;
    border-radius: 5px;
    width: 92%;
    justify-content: space-between;

}

.songlist ul li img {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.playnow {
    display: flex;
    align-items: center;
    gap: 12px;

}

.songlist .info {
    font-size: 13px;
    width: 344px;
    
}
.hamburger{
    display: none;
    height: 30px;
}

.hamburgerCont{
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    justify-content: center;
}
.seekbar {
    width: 98%;
    height: 2px;
    background-color: rgb(255, 255, 255);
    border: 2px solid black;
    position: absolute;
    bottom: 4px;
    border-radius: 10px;
    padding: 0;
    cursor: pointer;


}

.circle {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    border: 2px solid black;
    position: relative;
    bottom: 7px;
    left: 0%;
    cursor: pointer;
    transition: left 0.5s;
}

.abovebar {
    display: flex;
    justify-content: space-between;
    font-size: 12px;

}

.songinfo,
.songtime {
    font-size: 14px;
    padding: 0 10px;
    width: 250px;

}

@media (max-width: 1450px) {
    .left {
        background-color: black;
        position: absolute;
        left: -120% ;
        transition: all 0.5s;
        z-index: 1;
        width: 380px;
        padding:0;
    }

    .right {
        width: 100vw;
        margin:0px;
    }

    .playbar {
       width: calc(100vw - 50px);
       height: 90px;
       bottom: 20px;
    }
    .seekbar {
        width: calc(100vw - 50px);
        height: 6px;
    }
    .hamburger{
        cursor: pointer;
        display: block;
    }
    .songbuttons{
        gap: 10px;
        width: 100%;
        bottom: 10px;
        padding-top:30px;
        padding-right: 20px;
        justify-content: center;
    }
    .card{
        width: 44vw;
    }
    .cardContainer{
        justify-content: center;
        margin: 0;
    }
    .songinfo{
    width: 300px;
    padding: 0 10px 0 10px;
    
}
.songitme{
    width: 50px;
}


}
@media (max-width: 400px)
{
    .card{width: 80vw;

    }
}