@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@100..900&display=swap');

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

body {
    background-color: black;
    display: flex;
    flex-direction: column;
    font-family: "Kumbh Sans", sans-serif;
}

.nav {
    height: 65px;
    /* border: 1px solid white; */
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    /* gap: 200px; */
}

.sections {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 10px;
    margin-top: 0px;
    gap: 8px;
    width: 99%;
    height: 80vh;
    /* background-color: rosybrown; */
}

.library {
    background-color: #121212;
    width: 28%;
    height: 100%;
    /* margin: auto; */
    border-radius: 8px;
    padding: 8px;
    overflow-y: auto;
}

.main {
    background-color: #121212;
    width: 72%;
    height: 100%;
    /* margin: auto; */
    border-radius: 8px;
    padding-left: 34px;
    overflow-y: auto;
    scrollbar-color: rgba(196, 196, 196, 0.418) transparent;
}

.main::-webkit-scrollbar {
    width: 8px;
    background-color: transparent;
    color: rgba(192, 192, 192, 0.316);
}

.main::-webkit-scrollbar-button:single-button {
    display: none;
    height: 0;
    width: 0;
}

.logo {
    width: 36px;
    height: 36px;
    margin: 10px;
    margin-left: 30px;
    cursor: pointer;
}

.home {
    width: 48px;
    height: 48px;
    margin: 10px;
    margin-left: 20px;
    cursor: pointer;
}

.home:hover {
    background-color: rgba(213, 213, 213, 0.418);
    border-radius: 50%;
    scale: 1.03;
}

.search {
    width: 465px;
    height: 48px;
    border-radius: 60px;
    background-color: #1f1f1f;
    color: #B3B3B3;
    /* margin-left: 0px; */
    padding-left: 10px;
    display: flex;
    gap: 4px;
    align-items: center;
    cursor: pointer;
}

.search:hover {
    background-color: #242424;
    border: 0.5px solid #3d3d3d;
    box-sizing: border-box;
}

.search img {
    width: 18px;
    height: 20px;
    margin-right: 10px;
    margin-left: 6px;
}

.nav-links {
    display: flex;
    flex-direction: row;
    /* margin-left: auto; */
    /* margin-left: 70px; */
    gap: 10px;
    color: white;
    list-style-type: none;
    font-size: 16px;
}

.nav-break {
    color: white;
    font-weight: 300;
    font-size: 30px;
}

.nav-link2{
    display: flex;
    flex-direction: row;
    gap: 20px;
    list-style-type: none;
    font-size: 14px;
    /* margin-left: 10px;
    margin-right: 10px; */
}

.install-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
    margin-right: 10px;
}

.install-nav img {
    width: 16px;
    height: 16px;
    /* cursor: pointer; */
}

.nav-logo {
    display: flex;
    align-items: center;
}

.links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 5px;
}

.links li:hover {
    color: white;
    scale: 1.03;
    cursor: pointer;
}

.links li {
    font-weight: 700;
    color: #B3B3B3;
}

.cta {
    background-color: white;
    color: black;
    height: 50px;
    width: 110px;
    border-radius: 50px;
    font-weight: 700;
}

.cta:hover {
    background-color: #e9e9e9;
    scale: 1.03;
}

.library-header {
    color: white;
    /* font-size: 20px; */
    margin-top: 5px;
    margin-left: 10px;
    margin-right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.library-header span {
    font-size: 26px;
    /* margin-right: 10px; */
}

.playlist button:hover{
    background-color: #e9e9e9;
    scale: 1.03;
}

.main-header {
    color: white;
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    padding-right: 45px;
    align-items: flex-end;
    /* border: 1px solid rgb(160, 12, 12); */
    margin-bottom: 20px;
}

.song-card {
    width: 220px;
    height: 280px;
    padding: 12px;
    /* padding-left: 16px;
    padding-right: 16px; */
    display: flex;
    align-items: center;
    border-radius: 4px;
    flex-direction: column;
    /* flex-wrap: wrap; */
    gap: 10px;
    color: white;
    /* overflow: hidden; */
    position: relative;
}



.song-card:hover {
    background-color: rgba(109, 109, 109, 0.425);
}

.song-card img {
    height: 165px;
    width: 165px;
    border-radius: 4px;
    object-fit: cover;
}

.song-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    /* text-overflow: ellipsis; */
    overflow: hidden;
}

.song-info p {
    color: #B3B3B3;
    /* white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* Number of lines to show */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    /* Allow wrapping */
    word-break: break-word;
    max-width: 100%;
}

.trending-songs {
    display: flex;
    flex-direction: row;
    gap: 6px;
    overflow-x: scroll;
    scrollbar-width: none;
    margin-bottom: 40px;
    margin-left: -10px;
}



.popular-artists {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: scroll;
    scrollbar-width: none;
    color: white;
}

.artist-card {
    width: 200px;
    height: 260px;
    padding: 16px;
    display: flex;
    border-radius: 8px;
    flex-direction: column;
    align-items: center;
    /* flex-wrap: wrap; */
    gap: 10px;
    color: white;
    /* overflow: hidden; */
}

.artist-card .play-button{
    left: 136px;
}
.artist-card .play-button:hover{
    top: 124px;
}

.artist-info {
    width: 100%;
    padding: 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.artist-card:hover {
    background-color: rgba(109, 109, 109, 0.425);
}

.popular-artists img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.playlist {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    /* padding-bottom: 20px; */
    /* justify-content: flex-start; */
    color: white;
    background-color: #1F1F1F;
    margin-top: 45px;
    border-radius: 6px;
    gap: 10px;
}

.podcast {
    margin-top: 30px;
    /* padding-bottom: 10px; */
}

.playlist button {
    background-color: white;
    color: black;
    height: 35px;
    width: 130px;
    border-radius: 50px;
    margin-top: 6px;
    font-weight: 600;
}

.podcast button {
    width: 140px;
}

.playlist p{
    font-size: 14px;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-wrap: nowrap;
    color: white;
    padding: 20px;
    color: rgb(196, 196, 196);
    margin-top: 16px;
}

.quick-links li {
    list-style-type: none;
    font-size: 12px;
    cursor: pointer;
}

.quick-links span {
    color: white;
    font-size: 12px;
}

.legal,
.ads {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.eng {
    background-color: transparent;
    color: white;
    border-radius: 50px;
    border: 0.7px solid rgb(218, 218, 218);
    padding: 14px;
    width: 94px;
    height: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    margin-left: 20px;
    margin-top: 10px;
}

.eng img {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    filter: invert(1);
}

.eng:hover {
    border: solid 1 px white;
    scale: 1.05;
}

.album-header {
    color: white;
    margin-top: 24px;
    margin-bottom: 20px;
}

.album-card img {
    height: 165px;
    width: 165px;
    border-radius: 4px;
    object-fit: cover;
}

.radio-header {
    color: white;
    margin-top: 24px;
    margin-bottom: 20px;
}

.radio-card {
    height: 240px;
}

.radio-info {
    margin-top: 6px;
}

.chart-card {
    height: 240px;
}

.india-card {
    height: 240px;
}

.play-button {
    position: absolute;
    top: 160px;
    left: 120px;
    /* transform: translate(-50%, -50%); */
    width: 45px;
    height: 45px;
    cursor: pointer;
    background-color: transparent;
    /* transform: translate(-50%, 20px); */
    transition: all 0.2s ease-in;
    border: none;
    opacity: 0;
}

.play-button img {
    width: 100%;
    height: 100%;
    /* opacity: 0; */
}

.song-card:hover .play-button {
    /* transform: translate(-50%, 20px); */
    top: 120px;
    opacity: 1;
}

.card, .artist-card, .album-card {
  position: relative;
}

.popular-artists-header {
    color: white;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 45px;
}

.popular-artists-header span{
    color: rgb(196, 196, 196);
    font-size: 14px;
    cursor: pointer;
    font-weight: 700;
}

.popular-artists-header span:hover {
    text-decoration: underline;
}

.main-header span{
    color: rgb(196, 196, 196);
    font-size: 14px;
    cursor: pointer;
    font-weight: 700;
}

.main-header span:hover {
    text-decoration: underline;
}

@media screen and (max-width: 1220px) {
    /* .links li{
        font-size: 12px;
    } */
    .search {
        width: 50px;
        overflow: hidden;
    }
    .quick-links li{
        font-size: 11px;
    }
    .playlist h4{
        font-size: 14px;
    }
    .playlist p{
        font-size: 12px;
    }
}

@media  screen and (max-width: 832px) {
    
}