*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: black;
}
.left{
    width: 20vw;
    margin-left: 8px;
    transition: all 0.5s ease-out ;
}
.cross{
    display: none;
    visibility: hidden;
}
.start{
    padding: 18px;
    margin-bottom: 9px;
    margin-top: 6px;
}
.start ul li{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 17px;
    width: 23px;
    font-weight: bolder;
}

.library{
    padding: 18px;
    height: 70vh;
    overflow-y: scroll;

}
.library img{
    height: 25px;
}

.library .lib-text{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 17px;
    font-weight: bolder;
}

.library .lib-head{
    justify-content: space-between;
}

.library #lib-click{
    text-decoration: none;
}
.library #lib-click:hover{
    cursor: pointer;
}

.library ul {
    color: white;
    margin: 23px 24px;
}

.library ul li{
    list-style: none;
    padding: 13px;
    margin: 9px;
    border: 1px solid white;
    width: 15vw;
    font-size: 19px;
    display: flex;
    flex-direction: row;
}

.library ul li:hover{
    transition: all ease-in-out .2s;
    cursor: pointer;
    background-color: #6c6b32;
}

.library .footer{
    width: 200px;
    position: absolute;
    bottom: 0px;
    gap: 9px;
}
.library .footer a{
    text-decoration: none;
    color: #959494;
}

.right{
    margin-left: 8px;
    height: 90vh;
    width: 80vw;
    overflow-y: scroll;
    position: relative;
}

.hamburger{
    display: none;
    visibility: hidden;
}

.right .header{
    padding: 22px;
    background-color: #0c0c0c;
}
.right .nav{
    justify-content: space-between;
}

.right .buttons .signup{
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bolder;
    font-size: 16px;
    background-color: #0c0c0c;
    color: white;
    border: none;
    width: 104px;
    opacity: 0.5;
}
.right .buttons .signup:hover{
    color: white;
    cursor: pointer;
    opacity: 1;
}

.right .buttons .login{
    font-family: cursive;
    font-weight: 500;
    font-size: 16px;
    background-color: white;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 25px;
    width: 104px;
    height: 37px;
    
}
.right .buttons .login:hover{
    cursor: pointer;
    font-weight: bolder;
}

.spotifyPlaylist{
    min-height: 110vh;
}

.cardContainer{
    flex-wrap: wrap;
}

.cards{
    flex: none;
    width: 220px;
    height: 300px;
    border-radius: 12px;
    cursor: pointer;
    margin-left: 12px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    position: relative;
}

:root{
    --a:0;
}
.playbutton{
    position: absolute;
    top: 135px;
    right: 16px;
    opacity: var(--a);
    transition: all 1s;
}

.cards:hover{
    transition: all 1s;
    background-color: rgb(44, 44, 44);
    --a:1;
}
.cards >*{
    padding-top: 10px;
    text-align: left;
}
.spotifyPlaylist h1{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    padding: 12px;
}
.spotifyPlaylist .playlistimg {
    height: 205px;
    width: 100%;
    object-fit: contain;
} 

.spotifyPlaylist h2,p{
    margin-left: 10px;
}

.playbar{
    justify-content: space-between;
    position: fixed;
    right: 15px;
    bottom: 63px;
    background-color: rgb(43, 43, 40);
    width: 78%;
    height: 70px;
    gap: 25px;
    border-radius: 15px;
    color: white;
}
.controller{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
}
.volume{
    visibility: hidden;
}
.playbar .songinfo,.songtime{
    margin: 10px;
    width: 289px;
    font-family: fantasy;
    align-items: center;
    display: flex;
    justify-content: center;
    font-size: 20px;
}
.playbar > *{
    cursor: pointer;
}
.playbar .seekbar{
    height: 2px;
    width: 99%;
    border: 2px solid rgb(177, 175, 175);
    position: absolute;
    bottom: 0px;
    border-radius: 5px;
    cursor: pointer;
}
.playbar .circle{
    height: 7px;
    width: 7px;
    border: 3px solid rgb(255, 255, 255);
    border-radius: 5px;
    position: absolute;
    bottom: -3px;
    left: 0%;
    overflow: hidden;
    transition: all 0s
}

@media (max-width:1400px){
    .songtime{
        overflow: hidden;
    }
    .left{
        position: relative;
        left: -100%;
        z-index: 1;
        height: 100vh;
        width: 350px;
        background-color: #0c0c0c;
    }
    .right{
        position: absolute;
        width: 100%;
    }
    .hamburger{
        display: block;
        visibility: visible;
    }
    .cross{
        display: block;
        visibility: visible;
    }
    .logo{
        display: flex;
        justify-content: space-between;
    }
    .spotifylogo{
        width: 120px;
    }
    .arrow-left , .arrow-right{
        visibility: hidden;
    }
    .library ul{
        margin: 20px 0px;
    }
    .library ul li{
        font-size: 18px;
        width: 250px;
    }
    .playbar{
        width: calc(100% - 20px);
    }
    .playbar .circle{
        height: 10px;
        width: 10px;
        bottom: -5px;
    }
}


@media (max-width:935px){

    .left{
        height: 100vh;
    }
    .songinfo{
        width: 60vw;
    }
    .cards{
    width: 370px;
    height: 460px;
    margin: 0px;
    }

    .spotifyPlaylist .playlistimg{
        height: 350px;
    }
    .cardContainer{
        justify-content: center;
        gap: 40px;
    }
    .playbutton{
        top: 258px;
        right: 18px;
        svg{
            height: 100px;
            width: 100px;
        }
    }
    .playbar{
        flex-direction: column;
        height: 195px;
        justify-content: center;
        align-items: center;
        gap: 0px;
        bottom: 20px;
    }
}

@media(max-width:790px){
    .left{
        width: 100%;
    }
    .songlist ul li{
        font-size: 18px;
        width: 80%;
        height: 82px;
        justify-content: left;
        align-items: center;
    }

}