@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');


* {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

body {
    background-color: black;
}


.left {
    width: 25vw;
    padding: 5px;
}

.right {
    width: 75vw;
    margin: 10px 0px;
    position: relative;
}

.home {
    padding: 10px;
}

.home ul li {
    align-items: center;
    gap: 10px;
    padding-top: 15px;
    display: flex;
    width: 14px;
    list-style: none;
}

.close {
    width: 35px;
    position: absolute;
    right: 25px;
    top: 25px;
    cursor: pointer;
}

.library {
    color: white;
    min-height: 80vh;
    position: relative;
}

.heading {
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    display: flex;
    width: 100%;
    ;
    font-weight: bold;
    font-size: 13px;
    padding: 23px 14px;

}

.heading img {
    width: 30px;
}

.footer {
    gap: 13px;
    display: flex;
    font-size: 10px;
    color: rgb(63, 59, 59);
    position: absolute;
    bottom: 0;
    padding: 15px 0px;
}

.footer a {
    color: rgb(171, 156, 156);
}

.header {
    background-color: rgb(71, 68, 68);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
    margin-top: 5px;
}

.nav {
    padding: 20px;
    width: fit-content;
}

.buttons {
    padding: 20px;
}


.spotifyPlaylist {
    color: white;
    margin: 15px;
}

.cardContainer {
    display: flex;
    gap: 20px;
    margin: 20px;
    flex-wrap: wrap;
    max-height: 70vh;
    overflow-y: auto;
}

.card {
    position: relative;
    background-color: #181818;
    width: 150px;
    height: auto;
    padding: 16px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.card:hover {
    background-color: #3e3d3d;
}

.card>* {
    padding-top: 10px;
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
    display: block;
}

.card h3 {
    font-size: 16px;
    margin: 8px 0 4px;
}

.card span {
    color: #b3b3b3;
    font-size: 14px;
}

body {
    background-color: #000;
}

.play-button {
    position: absolute;
    bottom: 85px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: #1DB954;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.card:hover .play-button {
    opacity: 1;
    transform: translateY(0);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #1DB954;
}

.play-button svg {
    width: 25px;
    height: 25px;
    margin-bottom: 7px;
    fill: rgb(8, 8, 8);
}

.signupbtn {
    font-size: 15px;
    font-weight: 700;
    color: rgb(182, 179, 179);
    background-color: rgb(71, 68, 68);
    border: none;
    margin: 0px 10px;
}

.signupbtn:hover {
    font-size: 16px;
    color: rgb(247, 244, 244);
    cursor: pointer;
}

.loginbtn {
    font-size: 15px;
    font-weight: 700;
    color: black;
    background-color: white;
    border-radius: 35px;
    border: none;
    width: 100px;
    height: 50px;
    margin: 0px 10px;
}

.loginbtn:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.playBar {
    position: fixed;
    padding: 15px 0px;
    width: 72vw;
    bottom: 20px;
    filter: invert(1);
    background-color: rgba(215, 207, 207, 0.997);
    border-radius: 15px;
}

.songButtons img {
    width: 25px;
    margin: 0px 15px;
    padding-bottom: 5px;
    cursor: pointer;
}

.songButtons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.songList {
    margin: 10px 0px;
    width: 100%;
    max-height: 450px;
    overflow-y: scroll;
}

.songList ul {
    padding: 0px 10px;
}

.songList ul li {
    list-style-type: decimal;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 15px;
    padding: 3px 0px;
    margin: 10px 0px;
    border: 1px solid white;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
}

.songList ul li img {
    width: 40px;
    border-radius: 5px;
}

.playNow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
}

.playNow div {
    font-size: 12px;
    margin-right: 5px;
}

.info div {
    margin: 3px 0px;
    font-size: 11px;

}

.info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 200px;
}

.seekbar {
    height: 3px;
    width: 98%;
    background-color: black;
    position: absolute;
    bottom: 8px;
    left: 10px;
    border-radius: 2px;
    cursor: pointer;
}

.circle {
    height: 12px;
    width: 12px;
    background-color: black;
    border-radius: 50%;
    position: absolute;
    top: -6px;
    left: 0%;
    cursor: pointer;
    transition: left 0.5s;
}

.songInfo{
    color: black;
    margin: 0px 15px;
    font-size: 14px;
    width: 250px;
    word-break: break-all;
}
.songTime {
    color: black;
    margin: 0px 15px;
    font-size: 14px;
    width: 100px;
    
}

.timeVol{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 5px;
}

.volume{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

.range input{
    cursor: pointer;
}



.hamburger {
    cursor: pointer;
    display: none;
}

.hamburgerContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.songbar {
    display: flex;
    justify-content: space-between;
}

@media (671px <=width <=1460px) {
    .left {
        position: absolute;
        left: -115%;
        z-index: 1;
        transition: all 0.3s;
        width: 350px;
        padding: 0;
    }

    .right {
        width: 100vw;
        padding: 0;
    }

    .playBar {
        width: calc(100vw - 30px);
    }

    .seekbar {
        width: calc(100vw - 50px);
    }

    .hamburger {
        display: block;
    }

    .timeVol{
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 670px) {
    .left {
        position: absolute;
        left: -115%;
        z-index: 1;
        transition: all 0.3s;
        width: 330px;
        padding: 0;
    }

    .timeVol{
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .right {
        width: 100vw;
        padding: 0;
    }

    .cardContainer {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .cardContainer .card {
        width: 85%;
    }

    .spotifyPlaylist h1 {
        font-size: 25px;
    }

    .playBar {
        width: calc(100vw - 30px);
    }

    .seekbar {
        width: calc(100vw - 50px);
    }

    .buttons {
        padding: 10px;
    }

    .loginbtn {
        width: 80px;
        height: 40px;
    }

    .hamburger {
        display: block;
    }

    .songbar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .songInfo {
        margin-bottom: 10px;
        width: auto;
        word-break: break-all;
    }
}