/* start design using css text color font */

body {
  margin: 0px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: white;
}

/* innovative animation Background  */
/* =======================
:innovative theme , :song range Green same as require 
when click on song then song play as per question 

=================== */

/* background */
@keyframes innovativ {
  0% {
    transform: translateX(-25%);
  }
  100% {
    transform: translateX(25%);
  }
}

.bg {
  animation: innovativ 12s ease-in-out infinite alternate;
  background-image: linear-gradient(
    -80deg,
    rgb(0, 168, 146) 50%,
    rgb(24, 9, 235) 50%
  );
  bottom: 0;
  left: -50%;
  opacity: 1;
  position: fixed;
  right: -50%;
  top: 0;
  z-index: -1;
}

/* .bg2 {
  animation-direction: alternate-reverse;
  animation-duration: 23s;
}

.bg3 {
  animation-duration: 24s;
} */

/* set background theme */
:root {
  --music-themes-background-image: linear-gradient(
    90deg,
    #9908fa,
    #eef10d,
    #0ed640
  );
}

/* set all header margine 0px */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0px;
}
/* removing all the styles from the links and formatting them white */
a {
  text-decoration: none;
  color: white;
}
/* ================
top navigation bar
=================== */
.navigation-bar {
  height: auto;
  width: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  padding-left: 5%;
  padding-right: 5%;
  transition: all ease-in-out 1s; /* when the navbar loads, every property transits for 1s */
}

/*================================
 all the divs inside the navigation bar should 
 be placed side by side=================*/
.navigation-bar > div {
  display: inline-block;
}

/* ==============
website logo animation
================== */
@keyframes popup {
  75% {
    transform: scale(1.1);
  }
  100% {
    transform: scaleX(1);
  }
}

/* ========website logo image style=========== */
.website-logo img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  animation-name: popup;
  animation-timing-function: ease-in-out;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

/* ======
website heading style
========== */
.website-name h4 {
  color: rgb(239, 252, 236);
}
/*======= website title and general description ===*/
.title-combo > div {
  vertical-align: middle;
  display: inline-block;
}

/*======== favourites text ==========*/
.favs {
  color: blanchedalmond;
}

/* =======search bar =======*/
.search-bar {
  width: 20%;
  position: relative;
}
/*========= 
search bar 
=======*/
.search-bar input {
  width: 100%;
  font-size: 16px;
  text-decoration: none;
  border-radius: 18px;
  border: none;
  padding: 5px;
  font-weight: 500;
  text-align: center;
}
/* =====search icon for input bar ==*/
.search-ico {
  color: black;
}
/* =mic icon for input =*/
.mic-ico {
  color: black;
}
/* search icon */
.search-bar > div:nth-child(1) {
  display: inline-block;
  position: absolute;
  width: min-content;
  left: 5%;
  top: 10%;
}
/* mic icon */
.search-bar > div:nth-child(3) {
  display: inline-block;
  position: absolute;
  width: min-content;
  right: 0%;
  top: 10%;
}

/* notification bell image */
.notification-bell i {
  width: 40px;
  height: 30px;
  position: first;
}
/* profile picture of the user */
.profile-picture img {
  width: 45px;
  height: 45px;
  border-radius: 100%;
}
/* navigation bar is completed here */

/* main */
main {
  width: 100%;
  padding: 0% 3%;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  transition: all ease-in-out 1s;
}
/* style aside sections  */
.aside {
  display: inline-block;
  overflow: hidden;
}
/* section one of the main part */
.section-1 {
  width: 70%;
  height: 86vh;
  overflow: scroll;
  overflow-x: hidden;
}
/* hide scroll bar overflow should be scrollable */
.section-1::-webkit-scrollbar {
  display: none;
}
/* section 2 of the main part */
.section-2 {
  width: 28%;
  height: 86vh;
}
/* aside section 1 */
.outer-carousel {
  position: relative;
  left: 8vw;
  margin-top: 5%;
  transition: all ease-in-out 1s;
}
/*==========================
 carousel 3 image style
 ======================= */
.carousel {
  position: absolute;
  left: 4%;
  width: 70%;
  height: auto;
  display: flex;
  flex-direction: row;
  overflow: visible;
  justify-content: space-around;
}

/* style for images in carousel */
.carousel img {
  height: 15vw;
  width: 22.5vw;
  transition: all cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s;
}

/* style for image left right the carousel */

.carousel img:nth-child(1) {
  position: relative;
  left: 41vw;
  z-index: 1;
}
/* ============================
image which is in the middle of the carousel
================================== */
.carousel img:nth-child(2) {
  z-index: 3;
}
/* third image in the carousel */

.carousel img:nth-child(3) {
  position: relative;
  right: 41vw;
  z-index: 2;
}

/* animations for carousel */

.carousel img:hover {
  z-index: 4;
  box-shadow: 0px 0px 12px 2px green;
  height: 18vw;
  width: 27vw;
}

/*===== latest realese Style =======*/
/* click on the latest release paly icon or play now then song play */
.latest-release-content .song-number .play-btn {
  position: relative;
  width: 20%;
  top: 20%;
  right: 10%;
  text-align: center;
  font-size: 2.2rem;
}
.latest-release-content .song-number .play-box {
  display: inline-block;
  width: 50%;
  text-align: center;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  visibility: hidden;
  color: #a70591;
}

.latest-release {
  position: relative;
  top: 20vw;
  height: auto;
  width: 100%;
  box-sizing: border-box;
}
/* container of the latest release part should be of type flex */
.latest-release-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}
/*===== all the components of the latest release part =====*/
.latest-release-content > div {
  height: 100px;
  width: 47%;
  margin: 5px 0px;
}

/* this is the play button which will be visible only on hover */
.play-button {
  width: 100%;
  height: 65%;
  position: relative;
  top: -105%;
  color: rgba(230, 217, 248, 0.979);
  background-color: rgba(240, 13, 210, 0.1);
  font-size: 0px;
  padding-top: 15%;
  text-align: center;
  z-index: 5;
  transition: all ease-in-out 0.1s;
}
/* actual play icon from font awesome */
.play-button i {
  padding-top: 45%;
}
/* hovering effect for the play button */
.play-button i:hover {
  color: rgba(246, 236, 248, 0);

  background-color: rgba(12, 12, 11, 0.5);
}
/* description song-number, song name and singer */
.song-description {
  margin: auto 10%;
}

/* options is the class for the 3 dots which needs to be clicked to trigger the latest release drop down menu */
.options {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap-reverse;
  text-align: left;
  margin-left: auto;
  margin-right: 2%;
  margin-top: 2%;
}
/* this is for the latest release drop down menu */
.latest-release-dropdown {
  position: absolute;
  background-color: rgb(10, 163, 35);
  background-image: linear-gradient(rgb(0, 174, 255), purple);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  text-align: left;
  opacity: 0;
  width: 0px;
  height: 0px;
  top: 20px;
  right: 0px;
  overflow: hidden;
  z-index: 2;
  border: 1px solid black;
  box-shadow: 0px 0px 2px 1px black;
  /* transition: all ease-in-out 0s; */
}

/* icon in the latest release drop down */
.fa-ellipsis-h {
  cursor: pointer;
}
/* this input is for the latest release drop down */
input[type="checkbox"] {
  display: none;
}
/* checking it, will trigger the latest release dropdown */
input[type="checkbox"]:checked ~ .latest-release-dropdown {
  width: max-content;
  height: auto;
  opacity: 1;
  padding: 5px;
}
/* options in the lastest release drop down */
ul {
  list-style: none;
  text-align: left;
}
/* popular artists */
.popular-artists {
  position: relative;
  width: 100%;
  height: auto;
  top: 26vw;
  box-sizing: border-box;
}
/* container of the popular artists */
.popular-artist-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
/* images in the popular artists section */
.popular-artists div a img {
  width: 10vw;
  min-width: 60px;
  min-height: 60px;
  height: 10vw;
  border-radius: 50%;
}
/* content of the container in popular artists section */
.popular-artists > div {
  /* position: relative; */
  margin: 5px;
  text-align: center;
}
/*======================
 Popular artist div 
 ========================*/
.popular-artist-content > a > div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.popular-artist-content > a > div > div {
  position: absolute;
  display: flex;
  top: 0px;
  width: 10vw;
  min-width: 60px;
  min-height: 60px;
  height: 10vw;
  border-radius: 50%;
  background-color: rgb(0, 0, 0);
  opacity: 0;
  transition: opacity ease-in-out 0.1s;
}
/* additional icons in this section */
.popular-artist-content a div div i {
  margin: auto;
  font-size: 3vw;
  opacity: 0;
  transition: opacity ease-in-out 0.2s;
}
/* added hovering effects */
.popular-artist-content a div div:hover {
  opacity: 0.5;
}
.popular-artist-content a div div:hover i {
  opacity: 1;
}
/* text portion in popular artists section */
.popular-artists div p {
  text-align: center;
}
/* =======================================
music themes style
==============================*/
.music-themes {
  position: relative;
  top: 28vw;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  background-image: var(--music-themes-background-image);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
/* stations */
.stations {
  margin-top: 30px;
  margin-bottom: 30px;
  margin-right: 10px;
}
/* these divs are for the colourful boxes in the themes section */
#div1 {
  width: 12vw;
  height: 8vw;
  background-color: rgba(250, 24, 16, 0.993);
}
#div2 {
  position: relative;
  top: -1vw;
  left: 1vw;
  width: 10vw;
  height: 10vw;

  background-color: rgb(238, 144, 214);
}
#div3 {
  position: relative;
  top: -1vw;
  left: 1vw;
  width: 8vw;
  height: 12vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgb(68, 0, 255);
  animation-name: popup;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1s;
}
/* logo in the outermost div */
#div3 img {
  width: 5vw;
  height: 5vw;
}
/* "stations" text */
#div3 p {
  font-size: 2vw;
}
/* images in the music themes section */
.music-themes div img {
  width: 8vw;
  height: 8vw;
  border-radius: 50%;
}
/* this is the sub content of the themes section */
.theme-content {
  margin: 3%;
  height: 8vw;
  width: 8vw;
  text-align: center;
  border-radius: 100%;
}
/* text within the themes section */
.theme-content p {
  text-align: center;
  position: relative;
  top: -8.25vw;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  font-size: 2vw;
  background-image: linear-gradient(
    0deg,
    rgb(201, 200, 185) -66%,
    rgba(0, 0, 0, 0)
  );
  transition: background-image 0.3s;
}
/* hovering effects on the contents of the divs inside the themes container */
.theme-content p:hover {
  background-image: linear-gradient(
    0deg,
    rgb(255, 50, 10) -66%,
    rgba(0, 0, 0, 0)
  );
}
/*======start to make container for theme contents */
.theme-main {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}

/* music themes -2 */
/*  themes */
.music-themes-2 {
  position: relative;
  top: 30vw;
  height: auto;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
/* this outer div contains the inner div and the image and text */
.outer-div {
  width: 19.5vw;
  height: 13vw;
  overflow: hidden;
  min-width: 123px;
  min-height: 82px;
  margin: 5px;
  cursor: pointer;
}
/* inner div portion */
.inner-div {
  width: 100%;
  height: 100%;
  background-color: black;
  background-position: center;
  background-size: cover;
  transition: all ease-in-out 0.3s;
}
/* themes section  image add*/
/* BirthDay */
.music-themes-2 .outer-div:nth-child(1) .inner-div {
  background-image: url("media/music_themes2/cake.jpg");
}
/* instrument */
.music-themes-2 .outer-div:nth-child(2) .inner-div {
  background-image: url("media/music_themes2/flute.jpg");
}
/* Traval */
.music-themes-2 .outer-div:nth-child(3) .inner-div {
  background-image: url("media/music_themes2/road.jpg");
}
/* background image should be scaled up at the same time gap */
.outer-div:hover .inner-div {
  transform: scale(1.3);
}
.outer-div .inner-div span {
  transform: scale(1);
  transition: all ease-in-out 0.3s;
}
.outer-div:hover .inner-div span {
  transform: scale(0.75);
}
.inner-div::before {
  content: "";
  display: none;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.3s;
}
/* adjusting inner div properties */
.inner-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.outer-div .inner-div span {
  color: white;
  font-size: 2vw;
}

/* =================language song section ==========================*/
.language {
  position: relative;
  top: 31vw;
  height: auto;
  width: 100%;
  box-sizing: border-box;
  margin: 3vw 0px;
}
/* language content container */
.language-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  padding: 0px 2px;
}
/* image in language content */
.language-content div img {
  width: 10vw;
  min-width: 60px;
  height: 10vw;
  min-height: 60px;
  transition: box-shadow ease-in-out 0.1s;
}
/* hovering effects on language content items */
.language-content div img:hover {
  box-shadow: 0px 0px 10px 1px white;
}
/* items in language content */
.language-content div {
  margin: 2vw 0px;
  width: 10.2vw;
  min-width: 60px;
}
/* properties for release date and name of the song */
.language-content div p:nth-child(2n) {
  width: 100%;
  word-wrap: break-word;
}
.language-content div p:nth-child(2n + 1) {
  font-size: 12px;
  font-weight: lighter;
}

/* menu button */
label[for="more"] {
  display: none;
  position: absolute;
  right: 0%;
  top: 20%;
  padding-bottom: 5px;
  z-index: 4;
  width: 70px;
  font-size: 20px;
  height: 25px;
  text-align: center;
  box-shadow: 0px 0px 2px 1px white;
  background-image: linear-gradient(
    45deg,
    rgb(19, 18, 18) -50%,
    rgb(0, 255, 85) 150%
  );
}

/* menu button normal resolution, its display will be none */
label[for="more"]:checked ~ input {
  display: none;
}
/* ASIDE SECTION 2 */
.heading {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12%;
}
/*+ heading for the second aside section 
Queue and Queue logo*/
.heading h4 a {
  text-decoration: none;
  color: greenyellow;
}
/* ============
the queue options box will be visible when 
one clicks on the queue button 
========================*/
.queue-options {
  position: fixed;
  right: 4%;
  top: 14%;
  background-color: #f8f9fa;
  width: 10%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 1%;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 2;
  opacity: 0;
  transform: scale(0);
  transition: all ease-in-out 0.25s;
}
/* when the queue option box becomes target */
#queue-option-box:target {
  opacity: 1;
  transform: scale(1);
}
.queue-options {
  color: black;
}
.queue-options p {
  text-align: center;
}
.queue-options p a {
  text-decoration: none;
}
/* horizontal line in queue options box */
hr {
  width: 90%;
  color: black;
}

/* playlist content */
.playlist-content {
  width: 100%;
  height: 75vh;
  display: flex;
  flex-direction: column;
  overflow: scroll;
  cursor: pointer;
}
/*queue playlist content container scroll bar */
.playlist-content::-webkit-scrollbar {
  display: none;
}
/*=============================
 Start left content contains the
 image, index and name of the song 
 ==================================*/
.left-content {
  display: flex;
  height: 100%;
  width: 70%;
  flex-direction: row;
  flex-wrap: no-wrap;
  justify-content: space-between;
  align-items: center;
}
.left-content > div:nth-child(3) {
  margin-left: 12px;
  width: 50%;
  word-wrap: break-word;
}
/*style right content contains the heart icon */
.right-content {
  position: relative;
  bottom: 62%;
  left: 90%;
  width: min-content;
  height: 20px;
  color: white;
  font-size: 20px;
}
.right-content i {
  transition: all ease-in-out 0.1s;
}

/* playlist image song style */
.playlist-item {
  width: 90%;
  height: auto;
  padding: 0px 1%;
  box-sizing: border-box;
  margin: 1%;
}

/* hover effect on heart */
.playlist-item:hover .fa-heart {
  animation-name: popup;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1s;
}
/* playlist items hover effect use :hover  */
.playlist-item:hover {
  box-shadow: 0px 0px 2px 1px white;
}
/* playlist item image style*/
.playlist-item img {
  width: 80px;
  height: 80px;
}
/* this will cover the playlist image. this can be called as a container for half of the items in the left part */
.coverer {
  width: 80px;
  height: 80px;
}

/* hovering effect for the list item */
.list-item {
  width: 100%;
  height: 100px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 12px;
}
/*song in latest release section hover play icon */
.list-item > div:nth-child(1) {
  width: 100px;
  height: 100%;
  position: relative;
}
.list-item > div:nth-child(1) > img {
  width: 100%;
  height: 100%;
}
.play-btn {
  background-color: black;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0%;
  left: 0%;
  opacity: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  transition: all ease-in-out 0.1s;
}
/* on hover effects for play song
===============================================
Latest release play song click on hover icon and footer open song bottom
========================================*/
.play-btn:hover {
  opacity: 0.7;
}

/* Footer section starts here*/

footer {
  position: absolute;
  bottom: 1px;
  width: 100%;
  height: 60px;
  background-color: #111110;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: center;
  flex-wrap: nowrap;
  padding: 0px 3%;
  box-sizing: border-box;
  z-index: 6;
  visibility: hidden;
}

#bottomplayer:target {
  visibility: visible;
}

.active-song-description {
  height: 90%;
  width: 25%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
/*This is the image latest song play on bottom*/
#song-image {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
}
/* play song bottom image */
#song-image img {
  width: 100%;
  height: 100%;
}
/* heart and ban icon in bottom section */
.heart-and-ban-icon {
  height: 100%;
  padding-top: 4%;
}
.heart {
  animation-name: ban;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 2.5s;
}
@keyframes ban {
  0% {
    color: rgb(179, 6, 6);
  }
  100% {
    color: rgb(16, 117, 6);
  }
}

.ban {
  animation-name: ban;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1s;
}

/* song decscription */
.song-desc {
  margin-right: 1%;
  margin-left: 1%;
}
/* song name */
.song-desc div:nth-child(1) {
  font-size: 14px;
}
/* song author */
.song-desc div:nth-child(2) {
  font-size: 12px;
}

/*Second part of the footer all song play icon*/
.player {
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}
/* controls of the player */
.controls {
  width: 40%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
}
/* this is the song-duration slider */
#slider {
  width: 100%;
  font-size: 12px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}

.time {
  margin: 0px 10px;
}

/* adjusting the slider for better visuals */
.slidecontainer {
  width: 100%;
}

.musics {
  animation-name: popup;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1s;
}

/* part of the footer */

/* this is also a container */
.extras {
  width: 20%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
/* ==========================
make slider play song range green
==================== */
#slider {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6rem;
}
#slider input[type="range"] {
  width: 88%;
  font-size: 5px;
  -webkit-appearance: none;
  background: rgb(90, 88, 88);
  /* border-radius: 15%; */
  border-bottom-left-radius: 20%;
  border-bottom-right-radius: 20%;
  border-top-left-radius: 20%;
  border-top-right-radius: 20%;
  overflow: hidden;
}
#slider input[type="range"] {
  outline: none;
}
#slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background-color: rgb(226, 217, 217);
  height: 10px;
  width: 10px;
  border-radius: 60%;
  box-shadow: -1000px 0 0 1000px green;
}
#slider input[type="range"]::-moz-range-progress {
  background-color: green;
}
#slider input[type="range"]::-ms-fill-lower {
  background-color: green;
}
