@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
:root{
    --a:0;
}
* {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    /* font-weight: bold; */
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

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

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

.right {
    width: 75vw;
}

.home {
    /* padding:10px; */
}

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

.heading {
    display: flex;
    gap: 15px;
    width: 100%;
    list-style: none;
    padding-top: 1px;
    align-items: center;
    padding: 23px 14px;
}

.heading img {
    width: 35px;
}

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

.footer {
    display: flex;
    font-size: 10px;
    color: grey;
    position: absolute;
    bottom: 0;
    gap: 13px;
    padding: 10px 0;
    padding-right: 30px;
}

.footer a {
    color: grey;
}

.header {
    display: flex;
    justify-content: space-between;
    background-color: rgb(49, 49, 49);
    height: 81px;
}

.header>* {
    padding: 20px;
}

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

.spotifyplaylist {
    padding: 10px;
}

.cardContainter {
    margin: 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;

    overflow-y: auto;
    max-height: 70vh;
}

.card {
    width: 200px;
    padding: 10px;
    border-radius: 5px;
    background-color: #1e1e1e;
    position: relative;
    transition: all .9s;
}
.card:hover{
    background-color: #242424;
    cursor: pointer;
    --a: 1;
}

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

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


.play {
    width: 70px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
    position: absolute;
    top: 75px;
    right: 6px;
    opacity: var(--a);
    transition: all 1s ease-out;
}

.play circle {
    fill: #00d46f;
}

.play polygon {
    fill: #0a0a0a;
}

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

.Signbtn {
    background-color: rgb(49, 49, 49);
    color: rgb(150, 144, 144);
    font-weight: bold;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
}

.Signbtn:hover {
    font-size: 17px;
    color: white;
}

.Logbtn {
    background-color: white;
    border-radius: 21px;
    border: none;
    color: black;
    padding: 10px;
    width: 79px;
    height: 45px;
    cursor: pointer;
    font-size: 15px;
    font-weight: lighter;
}

.Logbtn:hover {
    font-weight: bold;
    font-size: 17px;
}

.spotifyplaylist {
    /* position: relative; */
}

.spotifyplaylist h1 {
    padding: 16px;
}

.close {
    display: none;
}

.playbar {
    position: fixed;
    bottom: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px;
    width: 70vw;
    min-height: 80px;
    border-radius: 40px;
    /* box-shadow: 0 8px 32px   0 rgba(211, 211, 220, 0.37); */
    border: 1px solid rgba(255, 255, 255, 0.18);
}

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

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

.songList ul {
    padding: 0 12px;
}

.songList ul li {
    list-style-type: decimal;
    display: flex;
    gap: 12px;
    cursor: pointer;
    padding: 12px 0;
    border: 1px solid white;
    margin: 12px 0;
    padding: 10px;
    border-radius: 5px;
    align-items: center;
}

.info {
    flex: 1;
    /* font-size: 13px; */
    width: 344px;
}

.playnow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.playnow span {
    font-size: 15px;
    white-space: nowrap;
}

.playnow img {
    width: 24px;
    height: 24px;
}

.seekbar {
    position: absolute;
    bottom: 8px;
    left: 5%;
    width: 90%;
    height: 4px;
    background-color: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.circle {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #ffffff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0%;
    transition: left 0.3s ease;
}

.songbuttons img {
    cursor: pointer;
}

.songtime {
    color: #fdfdfd;
    padding: 0 12px;
    justify-self: end;
}

.songinfo {
    justify-content: start;
}

/* DELETE your old .abovebar rule and ADD this one */
.abovebar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    /* Make sure it spans the full width of the playbar */
}

.hamburger {
    display: none;
}

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

.timevol {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 10px;
    justify-self: end;
}

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

@media (max-width: 1400px) {
    .left {
        position: absolute;
        left: -120%;
        transition: all 0.3s;
        z-index: 1;
        width: 400px;
        background-color: #0a0a0a;
        padding: 0;
    }

    .left .close {
        position: absolute;
        right: 31px;
        top: 25px;
        width: 29px;
    }

    .right {
        width: 100vw;
    }

    .playbar {
        width: 95vw;
        bottom: 15px;
        padding: 10px -10px;
        border-radius: 40px;
    }

    .seekbar {
        left: 5%;
        width: 90%;
        bottom: 10px;
    }

    .circle {
        width: 10px;
        height: 10px;
    }

    .hamburger {
        display: block;
    }

    .card {
        width: 90vw;
    }

    .cardContainter {
        margin: 0;
        justify-content: center;
    }

    .close {
        display: block;
    }

    .right {
        margin: 0;
    }

    .abovebar {
        flex-direction: column;
        display: flex;
        gap: 23px;
        align-items: center;
    }

    .songtime {
        padding-bottom: 10px;
    }

    .songinfo {
        width: auto;
    }

    .info div {
        word-break: break-all;
    }

    .timevol {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: column;
        gap: 13px;
    }
}
@media (max-width: 430px) {
    body, .right, .container {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .playbar {
        position: fixed;
        bottom: 15px;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 95%;
        padding: 12px;
        border-radius: 30px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .seekbar {
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
    }
}
