/* body{
    background-color: black;
    color: white;
} */

:root{
    --a:0
}

.logo img {
    width: 100px;
    height: 50px;
    border-radius: 50%
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto';
    background-color: black;
    color: white;
}

.left {
    width: 25vw;

}

.right {
    position: relative;
    width: 75vw;
    max-height: 100vh;
}

.home ul li {
    width: 14px;
    list-style: none;
    display: flex;
    gap: 15px;
    padding-top: 14px;
    font-weight: bold;
}

.invert {
    filter: invert(1);
}

.bg-grey {
    background-color: #121212;
}

.home {
    padding: 10px;
    /* height: 20vh; */
}

.heading {
    width: 100%;
    display: flex;
    gap: 15px;
    padding-top: 14px;
    padding: 23px 14px;
    font-weight: bold;
    align-items: center;
    font-size: 13px;
}

.heading img {
    width: 25px;
    height: 20px;
}

.library {
    min-height: 80vh;
    position: relative;
}

.footer {
    display: flex;
    font-size: 10px;
    color: grey;
    position: absolute;
    bottom: 0;
    padding: 10px 0;
    gap: 13px;
    flex-wrap: wrap;
}

.footer a {
    color: grey;

}

.right {
    margin: 5px 0;
}

.header {
    display: flex;
    justify-content: space-between;
    background-color: rgb(34, 34, 34);
    /* height: 72px; */
}

.header>* {
    padding: 20px;

}

.spotify-playlist {
    padding: 16px;

}

.spotify-playlist h1 {
    margin-bottom: 20px;
}

.card-container {
    /* justify-content: center; */
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

.card {
    /* border: 2px solid red; */
    padding: 10px;
    border-radius: 7px;
    background-color: #252525;
    width: 200px;
    position: relative;
    transition: all 0.3s ease-out;
}

.card>* {
    padding-top: 10px;
}

.card img {
    width: 100%;
    object-fit: contain;
}

.green-play-button {
    width: 50px;
    height: 40px;
    background-color: rgb(8, 224, 8);
    border-radius: 100px;
    position: absolute;
    z-index: 1;
    top: 160px;
    right: 17px;
    opacity: var(--a);
    transition: all 0.3s ease-out;
}

.green-play-button img {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
    justify-content: center;
    align-items: center;
}
.card:hover{
    cursor: pointer;
    background-color: rgb(61, 61, 61);
}
.card:hover .green-play-button{
    --a: 1;
}

.button>* {
    margin: 0 12px;
}

.sign-up {
    background-color: rgb(34, 34, 34);
    color: rgb(156, 148, 148);
    font-weight: 600;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
}

.sign-up:hover {
    font-size: 17px;
    color: white;

}

.login {
    background-color: white;
    border-radius: 21px;
    color: black;
    font-weight: 600;
    padding: 10px;
    border: none;
    width: 79px;
    cursor: pointer;
    font-size: 16px;

}

.login:hover {
    font-weight: bold;
    /* padding: 10px; */
    font-size: 17px;
}

.playbar {
    filter: invert(1);
    position: fixed;
    min-height: 39px;
    bottom: 60px;
    background-color: rgb(235, 231, 231);
    width: 90%;
    padding: 10px;
    width: 70vw;
    border-radius: 30px;

}

.songbtn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;

}

.songlist {
    height: 544px;
    overflow: auto;
    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: 13px;
    border-radius: 5px;
    justify-content: space-between;
}

.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: 1px;
    width: 97%;
    border-radius: 10px;
    border: 1px solid rgb(0, 0, 0);
    position: absolute;
    bottom: 7px;
    margin: 6px;
    cursor: pointer;

}

.circle {
    transition: left 0.5s;
    height: 10px;
    width: 10px;
    border-radius: 100px;
    background-color: black;
    position: absolute;
    top: -4.5px;
}

.songbtn img {
    cursor: pointer;
}

.abovebar {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;

}

.timenvol {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.song-info {
    color: rgb(0, 0, 0);
    padding: 0 12px;
    width: 250px;
    ;
}

.songtime {
    color: rgb(0, 0, 0);
    padding: 0 12px;
    width: 125px;
}

.volume {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    cursor: pointer;
}

.hamburger {
    display: none;
}

.ham-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}

.left .close img {
    display: none;
}

.info div {
    word-break: break-all;
}


@media (max-width: 1300px) {
    .song-info {
        width: auto;
    }

    .sogtme {
        width: auto;
    }

    .left {
        position: absolute;
        left: -120%;
        z-index: 1;
        background-color: rgb(0, 0, 0);
        transition: all 0.2s;
        width: 373px;
    }

    .left .close img {
        display: block;
        position: absolute;
        right: 29px;
        top: 25px;
        cursor: pointer;
        width: 35px;
    }

    .right {
        width: 100vw;
    }

    .playbar {
        width: calc(100vw - 60px);
    }

    .seekbar {
        width: calc(100vw - 70px);
    }

    .hamburger {
        display: block;
    }

    .playbar {
        font-size: 12px;
    }

    .card {
        width: 44vw;
    }

    .card-container {
        margin: 0;
        justify-content: center;
    }

    .right {
        margin: 0;
    }

    .abovebar {
        flex-direction: column;
        gap: 23px;
        align-items: center;
    }

    .songtime {
        justify-content: center;
        width: auto;
        align-items: center;
        display: flex;
    }

    .timenvol {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: column;
        gap: 13px;
    }
}

@media (max-width: 500px) {
    .card {
        width: 80vw;
    }
}