@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');



.dark-theme body {
    background-color: #141b34;
    color: #ffffff;
}

.dark-theme .header {
    background-color: #363636;
}

.dark-theme .right {
    background-color: #1e1e1e;
}

.dark-theme .left {
    background-color: #121212;
}
.dark-theme .home {
    border: 2px solid #d1d1d1;
}
.dark-theme .library {
    border: 2px solid #d1d1d1;
}
.dark-theme .container {
   background-color: #1e1e1e;
}
.dark-theme .signupbtn {
   background-color: #363636;
}
.dark-theme .signupbtn a{
    color: white;
}
.dark-theme .loginbtn {
    border: 2px solid #d1d1d1;
}
.dark-theme .home .heading{
    font-weight: bold
}
.light-theme .home .heading{
    font-weight: bold
}

.dark-theme .footer{
    display: flex;
    font-size: 9.5px;
    color: grey;
    gap: 13px;
    position: absolute;
    bottom: 0;
    padding: 12px 0;
}

.dark-theme .feelitPlaylists h1{
    font-size: 3em;
}


.dark-theme .card {
    font-size: small;
    font-weight: 600;
    background-color: #2a2a2a;
    color: #d1d1d1;
}

.dark-theme .card:hover {
    background-color: #3a3a3a;
}

.toggle-container {
    display: inline-block;
}

.light-theme .toggle-button{
    background-color: #7161EF;
}

.toggle-button {
    width: 50px;
    height: 24px;
    background-color: rgb(199, 199, 199);
    border: none;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px;
}


.toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}


.toggle-circle {
    background-color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.3s;
}


.toggle-button.active {
    background-color: #ddd; 
}

.toggle-button.active .toggle-circle {
    transform: translateX(26px); 
}



.light-theme body {
    background-color: #ffffff;
    color: #000000;
}


.light-theme .hamburger {
    color: #000000;
}

.light-theme .header {
    background-color: #D2E0FB;
    color: #000000;
}

.light-theme .right {
    background-color: #f0f0f0;
}
.light-theme .left {
    background-color: white;
}


.light-theme .library::-webkit-scrollbar {
    width: 12px; 
}
.dark-theme .video-background-halloween{
    display: none;
}
.light-theme .feelitPlaylists h1{
    border-radius: 7px;
    border: 2px solid white;
    padding: 16px;
    font-size: 3em;
    font-weight: bold;
}

.light-theme .library::-webkit-scrollbar-track {
    background: #7161EF; 
}

.light-theme .video-background{
    display: none;
}

.light-theme .library::-webkit-scrollbar-thumb {
    background: #f1f1f1; 
    border-radius: 6px; 
}

.light-theme .library::-webkit-scrollbar-thumb:hover {
    background: #f1f1f1; 
}


.light-theme .library {
    scrollbar-width: thin; 
    scrollbar-color:#7161EF #ffffff ; 
}

body.dark-theme {
    background-color: #141b34;
    color: #ffffff;
}

.light-theme .left, .light-theme .home, .light-theme .library, .light-theme .container  {
    background-color: #8EACCD;
} 

.light-theme .cardContainer{
   max-height: 60vh;
   z-index: 8;
   background-color: white;
}

.light-theme .songList ul li{
    background-color: transparent;
    border: 2px solid white;
    cursor: pointer;
}
.light-theme .home{
    background-color: #8EACCD;
    border: 2px solid white;
}
.light-theme .library{
    background-color: #8EACCD;
    border: 2px solid white;
}
.light-theme .songList ul li:hover{
    background-color: #2f71f5;
    cursor: pointer;
    --a: 1;
}

.light-theme .playbar{
    background-color: #9a7120;
}

.light-theme .signupbtn a:hover{
    color:#0c58f1;
}
.light-theme .loginbtn{
    border: none;
}
.light-theme .loginbtn:hover{
    background-color: #97b5ef;
}

.light-theme .card{
    font-size: small;
    font-weight: 600;
    background-color: #D2E0FB ;
}
.light-theme .card p{
    color: #948c8c ; ;
}


.light-theme .card:hover{
    background-color: #50a5ff;
    cursor: pointer;
}
.light-theme .card:hover p{
    color: white;
}
.light-theme .signupbtn{
    color: black;
    background-color: #D2E0FB;
}
.light-theme .right{
    color: black;
    background-color: white;
}




:root{
    --a:0;
}
* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

.close {
    display: none;
    cursor: pointer;
}



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

.right {
    width: 75vw;
}



.home ul li {
    display: flex; /* Use flexbox for layout */
    /* align-items: center; Center align items vertically */
    gap: 15px;
    width: 16px;
    list-style: none;
    padding-top: 14px; /* Add padding on top and bottom */
    font-weight: bold; /* Bold text */
    color: white; /* Set text color to white for contrast */
    z-index: 2; /* Ensure it is above background */
}

.heading {
    display: flex;
    gap: 15px;
    width: 100%;
    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: 10px;
    color: grey;
    gap: 13px;
    position: absolute;
    bottom: -6px;
    padding: 16px 10px;
}

/* Song List Container */
.songList {
    max-height: 50vh;
    overflow-y: auto;
    margin: 0;
    padding: 0 5px 0 0;
    scrollbar-width: thin;
    scrollbar-color: #000000 rgba(0, 0, 0, 0.1);
    position: relative;
}

.songList ul {
    padding: 0 10px;
    margin: 0;
    list-style: none;
}

.songList::-webkit-scrollbar {
    width: 6px;
}

.songList::-webkit-scrollbar {
    width: 6px;
}

.songList::-webkit-scrollbar-thumb {
    background-color: #000000;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.songList::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.light-theme .songList::-webkit-scrollbar-thumb {
    background-color: #9c27b0;
}

.light-theme .songList::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

/* Follow Developer Section */
.follow-developer {
    margin-top: auto;
    padding: 15px;
    background: rgba(30, 30, 30, 0.7);
    border-radius: 8px;
    margin: 15px 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.follow-developer h3 {
    color: #fff;
    font-size: 14px;
    margin: 0 0 12px 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.follow-developer h3::before {
    content: '👨‍💻';
    font-size: 16px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 12px;
}

.social-links a {
    color: #aaa;
    font-size: 18px;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Light theme adjustments */
.light-theme .follow-developer {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.05);
}

.light-theme .follow-developer h3 {
    color: #333;
}

.light-theme .social-links a {
    color: #777;
    background: rgba(0, 0, 0, 0.05);
}

.light-theme .social-links a:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    padding: 10px 15px;
    font-size: 11px;
    color: #888;
    text-align: center;
    margin-top: 5px;
}

.right {
    margin: 16px 0;
    position: relative;
}

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

.header>* {
    padding: 20px;
}

.feelitPlaylists h1 {
    border-radius: 7px;
    border: 2px solid white;
    padding: 16px;
}

.cardContainer {
    margin: 40px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    overflow-y: auto;
    max-height: 60vh;
    position: relative; /* Ensures proper stacking context above background */
    z-index: 8; /* Ensures the cards appear above the animated background */
    padding: 10px; /* Adds spacing inside the container */
    background-color: #1e1e1e; /* Optional: Gives a semi-transparent dark background */
    border-radius: 10px; /* Optional: Adds rounded corners */
}

.cardContainer::-webkit-scrollbar {
    display: none; /* Hides the scrollbar */
}

.cardContainer {
    scrollbar-width: none; /* For Firefox, hides the scrollbar */
}

.card {
    width: 170px;
    padding: 10px;
    border-radius: 5px;
    background-color: #121212;
    position: relative;
    transition: all 0.5s;
    overflow: hidden; /* Prevents any content from spilling out */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Optional: Adds shadow for better visibility */
}

.card:hover {
    background-color: #252525;
    cursor: pointer;
    --a: 1;
}

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

.card p {
    color: #848282;
    font-size: small;
    font-weight: 600;
}

.footer h1{
    font-family: 'Roboto', sans-serif ;
    color: white;
}

.footer img {
    z-index: 9999; /* Optional if you’re layering */
    height: 35px;
    width: auto; /* Maintain aspect ratio */
}

.links a {
    text-decoration: none; /* Removes underline from links */
}


.card .play {
    width: 28px;
    height: 28px;
    background-color: #D62246;
    border-radius: 50%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    opacity: 0;
    transition: all 0.3s ease-out;
    bottom: -10px; 
    right: -7%;
    transform: translateX(-50%);
}

.card .image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden; /* Ensures content doesn't overflow */
}

.card:hover .play {
    bottom: 10px; 
    opacity: 1; /* Makes the play button visible on hover */
}

.card p {
    padding-top: 10px;
}
.buttons>* {
    margin: 0 12px;
}
.signupbtn a{
    text-decoration: none;
    color: #000000;
}
.loginbtn a{
    text-decoration: none;
    color: #000000;
}
.signupbtn {
    background-color: rgb(34 34 34);
    color: rgb(156, 148, 148);
    font-weight: bold;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
}

.signupbtn a:hover {
    font-size: 17px;
}

.loginbtn {
    background-color: white;
    border-radius: 21px;
    color: black;
    padding: 10px;
    width: 79px;
    cursor: pointer;
    font-size: 16px;
}

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


.playbar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 30px;
    filter: invert(1);
    right: 39px;
    background: #fcb4b4;
    border-radius: 10px;
    width: 90%;
    padding: 12px;
    width: 70vw;
    min-height: 40px;
    z-index: 10;
}

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

.songList {
    height: 544px;
    overflow: auto;
    margin-bottom: 44px;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1000;
    padding: 10px;
}

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

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .left {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        background-color: #121212;
        z-index: 999;
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        padding-top: 60px;
    }
    
    .left.active {
        transform: translateX(100%);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    }
    
    .close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1001;
    }
    
    .right {
        width: 100%;
        margin-left: 0;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        height: 100vh;
    }
    
    /* Adjust card container for mobile */
    .cardContainer {
        margin: 20px 10px;
        gap: 15px;
    }
    
    .card {
        width: calc(50% - 20px);
    }
}

.songList ul {
    padding: 0 12px;
}

.songList ul li {
    list-style-type: decimal;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    padding: 12px 0;
    border: 1px solid rgba(146, 143, 143, 0.491);
    margin: 12px 0;
    padding: 13px;
    border-radius: 5px;
}

.songList ul li:hover{
    background-color: #252525;
    cursor: pointer;
    --a: 1;
}


.songList .info {
    padding: 12px 0px;
    font-size: 13px;
    width: 344px;
}

.info div {
    word-break: break-all;
}

.playnow {
    display: flex;
    justify-content: center;
    align-items: center;
}

.playnow span {
    font-size: 15px;
    width: 64px;
    padding: 12px;
}

.seekbar {
    filter: none;
    height: 4px;
    width: 98%;
    background: #e0209b;
    border-radius: 10px;
    position: absolute;
    bottom: 8px;
    margin: 6px;
    cursor: pointer;
}

.circle {
    width: 13px;
    height: 13px;
    border-radius: 13px;
    background-color: black;
    position: relative;
    bottom: 5px;
    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 12px;
    width: 250px;
}

.songtime {
    width: 125px;
    color: black;
    padding: 0 12px;
}


.volume {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.range input{
    cursor: pointer;

}

.abovebar {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    width: 100%;
}

@media (max-width: 1200px) {
    .left {
        position: absolute;
        left: -130%;
        transition: all .3s;
        z-index: 9999;
        width: 373px;
        background-color: black;
        padding: 0;
        height: 100vh;
        position: fixed;
        top: 0;
    }

    .songinfo,
    .songtime {
        width: auto;
    }

    .left .close {
        position: absolute;
        right: 31px;
        top: 25px;
        width: 29px;
        z-index: 9999;
    }

    .timevol {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: column;
        gap: 13px;
    }

    .right {
        width: 100vw;
    }

    .playbar {
        width: calc(100vw - 75px); 
    }

    .seekbar {
        width: calc(100vw - 120px);
    }

    .hamburger {
        display: block;
    }

    .right {
        margin: 0;
    }

    .card {
        width: 55vw;
    }

    .cardContainer {
        margin: 0;
        justify-content: center; 
    }

    .close {
        display: block;
    }

    .abovebar {
        flex-direction: column;
        gap: 23px;
        align-items: center;
    }

    .cardContainer {
        max-height: unset;
        overflow-y: unset;
        margin-bottom: 35vh;
    }

    .playbar{
        right: 25px;
    }

    .card .play {
        width: 32px;
        height: 32px;
        background-color: #D62246;
        border-radius: 50%;
        padding: 4px;
        display: flex
    ;
        align-items: center;
        justify-content: center;
        position: absolute;
        opacity: 0;
        transition: all 0.3s ease-out;
        bottom: -10px;
        right: -2%;
        transform: translateX(-50%);
    }
}


.follow img{
    height: 24px;
    margin-left: 7px;
}


@media (max-width: 500px) {
    .card {
        width: 100%;
    }

    .header>* {
        padding: 2px;
    }

    .buttons>* {
        margin: 0 6px;
    }

    .header{
        padding: 7px;
    }

    .spotifyPlaylists h1 {
        padding: 4px;
    }

    .library{
        height: 85vh;
    }

    .left{ 
        width: 100vw;
    }
    .card .play {
        width: 32px;
        height: 32px;
        background-color: #D62246;
        border-radius: 50%;
        padding: 4px;
        display: flex
    ;
        align-items: center;
        justify-content: center;
        position: absolute;
        opacity: 0;
        transition: all 0.3s ease-out;
        bottom: -10px;
        right: -3%;
        transform: translateX(-50%);
    }
}

.light-theme .artist-info {
    font-size: 0.9rem; 
    color: #e3dede;
}
.dark-theme .artist-info {
    font-size: 0.9rem; 
    color: #e0209b;
}

.logo img{
    position: relative;
    margin: -14px;
    top: 6px;
    left: -21px;
    position: relative;
}

.dark-theme .logo li a, .light-theme .logo li a{
    text-decoration: none; 
  transition: none;
    cursor: pointer;
}

.dark-theme .logo li a:focus, a:active, .light-theme .logo li a:focus, a:active {
    text-decoration: none; 
  }
  