@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');


:root{
    --a:0;
}
* {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

body {
    background-color: black;
    color: white;
}


.left {
    width: 25vw;
    /* rewritten */
    padding: PX;
}


.right {
    width: 75vw;
    position: relative;
    max-height: 100vh;

}

.home ul li {
    display: flex;
    gap: 15px;
    width: 14px;
    list-style: none;
    padding-top: 14px;
    font-weight: bold;
}

.heading {
    display: flex;
    gap: 15px;
    width: 100%;
    padding-top: 14px;
    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: 9px;
    color: grey;
    gap: 13px;
    position: absolute;
    bottom: 0;
    padding: 10px 0;
}

.footer a {
    color: grey;

}

/* rewritten */
.right {
    margin: 5px 0;
    max-height: 100vh;
    /* overflow: scroll; */

}

.header {
    display: flex;
    justify-content: space-between;
    background-color: rgb(34, 34, 34);
}

.header>* {
    padding: 20px;

}

.spotifyPlaylists {
    padding: 16px;
}

.spotifyPlaylists h1 {
    padding: 16px;
}


.cardContainer {
    display: flex;
    gap: 10px;
    margin: 25px;
    flex-wrap: wrap;
    overflow-y: auto;
    max-height: 59vh;
    /* width: 1140px; */
}

.card {
    padding: 10px;
    border-radius: 5px;
    width: 200px;
    background-color: #252525;
    position: relative;
    transition: all 0.8s;
}
.card:hover {
    /* padding: 10px;
    width: 200px; */
    border-radius: 5px;
    position: relative;
    background-color: rgb(105, 103, 103);
    cursor: pointer;
    --a: 1;
}

.card>* {
    padding-top: 10px;
}

.card img {
    width: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.play {
    width: 48.6px;
    height: 47px;
    background-color: #1fdf64;
    padding: 1px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 243px;
    right: 17px;
    opacity: var(--a);
    transition: all 1s ease-out;
}

.buttons>* {
    margin: 0 12px;
}

.signupbtn {
    background-color: rgb(34 34 34);
    ;
    color: rgb(156, 148, 148);
    font-weight: bold;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
}

.signupbtn:hover {
    font-size: 17px;
    color: white;
}

.loginbtn {
    background-color: white;
    border-radius: 10px;
    color: black;
    font-weight: bold;
    padding: 10px;
    width: 79px;
    cursor: pointer;
    font-size: 16px;
}

.loginbtn:hover {
    font-weight: bold;
    font-size: 17px;
    padding: 10px;
}

.playbar {
    position: fixed;
    bottom: 10px;
    filter: invert(1);
    background-color: #dad5d5;
    border-radius: 10px;
    width: 80%;
    min-height: 40px;
    padding: 12px;
    width: 70vw;
}

.songbuttons {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.songlist {
    height: 450px;
    overflow: auto;
    margin-bottom: 44px;
}

.hamburger {
    display: none;
}

.close {
    display: none;
}

.hamburgerCont {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.songlist ul {
    padding: px 15px;
}

.songlist ul li {
    list-style-type: decimal;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    padding: 12px 0;
    border: 1px solid white;
    margin: 10px 4px;
    border-radius: 5px;
    padding: 13px;
}

.songlist .info {
    font-size: 13px;
    width: 344px;
}

.info div {
    word-break: break-all;
}

.playnow {
    display: flex;
    justify-content: center;
    align-items: center;
}

.playnow span {
    font-size: 15px;
    width: 64px;
    padding: 12px;

}

.seekbar {
    height: 4px;
    width: 97%;
    background-color: black;
    border-radius: 10px;
    position: absolute;
    bottom: 1px;
    margin: 6px;
    cursor: pointer;
}

.circle {
    width: 13px;
    height: 13px;
    border-radius: 13px;
    background-color: black;
    position: relative;
    bottom: 6px;
    left: 0%;
    transition: left 0.5s;
}

.songbuttons img {
    cursor: pointer;
}

.timevol {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    color: black;
}

.songinfo {
    color: black;
    padding: 0px 12px;
    width: 250px;
}

.songtime {
    color: black;
    padding: 0px 12px;
    width: 125px;
}

.volume {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.range input{
    cursor: pointer;
}

.abovebar {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}





@media (max-width: 1200px) {
    .left {
        background-color: black;
        position: absolute;
        left: -120%;
        transition: all 0.3s;
        z-index: 1;
        width: 370px;
        background-color: black;
        padding: 0;
    }

    .left .close {
        position: absolute;
        right: 38px;
        top: 37px;
        width: 32px;
        cursor: pointer;
    }

    .timevol {
        display: flex;
        justify-content: space-evenly;
        flex-direction: column;
        align-items: center;
        gap: 13px;
    }

    .right {
        width: 100vw;
    }

    .right {
        margin: 0;
    }

    .playbar {
        width: calc(100vw - 60px);
        height: 155px;
        font-size: 10px;
        /* right: 5px; */
    }

    .seekbar {
        width: calc(100vw - 120px);
        bottom: 10px;
    }

    .songinfo,
    .songtime {
        width: auto;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .close {
        display: block;
    }

    .card {
        width: 44vw;
    }

    .cardContainer {
        margin: o;
        justify-content: center;
    }
    .cardContainer {
        max-height: 53vh;
    }
    .spotifyPlaylists h1{
        padding: 4px;
    }

    /* .abovebar{
        display: flex;
        justify-content: space-between;
        margin: 14px 0px;
    } */
    .abovebar {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        margin: 0px;
    }
    
}

/* APPLE DEVICE */
@media (max-width: 400px) {
    .card {
        width: 100%;
    }
    .cardContainer{
        max-height: unset;
        overflow-y: unset;
        margin-bottom: 25vh;

    }
}
@media (max-width: 1025px) {
    .card {
        width: auto;
    }
    .cardContainer{
        max-height: unset;
        overflow-y: unset;
    }
    
}

/* SAMSUNG */
@media (max-width: 380px) {
    .card {
        width: auto;
    }
    .right {
        width: 101.8vw;
    }
    .cardContainer{
        max-height: unset;
        overflow-y: unset;
    }

    
}
@media (max-width: 360px) {
    .card {
        width: auto;
    }
    .right {
        width: 105vw;
    }
    .buttons>* {
        margin: 0 6px;
    }
    .cardContainer{
        max-height: unset;
        overflow-y: unset;

    }
    
    

    
}