body {
    background-color: black;
    overflow: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.container {
    padding-top: 74px;
}

* {
    color: white;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

.nav {
    z-index: 1000;
    padding: 20px 0px 10px 20px;
    height: 70px;
    background-color: rgb(1, 17, 17);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
}

.nav img {
    height: 25px;
}

#logo img {
    height: 40px;
}

#logo:hover {
    cursor: pointer;
}

.home {
    background: rgb(58, 52, 52);
    border-radius: 50px;
    width: 55px;
    border: none;
    outline: none;
    margin-top: -5px;
}

.search-box {
    display: flex;
    gap: 20px;
    margin-top: -3px;
    width: 480px;
    height: 50px;
    border-radius: 30px;
    background-color: rgb(41, 39, 39);
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.search-box input::placeholder {
    color: rgb(235, 233, 233);
}

.search-box:hover {
    cursor: pointer;
    border: 1px solid white;
    background-color: rgb(104, 102, 102);
}

.search-box img {
    margin-top: 10px;
    margin-left: 13px;
}

.leftbar {
    display: flex;
    gap: 30px;
}

.rightbar {
    display: flex;
    gap: 30px;
}

.download button {
    background: transparent;
    outline: none;
    border: none;
    padding: 5px;
    font-size: 16px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: rgb(208, 208, 197);
    font-weight: bold;
}

.download {
    margin-top: 9px;
}

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

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

.log button {
    padding: 5px 15px;
    font-size: 15px;
    font-family: 'Trebuchet MS',
        'Lucida Sans Unicode',
        'Lucida Grande',
        'Lucida Sans',
        Arial,
        sans-serif;

}

.install-app {
    background: transparent;
    outline: none;
    border: none;
    color: rgb(208, 208, 197);
    margin-left: -20px;
}

.Signup {
    background: transparent;
    outline: none;
    border: none;
    color: rgb(208, 208, 197);
}

.log .Login {
    color: black;
    font-weight: 600;
    height: 50px;
    border-radius: 30px;
    margin-top: -4px;
    margin-right: 8px;
    width: 100px
}

.install img,
button:hover {
    font-size: 15.5px;
    cursor: pointer;
    color: white;
}

.log img {
    height: 16px;
    margin-right: 6px;
}

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

.container {
    display: flex;
}

.leftContainer {
    background-color: black;
    height: 80vh;
    width: 30vw;
    border-radius: 10px;
    margin: 6px;
}

.rightContainer {
    background-color: rgb(22, 21, 21);
    height: 100vh;
    width: 70vw;
    border-radius: 10px;
    padding-left: 12px;
    overflow-y: auto;
    padding-bottom: 150px;
}

.rightContainer h3 {
    padding: 20px;
    font-size: 30px;
}

.leftContainer h3 {
    padding: 30px 12px;
    font-size: 25px;
}

.card {
    height: 220px;
    width: 100%;
    border-radius: 10px;
    background-color: black;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.play img {
    height: 50px;
    width: auto;
    display: block;
}

.play {
    position: absolute;
    right: 20px;
    bottom: 50px;
    transform: translateY(10%);
    opacity: 0;
    transition: 0.3s ease;
}

.card:hover .play {
    transform: translateY(0);
    opacity: 0.9;
}

.card #cover {
    height: 160px;
    width: 160px;
    margin: 13px 13px 13px 16px;
    border-radius: 5px;
    position: relative;
}

.card h1 {
    font-size: 15px;
    text-align: center;
}

.cardContainer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 cards per row */
    gap: 20px;
    padding: 10px 20px;
    overflow-x: hidden;
    overflow-y: auto;
}

.list {
    height: 220px;
    overflow-y: auto;
}


.list li {
    border-radius: 8px;
    list-style: decimal;
    list-style-position: inside;
    padding: 5px;
    color: #e4d6d6;
    border: 2px solid rgb(16, 14, 14);
    margin: 10px;
    background-color: rgb(32, 29, 29);
    cursor: pointer;
}

.leftContainer .cookies {
    background-color: rgb(32, 32, 25);
    height: 60px;
    margin: 50px 10px 10px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.cookies span {
    color: rgb(151, 143, 143);
    padding: 7px;
    margin: 2px;
}

.lang img {
    height: 16px;
    padding-top: 5px;
    padding-right: 4px;
}

.lang {
    height: 35px;
    border-radius: 20px;
    width: 110px;
    background-color: black;
    font-size: 15px;
    margin: 30px;
    border: 1px solid white;
}

.lang:hover {
    border: 2px solid white;
}

.white-icon {
    filter: brightness(0) invert(1);
}

/* Scrollbar width */
::-webkit-scrollbar {
    width: 10px;
}

/* Scrollbar track (background) */
::-webkit-scrollbar-track {
    background: #3d3b3b;
    /* black track */
}

/* Scrollbar thumb (moving bar) */
::-webkit-scrollbar-thumb {
    background: #787575;
    /* black thumb */
    border-radius: 10px;
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
    background: #787575;
}

.bar {
    background-color: #3a3a3a;
    height: 70px;
    width: 67vw;
    border-radius: 7px;
    position: fixed;
    bottom: 8px;
    right: 17px;
    z-index: 10;
}

.line {
    position: absolute;
    bottom: 0;
    margin-bottom: 10px;
    border-radius: 5px;
    width: 66.8vw;
    height: 7px;
    background-color: #222;
    /* empty part */
    cursor: pointer;
    overflow: hidden;
}

/* GREEN FILLED PART */
.progress {
    height: 100%;
    width: 0%;
    background-color: #1c77df;
    /* Spotify green */
    border-radius: 5px;
    transition: width 0.15s linear;
}

.circle {
    position: absolute;
    bottom: 8px;
    height: 12px;
    width: 12px;
    border-radius: 7px;
    background-color: whitesmoke;
    left: 6px;
    cursor: pointer;
    transform: translateX(-50%);
}

.bar .upper {
    height: 60px;
    width: 67.5vw;
    display: flex;
    padding: 10px 7px 7px 7px;
    justify-content: space-between;
}

.songinfo {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    font-size: 15px;
    width: 150px;
    height: 35px;
    overflow-y: auto;
}

.songtime {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    font-size: 15px;
}

.buttons img {
    height: 25px;
    width: auto;
}

#previous,
#play,
#next {
    filter: brightness(0) invert(1);
}

.vol-icon {
    filter: brightness(0) invert(1);
}

.vol img {
    height: 18px;
    margin-right: 4px;
    cursor: pointer;
}

#volume {
    width: 80px;
    cursor: pointer;
}

/*Responsive Designing*/
@media (max-width: 480px) {

    body {
        overflow: auto;
    }

    /* NAVBAR */
    .nav {
        position: relative;
        background-color: #131111;
        top: 0;
        flex-direction: column;
        height: 158px;
        /* height: auto; */
        padding: 10px;
        gap: 1px;
    }

    .container {
        margin-top: -20px;
        padding-top: 1px;
    }

    .leftContainer .cookies {
        background: rgb(25, 26, 17);
        margin-top: 15px;
        height: 50px;
        padding-top: 7px;
    }

    .leftContainer li {
        border-radius: 8px;
        list-style-type: decimal;
    }

    .leftContainer .lang {
        margin: 10px;
    }

    .leftbar {
        margin-top: 3px;
        width: 100%;
        justify-content: space-between;
        gap: 7px;
    }

    .search-box {
        width: 75%;
        height: 50px;
    }

    .search-box img {
        margin-top: 15px;
        margin-left: 14px;
        height: 17px;
    }

    .search-box :placeholder-shown {
        font-size: 13px;
        margin-left: -15px;
    }

    .rightbar {
        display: flex;
    }

    /* MAIN CONTAINER */
    .container {
        flex-direction: column;
    }

    /* SIDEBAR */
    .leftContainer {
        order: 2;
        width: 100%;
        height: auto;
        margin: 5px;
        padding-bottom: 120px;
    }

    .list {
        height: 150px;
    }

    /* RIGHT CONTENT */
    .rightContainer {
        order: 1;
        width: 100%;
        height: auto;
        padding-bottom: 10px;
    }

    .rightContainer h3 {
        margin-top: 10px;
        font-size: 20px;
    }

    .leftContainer h3 {
        font-size: 20px;
    }

    /* CARDS */
    .cardContainer {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .card {
        margin-left: -8px;
        height: 200px;
        max-width: 180px;
    }

    .card #cover {
        width: 78%;
        height: auto;
    }

    /* PLAYER BAR */
    .bar {
        width: 95%;
        right: 2.5%;
        bottom: 5px;
        height: 100px;
    }

    .bar .upper {
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 0px;
        margin-top: 5px;
        height: 80px;

    }
    .timeinfo{
        display: flex;
        gap: 3px;
    }

    .songinfo,
    .songtime {
        font-size: 13px;
        text-align: center;
    }

    .buttons img {
        height: 22px;
    }

    .line {
        width: 99%;
    }
}

