
:root{
  --bg-nav:rgba(255,255,255,0.85);
  --bg-latest:rgba(255,255,255,0.5);
  --bg-english:rgba(255,255,255,0.5);
  --bg-hinde:rgba(255,255,255,0.5);
  --bg-queue:rgba(255,255,255,0.25);
  --bg-queue-header:rgba(255,255,255,0.5);
  --bg-queue-list:rgba(255,255,255,0.4);
  --bg-user:transparent;
  --text-color:black;
  --bg-dropdown:rgba(255,255,255,0.9);
  --dropdown-text:black;
  --dropdown-hover:whitesmoke;
  --search-border:black;
  --heart-hover:red;
  --bg-play:rgba(255,255,255,0.85);
}

/***************************** BODY *****************************/
html{
    color:white;
    color:var(--text-color);
}

h4{
    margin:0px;
    font-weight: 800;
    font-family:Poppins,Lato,sans-serif;
}

h5{
    margin:0px;
    font-family: Pacifico,sans-serif,Lato;
    font-weight: 900;
    color:#a9a9a9;
}
header{
    color:rgb(99, 95, 95);
    font-family:Poppins;
    font-size: 1.33333rem;
    font-weight: 600;
    margin-left:1rem;
    margin-bottom: 0.2rem;
}
body{
    margin:0px;
    padding:0px;
    background-image:url('./images/bg2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: darkblue;
    background-color:var(--bg-body);
}

/***************************** NAV-MENU ************************/

nav{
    display:flex;
    position: fixed;
    top:0px;
    z-index: 100;
    width: 100%;
    font-weight: 800;
    padding:0.5rem;
    max-height: 10vh;
    background-color: rgb(100, 20, 240);
    background-color: var(--bg-nav);
    justify-content: space-between;
    align-items: center;

}

#logo-container{
    display: flex;
    align-items: center;
}
#logo-container #logo img{
    max-height:4rem;
}
#title-name h4{
    font-size: 2rem;
}
.nav-link:hover{
    border-bottom: 2px solid red;
}
#search{
    display:none;
    padding:1rem;
    border-radius: 24px;
    border:1px solid;
    border-color: white;
    border-color:var(--search-border);
}
#search input{
    font-size: 1rem;
    line-height: 1rem;
    border:transparent;
    background-color:transparent;
}

#search input:focus{
    outline:none;
}
#user-container{
    display: flex;
    align-items: center;
}
#user-profile-icon{
    display:none;
}
#user-container i{
    padding:0rem 0.5rem;
    font-size: 1.5rem;
}
#user-profile-icon img{
    padding:0rem 1rem;
    border-radius: 50%;
    max-height: 10vh;
    max-width: 100px;
}
#menu-icon{
    font-size:2rem;
    padding:0px 2rem;
}
/***************** CONTENT CONTAINER BOX **********************/
#content-container{
    display: flex;
    margin-top: 14vh;
  
}
/* Hide scrollbar for IE, Edge and Firefox */
#main-container {
  
    background-color: var(--bg-main);
    height: 100vh;
    overflow-y: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
#main-container::-webkit-scrollbar {
    display: none;
}  

/************************** ALBUMS ***************************/
.new-albums {
    padding:1rem;
    /* display: inline-block; */
}
  
.new-albums img {
    min-width:300px;
    min-height: 200px;
    max-height:30vh;
}
.new-albums:hover img{
    border:1px solid white;
    box-shadow: 0px 0px 6px 4px white;
    transform: scale(1.1);

}
  
/***************************LATEST SONGS***********************/

.latest-song{
    display:flex;
    width:45%;
    min-width:300px;
    min-height: 120px;
    word-break:break-all;
    padding:0.5rem;
    margin:0.5rem;
    border:1px solid white;
    background-color: rgb(13, 13, 114);
    background-color: var(--bg-latest);
    box-shadow: 0 15px 35px rgba(255,255,255,0.05);
    border-radius:10px;
}

.latest-image{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.latest-image img{
    border-radius: 10px;
    max-width:100px;
    max-height: 20vh;
}

.latest-image i{
    position: absolute;
    transition: 1s, filter 0.5s ease-in-out;
    opacity: 0;
    font-size: 2rem;
    color:white;
    filter: brightness(0%);
}

.latest-image:hover img{
    filter: brightness(60%);
}

.latest-image:hover i{
    opacity: 1;
    filter: brightness(100%);

}

.latest-name{
    width:65%;
    padding:1rem;
}

.dropdown{
    color:white;
    color:var(--text-color);
    position:relative;
}

.dropbtn:hover + .ls-dropdown{
    display:block;
} 

.ls-dropdown{
    display:none;
    width:180px;
    background-color:rgb(36, 9, 160);
    background-color: var(--bg-dropdown);
    position:absolute;
    right:0px;
}

.ls-dropdown:hover{
    display:block;
}

.ls-dropdown a{
    display:block;
    color:whitesmoke;
    color:var(--dropdown-text);
    border-bottom:1px solid whitesmoke;
    text-decoration: none;
    margin:0px;
    padding:2px;
}
.ls-dropdown a:last-child{
    border-bottom:1px solid transparent;
}
.ls-dropdown a:hover{
    background-color: rgb(84, 84, 85);
    background-color: var(--dropdown-hover);
}
.ls-dropdown a i{
    padding:0px 10px;
    color:black;
}

/************************ POPULAR ARTIST *********************/
.artist{
    /* min-width: 100px; */
    /* width:15%; */
    padding:1rem;
    /* max-height:fit-content; */
}
.artist-image{
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;

}
.artist-image img{
    border-radius: 50%;
    /* max-height: 25vh; */
    position:relative;
    transition: 1s, filter 0.5s ease-in-out;
    transform-origin: center center;
    filter: brightness(100%);
    background-image: linear-gradient(to left bottom,white,whitesmoke,#997474);
    padding:0.5rem;
    border-radius: 50%;

}
.artist-name{
    font-size: 2rem;
    font-family: Poppins,sans-serif;
    font-size:1rem;
    padding: 0.2rem;
    justify-content: center;
}

.artist-image i{
    position:absolute;
    transition: 1s, filter 0.5s ease-in-out;
    opacity: 0;
    color:white;
    filter: brightness(0%);
}
.artist-image:hover img{
    filter: brightness(60%);
}
.artist-image:hover i{
    opacity: 1;
    filter: brightness(100%);
}

/*************************** STATIONS *************************/

#stations-logo img{
    max-width:200px;
    max-height: 25vh;
 }
 
 .station{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin:0rem 1rem;
    background-image: linear-gradient(to left bottom,white,whitesmoke,#997474);
    padding:0.5rem;
    border-radius: 50%;
}

.station img{
    border-radius:50%;
}
.station i{
    font-size:2rem;
    position:absolute;
    transition: 1s, filter 0.5s ease-in-out;
    opacity: 0;
    color:white;
    filter: brightness(0%);
}
.station:hover img{
    filter: brightness(60%);
}
.station:hover i{
    opacity: 1;
    filter: brightness(100%);
}

/**************************** CATEGORY ***********************/

/* The Image container */
#category-container{
    padding:1rem;
}
.category{
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin:0rem 0.5rem;
    position: relative;
    color:white;
    font-weight: bold;
    min-width:200px;
    min-height: 100px;
    max-height: 20vh;
    overflow: hidden; /* Removing this will break the effects */
  }
/* Brightness-zoom Container */
.category img {
    width:100%;
    height:100%;
    transition: transform 2s, filter 1.5s ease-in-out;
    transform-origin: center center;
    filter: brightness(75%);
}

.category h3{
    position:absolute;
}  
  /* The Transformation */
.category:hover img {
    filter: brightness(100%);
    transform: scale(1.3);
}

/*************************** LATEST ENGLISH *******************/
#english-songs{
    display:flex;
    /* justify-content: center; */
    padding:1rem;
}

.english-song{
    margin:0rem 1rem;
    border-radius: 10px;
    box-sizing: border-box;
    padding:0.2rem;
    background-color:var(--bg-english);
}
.english-image{
    font-size: 3rem;
    position:relative;
   display: flex;
   justify-content: center;
   align-items: center;
}
.english-image img{
    min-width: 100px;
    max-width: 150px;
    max-height: fit-content;
    border-radius: 10px;
    transition:1s, filter 0.5s ease-in-out;
    transform-origin: center center;
    filter: brightness(100%);
}
.english-image i{
    position:absolute;
    transition: 1s, filter 0.5s ease-in-out;
    opacity: 0;
    color:white;
    filter: brightness(0%);
}  
  /* The Transformation */
.english-image:hover img {
    filter: brightness(60%);
}
.english-image:hover i{
    opacity: 1;
    filter: brightness(100%);
}
/************************** LATEST HINDI **********************/
#hindi-songs{
    display:flex;
    padding:1rem;
}

.hindi-song{
    margin:0rem 1rem;
    border-radius: 10px;
    box-sizing: border-box;
    padding:0.2rem;
    background-color:var(--bg-english);
}
.hindi-image{
    font-size: 3rem;
    position: relative;
   display: flex;
   justify-content: center;
   align-items: center;
}
.hindi-image img{
    min-width: 100px;
    max-width: 150px;
    max-height: fit-content;
    border-radius: 10px;
    transition:1s, filter 0.5s ease-in-out;
    transform-origin: center center;
    filter: brightness(100%);
}
.hindi-image i{
    position:absolute;
    transition: 1s, filter 0.5s ease-in-out;
    opacity: 0;
    color:white;
    filter: brightness(0%);
}  
  /* The Transformation */
.hindi-image:hover img {
    filter: brightness(60%);
}
.hindi-image:hover i{
    opacity: 1;
    filter: brightness(100%);
}
/***************************** ASIDE **************************/ 
aside{
    display:none;
    margin-top:2vh;
    width:25%;
    box-sizing: border-box;
    height: 100vh;
    margin-bottom: 10vh;
    background-color:rgb(43, 43, 107);
    background-color: var(--bg-queue);
    overflow-y: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

#aside-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:0px 1rem;
    border-radius:10px;
    background-color:var(--bg-queue-header);
}

.list{
    display:flex;
    margin:0.5rem;
    box-sizing: border-box;
    border:1px solid white;
    border-radius:5px;
    background-color:rgb(54, 54, 124);
    background-color: var(--bg-queue-list);
    align-items: center;
}
.serial{
    width:15%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.list-image{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: 1s, filter 0.5s ease-in-out;
    transform-origin: center center;
    filter: brightness(100%);

}
.list-image img{
    max-width:70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.list-name{
    width:39%;
    margin:0rem 1rem;
    padding:1rem 0rem;
}

.list-image i{
    position:absolute;
    font-size:2rem;
    transition: 1s, filter 0.5s ease-in-out;
    opacity: 0;
    color:white;
    filter: brightness(0%);
}
.list:hover{
    position: relative;
    margin:1rem;
}

.list-image:hover img{
    filter: brightness(60%);
}

.list-image:hover i{
    opacity: 1;
    filter: brightness(100%);
}

.fa-heart{
    font-size: 1.3rem;
}
.fa-heart:hover{
    color:red;
    color:var(--heart-hover);
}
/* Hide scrollbar for Chrome, Safari and Opera */
aside::-webkit-scrollbar {
    display: none;
}

/************************ BOTTOM MUSIC PLAYER ***************/

#play-container{
    width:100%;
    position: fixed;
    bottom:0px;
    display: flex;
    flex-direction: column;
}

#bar{
    width:30%;
    height: 0.5vh;
    background-color: red;
}

#play-image-container{
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    background-color: darkblue;
    background-color: var(--bg-play);

}
#play-image{
    width:15%;
    height: 10vh;
    display: flex;
    flex-direction: row;
}

#play-image img{
    padding:0.5rem;
    border-radius: 10px;
    box-sizing: border-box;
    height: 100%;
}

#play-container i{
    font-size:1.5rem;
    padding:0rem 1.5rem;
}

/*********************** MEDIA QUERIES ***********************/

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .hide{
        display:none;
    }
    #main-container{
        width:100%;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .hide{
        display:none;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  
    #menu-icon{
        display:none;
    }
    .hide{
        display:none;
    }
    #search,#user-profile-icon{
        display:block;
    }
    category{
        min-width:300px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  

    .hide{
        display:inline-flex;
    }
    #main-container{
        width:75%;
    }
   
    aside{
        display: block;
    }
  
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

    .hide{
        display:inline-flex;
    }
    #latest-songs{
        flex-wrap: wrap;
    }
    category{
        width:30%;
    }
}

/******************** COMMON USED CLASSES ********************/
section{
    display:flex;
    width: 100%;
    overflow-x: scroll;
    white-space: nowrap;
    float: left;
    position: relative;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* hide the scrollbar  */
section::-webkit-scrollbar {
    display: none;
}