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

body {
    background-color: rgb(0, 0, 0);
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 4px;
    margin: 5px;
    background-color: rgb(0, 0, 0);
}

nav {
    color: white;
    justify-content: space-between;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

nav img:first-child {
    display: flex;
    justify-content: flex-start;
}

.home {
    border: 1px solid #1f1f1f;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1f1f1f;
    transition: 300ms ease;
}

.home:hover {
    transform: scale(1.1);
    background-color: #323232;
    box-shadow: inset 0 0 1px 0;
}

.search-bar-warper {
    gap: 10px;
}


.search-bar {
    padding: 4px 0;
    width: 400px;
    border-radius: 30px;
    border: 1px solid #1f1f1f;
    background-color: #1f1f1f;
    transition: 300ms ease;
}

.text {
    color: #acacac;
    font-size: 18px;
    font-weight: 500;
    margin-left: 10px;
    transition: 300ms ease-out;
}

.search-bar img {
    margin-left: 6px;
}

.split {

    font-size: 25px;
    margin-left: 70px;
}


.gallery {
    margin-left: 15px;
    transition: 300ms ease;
}

.gallery:hover {
    transform: scale(1.1);
}

.search-bar:hover {
    background-color: #323232;
    box-shadow: inset 0 0 1px 0;
}

.search-bar p:hover {
    color: white;
}

nav ul {

    margin-left: 300px;
    list-style: none;

    font-size: 20px;
    font-weight: 600;

    color: #acacac;

    gap: 20px;

}

nav ul li {
    transition: 300ms ease;
}

nav ul li:hover {
    color: white;
}

.split-bar {
    font-size: 32px;
}

.app {

    font-size: 20px;
    font-weight: 600;

    color: #acacac;

    transition: 300ms ease;
}

.app:hover {
    color: white;
}

nav button:nth-child(1) {

    height: 55px;
    width: 110px;

    color: white;
    background-color: transparent;

    border: none;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    font-weight: 600;
}

nav button:nth-child(2) {

    border-radius: 100px;

    height: 55px;
    width: 110px;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    font-weight: 600;

    transition: 300ms ease-in;
}

nav button:nth-child(2):hover {
    background-color: rgb(0, 255, 26);
}

.left {

    width: 25vw;
    padding: 20px;

    border: #121212;
    background-color: #121212;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header {
    justify-content: space-between;
    margin-bottom: 50px;
}

.left-text {
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.plus {
    font-size: 30px;
    opacity: 1;
}

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

    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #545454;
    color: rgb(255, 255, 255);

    transition: 300ms ease;
}

.circul:hover {
    transform: scale(1.1);
    background-color: #323232;
    box-shadow: inset 0 0 1px 0;
}

.songs-list {

    width: 100%;
    height: 500px;
    overflow-y: auto;

    color: white;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.songs-list ul {
    padding: 0 12px;
}

.songs-list ul li {
    list-style-type: decimal;
    display: flex;
    justify-content: space-between;
    cursor: pointer;

    border: 1px solid rgba(146, 143, 143, 0.491);
    margin: 12px 0;
    padding: 4px;
    border-radius: 5px;

    background-color: rgb(100, 98, 98);

    transition: 300ms ease-in;
}

.songs-list ul li:hover {
    border-radius: 20px;
    background-color: red;
}


.songs-list .info {
    margin: 20px;
    width: 344px;
}

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

.playnow {
    display: flex;
    align-items: center;

}


.playnow img {
    width: 34px;
    height: 30px;
}

.playnow span {
    font-size: 15px;
    width: 64px;
    padding: 12px;
}

#libraryTab,
#songsTab {
    cursor: pointer;
}


.cards {
    flex-direction: column;
    gap: 20px;
}

.box1,
.box2 {

    padding: 15px;

    border-radius: 5px;
    background-color: #1f1f1f;
    color: white;
}

.box1 p:first-child,
.box2 p:first-child {
    font-size: 16px;
    font-weight: 700;
}

.box1 p:nth-child(2),
.box2 p:nth-child(2) {
    margin: 10px 0;
    font-size: 14px;
    font-weight: 400;
}

.box1 button,
.box2 button {
    font-size: 14px;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    margin-top: 10px;
    height: 55px;
    width: 160px;

    border-radius: 100px;
    transition: 300ms ease-in;
}

.box1 button:hover,
.box2 button:hover {
    background-color: rgb(0, 255, 26);
}

.left-footer {

    margin-top: 100px;
    flex-wrap: wrap;
    gap: 14px 18px;
}

.left-footer a {
    font-size: 12px;
    font-weight: 400;

    color: #b3b3b3;

    text-decoration: none;
    white-space: nowrap;

    transition: 300ms ease;
}

.left-footer a:hover {
    color: white;
}

.right {
    width: 75vw;
    border: #212121;
    background-color: #212121;

    height: 644px;
    padding: 35px;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    position: relative;
}

.right-text {
    display: inline;

    color: white;
    font-size: 24px;
    font-weight: 700;
}

.right-text:hover {
    text-decoration: underline;
}

.card-container {

    margin: 30px;
    gap: 10px;
    flex-wrap: wrap;
    overflow-y: auto;
    max-height: 46vh;
}

.card {
    width: 200px;
    color: white;

    padding: 10px;

    transition: 300ms ease-out;

    position: relative;
}

.card:hover {
    background-color: rgb(39, 39, 39);
}

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

.play {
    width: 40px;
    height: 40px;

    background-color: #1fdf64;
    border-radius: 50%;


    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    top: 200px;
    right: 17px;
    opacity: 0;

    transition: 200ms ease-out;
}

.play:hover {
    top: 150px;
    opacity: 1;
}

.card img {
    width: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.card h2 {
    font-weight: 700;
    font-size: 20px;
}

.card p {
    color: rgb(179, 179, 179);
    font-size: 14px;
    font-weight: 400;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 6px;
}

::-webkit-scrollbar-track {
    background-color: #111;
}


.playbar {
    color: white;
    position: absolute;
    bottom: 0;
    background-color: rgb(65, 65, 65);
    width: 90%;
    min-height: 53px;
    padding: 10px;

    border-radius: 20px;
    margin-bottom: 10px;
}

.song-buttons {
    gap: 16px;
}

.song-buttons img {
    transition: 150ms ease-in;
    cursor: pointer;
}

.song-buttons img:hover {
    transform: scale(1.1);
}


.seekbar {
    height: 3px;
    width: 90%;
    background-color: white;
    border-radius: 10px;
    position: absolute;
    top: 45px;
    bottom: 0;

}

.circle {
    width: 13px;
    height: 13px;
    border-radius: 13px;
    background-color: white;
    position: relative;
    bottom: 7px;
    left: 0;
}

.song-info {
    flex: 1;
    min-width: 0;
    padding-left: 85px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.song-time {
    flex: 1;
    min-width: 0;
    padding-right: 85px;
    text-align: right;
    white-space: nowrap;
}

.hamburger {
    display: none;
}


@media (max-width: 1400px) {

    .left {
        width: 398px;
        height: 643px;
        left: -120%;
        position: absolute;
        z-index: 1;
        transition: 300ms all ease;
    }

    .right {
        width: 100vw;
    }

    nav ul {
        margin: 0 40px;
    }

    .playbar {
        gap: 40px;
        margin-left: -22px;
        width: 95%;
        height: auto;
    }

    .seekbar {
        margin-left: 130px !important;
        width: 50% !important;
        top: auto !important;
        bottom: 7px !important;
    }

    .song-info {
        font-size: 13px;
        min-width: 0 !important;
        padding-left: 3px !important;
        overflow: visible !important;
        white-space: normal !important;
    }

    .song-buttons {
        display: flex;
        gap: 16px;
        flex-shrink: 0;
    }

    .song-time {
        flex: 1;
        min-width: 0;
        padding-right: 0px !important;
        text-align: right;
        white-space: nowrap;
    }

    .hamburger {
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #1f1f1f;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: #1f1f1f;
        transition: 300ms ease;
    }

    .hamburger:hover {
        transform: scale(1.1);
        background-color: #323232;
        box-shadow: inset 0 0 1px 0;
    }

}

/* TABLATE */
@media (max-width: 992px) {

    nav ul {
        margin-left: 0px;
        font-size: 15px;
        gap: 15px;
    }

    .nvm-btn {
        display: flex;
        margin-left: -100px;


    }

    nav button:nth-child(1) {
        font-size: 18px;
        width: 90px;
    }

    nav button:nth-child(2) {
        font-size: 18px;
        width: 90px;
    }

    nav .split-bar {
        font-size: 25px;
        margin-left: -35px;
    }

    .app {
        margin-right: 100px;
        font-size: 15px;
    }

    .right {
        width: 100vw;
    }

    .search-bar {
        width: 265px;
    }

    .text {
        font-size: 12px;
    }

    .split {
        font-size: 20px;
        margin-left: 12px;
    }

    .playbar {
        width: 93%;
        margin-left: 0;
    }

    .seekbar {
        right: 40px;
        height: 3px;
        width: 90% !important;
        background-color: white;
        border-radius: 10px;
        position: absolute;
        top: 45px !important;
        bottom: 0 !important;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {

    nav ul {
        margin-left: 5px;
        font-size: 13px;
        gap: 9px;
    }

    .nvm-btn {
        display: flex;
        align-items: center;
        margin-left: -100px;
    }

    nav button:nth-child(1) {
        font-size: 15px;
        width: 70px;
        height: 40px;
    }

    nav button:nth-child(2) {
        font-size: 15px;
        width: 70px;
        height: 40px;
    }

    nav .split-bar {
        font-size: 20px;
        margin-left: -39px;
    }

    .app {
        margin-right: 100px;
        font-size: 13px;
    }

    .right {
        width: 100vw;
    }

    .search-bar {
        width: 185px;
    }

    .split {
        font-size: 20px;
        margin-left: 12px;
    }

    .text {
        font-size: 10px;
    }

    .gallery {
        margin-right: 15px;
    }

    .song-time {
        padding-right: 45px !important;
    }

    .right-text {
        display: flex;
        justify-content: center;

        font-size: 30px;
    }



    .card {
        width: 235px;
    }

    .right-text {
        display: inline;

        color: white;
        font-size: 30px;
        font-weight: 700;
    }

    .card-container {
        margin: 0px;
        gap: 10px;
        flex-wrap: wrap;
        overflow-y: auto;
        max-height: 60vh;
    }

    .card {

        width: 325px !important;
        color: white;
        padding: 10px;
        transition: 300ms ease-out;
        position: relative;
    }

    .play {
        top: 330px !important;
        width: 50px;
        height: 50px;
    }

    .play:hover {
        top: 260px !important;
        opacity: 1;
    }


}


/* Large Phones */
@media (max-width: 576px) {

    nav ul li {
        display: none;
    }

    .search-bar,
    .split-bar,
    .app {
        display: none !important;
    }

    .nvm-btn {
        display: flex;
        margin-left: -100px;
    }
}


/* Small Phones */
@media (max-width: 480px) {

    .left {
        width: 385px;
    }

    .right {
        width: 100vw;
    }

    .right-text {
        display: flex;
        justify-content: center;
    }

    .playbar {
        width: 83%;
        gap: 50px;
    }

    .seekbar {
        right: 15px;
        width: 90% !important;
        top: 50px !important;
    }


    .song-time {
        margin-right: 60px;
    }

    .song-buttons {
        margin-right: -33px;
        margin-left: 30px;
        display: flex;
        gap: 0px;
    }

    .card {
        width: 265px;
    }

    .play:hover {
        top: 240px !important;
        opacity: 1;
    }
}


/* Very Small Phones */
@media (max-width: 375px) {

    .song-time {
        margin-right: 50px;
        font-size: 13px;
    }

    .left {
        width: 370px;
    }

    .right {
        width: 100vw;
    }

    .right-text {
        display: flex;
        justify-content: center;
    }

    .playbar {
        width: 85%;
    }

    .seekbar {
        right: 55px;
        width: 64% !important;
        top: 45px !important;
    }

    .card-container {
        max-height: 70vh;
        margin: 0;
    }

    .card {
        width: 287px !important;
    }


    .play {
        top: 300px !important;
        width: 50px;
        height: 50px;
    }

    .play:hover {
        top: 210px !important;
        opacity: 1;
    }
}