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

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

:root{
    --a: 0;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    font-family: "Varela Round", sans-serif;
}

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


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

.left .close{
    display: none;
}

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


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

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

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

.footer{
   display: flex;
   font-size: 10px;
   gap: 13px;
   position: absolute;
   bottom: 0;
   padding: 10px 15px 10px 4px;
}

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

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

.header > *{
    padding: 20px;
    height: 75px;
}

.spotifyPlaylists{
    
    padding: 16px;
}

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

.card{
    width: 200px;
    padding: 10px;
    border-radius: 5px;
    background-color: #252525;
    position: relative;
    transition: all .5s;
}

.card:hover{
    background-color: rgb(69, 69, 69);
    cursor: pointer;
    --a: 1;
}

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

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

.play{
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 140px;
    right: 11px;
    opacity: var(--a);
    transition: all 1s ease-out;
}

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

.signupbtn{
    background-color: rgb(34, 34, 34);
    color: rgb(184, 175, 175);
    font-weight: bold;
    border: none;
    outline: none;
    cursor: pointer;
}
.signupbtn:hover{
    font-size: 1rem;
    color: white;
}

.loginbtn{
    background-color: white;
    border-radius: 21px;
    color: black;
    font-weight: bold;
    padding: 8px;
    width: 69px;
    cursor: pointer;
    
}

.loginbtn:hover{
    font-size: 1rem;   
}

.playbar{
    position: fixed;
    bottom: 30px;
    filter: invert(1);
    background-color: #dad5d5;
    border-radius: 10px;
    min-height: 55px;
    width: 72vw;
    padding: 12px;
}

.songbuttons{
    display: flex;
    justify-content: center;
    gap: 95px;
}

.songbuttons img{
    cursor: pointer;
}

.songList{
    height: 444px;
    overflow: auto;
    margin-bottom: 44px;
}

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

.songList ul{
    padding: 0 12px;
}

.songList ul li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style-type: decimal;
    gap: 12px;
    cursor: pointer;
    padding: 12px 0;
    border: 1px solid white;
    margin: 12px 0;
    padding: 13px;
    border-radius: 10px;
}
.songList info{
    font-size: 13px;
    width: 344px;
}

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

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

.seekbar{
    height: 4px;
    width: 97.5%;
    background-color: black;
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    margin-bottom: 8px;
    cursor: pointer;
}
.circle{
    width: 13px;
    height: 13px;
    border-radius: 13px;
    background-color: black;
    position: relative;
    bottom: 5px;
    left: 0%;
    transition: left 0.5s;
    cursor: pointer;
}

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

.songinfo{
    color: black;
    padding: 0 12px;
    width: 275px;
}

.songtime{
    color: black;
    padding: 0 12px;
    width: 130px;
    
}

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


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

@media (max-width: 1200px) {
    .left{
        
        position: fixed;
        top: 0;
        left: -120%;
        transition: all .3s;
        z-index: 1;
        width: 435px;
        background-color: black;
        padding: 0;
        height: 100vh;
    }
    .left .close{
        display: block;
        position: absolute;
        top: 25px;
        right: 27px;
    }
    .right{
        margin: 0;
        width: 100vw;
    }
    .playbar{
        width: calc(100vw - 30px);
    }
    .seekbar{
        width: calc(100vw - 60px);
    }
    .hamburger{
        display: block;
    }
    
    .card{
        width: 44vw;

    }
    .cardContainer{
        justify-content: center;
        margin: 25px 0;
        /* max-height: 47vh; */
        max-height: unset;
        overflow-y: unset;
        margin-bottom: 35vh;
    }
    .abovebar{
        flex-direction: column;
        align-items: center;
        gap: 25px;
        font-size: larger;
        font-weight: bold;
    }

    .songinfo, .songtime{
        width: 100%;
        text-align: center;
    }
    .timevol{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 500px){
    .card{
        width: 100% /*  77vw; */
    }
    .header{
        padding: 7px;
    }
    .header > *{
        padding: 8px;
        height: 60px;
    }
    .buttons > *{
        margin: 1px 6px;
    }
    .cardContainer{
        max-height: unset;
        overflow-y: unset;
        margin-bottom: 35vh;
    }
    .spotifyPlaylists h1{
        padding: 4px;
    }
    .library{
        height: 85vh;
    }
    .left{
        position: fixed;
        top: 0;
        width: 100vw;
        height: 100vh;
    }
}