@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;
}

.close {
    display: none;
}

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

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

.right {
    width: 75vw;
}

.home {}

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

.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: 30px;
}

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

.footer {
    display: flex;
    font-size: 8px;
    color: grey;
    gap: 8px;
    position: absolute;
    bottom: 0;
}

.footer a {
    color: grey;
}

.right {
    margin: 16px 0;
}

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

.header>* {
    padding: 20px;
}

.spotifyplaylists {
    padding: 16px;
}

.cardcontainer {
    margin: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    overflow-y: auto;
    max-height: 70vh;
}

.card {
    margin: 5px;
    width: 150px;
    padding: 10px;
    border-radius: 5px;
    background-color: rgb(28, 26, 26);
    position: relative;
    transition: all .9s;
}
.card:hover{
    background-color: rgb(83, 83, 83);
    cursor: pointer;
    --a:1;
}

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

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

.play {
    width: 28px;
    height: 28px;
    background-color: rgb(112, 249, 100);
    border-radius: 50%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 170px;
    right: 17px;
    opacity: var(--a);
    transition: all 1s ease-out;
}

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

.signupbtn {
    background-color: rgb(34, 34, 34);
    color: rgb(109, 105, 105);
    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: 21px;
    color: black;
    padding: 10px;
    width: 80px;
    cursor: pointer;
    font-size: 15px;
}

.loginbtn:hover {
    font-weight: bold;
    font-size: 17x;
}

.playbar {
    position: fixed;
    bottom: 10px;
    background-color: rgb(103, 100, 100);
    border-radius: 9px;
    width: 60%;
    padding: 10PX;
    width: 69vw;
    min-height: 20px;
}

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

.songList {
    height: 550px;
    overflow: auto;
    margin-bottom: 30px;
}

.hamburger {
    display: none;
}

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

.songList ul {
    padding: 0 4px;
}

.songList ul li {
    list-style-type: decimal;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    padding: 11px 0;
    border: 1px solid white;
    margin: 10px 0;
    padding: 12px;
    border-radius: 5px;
}

.songList .info {
    font-size: 13px;
    width: 300px;
}

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

.playnow {
    display: flex;
    justify-content: center;
    align-items: center;
}

.playnow span {
    font-size: 12px;
    width: 25px;
    padding: 9px;

}

.seekbar {
    height: 3px;
    width: 98%;
    background-color: black;
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    margin: 2px;
    padding: 1px;
    cursor: pointer;
}

.circle {
    width: 14px;
    height: 14px;
    border-radius: 10px;
    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;
}

.songinfo {
    color: black;
    padding: 0 10px;
    width: 200px;
}

.songtime {
    width: 120px;
    color: black;
    padding: 0 12px;

}

.volume {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.abovebar {
    display: flex;
    justify-content: space-between;
}

@media (max-width:1200px) {
    .left {
        position: absolute;
        left: 100%;
        transition: all .3s;
        z-index: 1;
        width: 233px;
        background-color: black;
        padding: 0;
    }

    .songinfo,
    .songtime {
        width: auto;
    }

    .left .close img {
        position: absolute;
        right: 25px;
        top: 20px;
        width: 22px;
    }

    .right {
        width: 100vw;

    }

    .playbar {
        width: calc(100vw - 80px);
    }

    .seekbar {
        width: calc(100vw - 90px);
    }

    .hamburger {
        display: block;
    }

    .right {
        margin: 0;
    }

    .card {
        width: 10vw;
    }

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

    .close {
        display: block;
    }

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

    @media (max-width: 400px) {
        .card {
            width: 80vw;
        }
    }
}