/* Setting margins, paddings and box-sizing settings for all the elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* Font size will be reduced on 1068px device and lower */
@media only screen and (max-width: 1068px) {
  html {
    font-size: 12px;
  }
}

body {
  background-color: #1b1b1b;
  color: #fff;
  background-image: url("./images/background.jfif");
  background-size: cover;
}

/* Some general classes which are reused everywhere on page wherever needed */
.horizontal-list {
  list-style: none;
}

.horizontal-list li {
  display: inline-block;
}

a {
  text-decoration: none;
}

a:link {
  color: white;
}

a:visited {
  color: white;
}

a:hover {
  color: white;
}

a:active {
  color: white;
}

.flex-container {
  display: flex;
  display: -ms-flexbox;
  flex-wrap: wrap;
}

.round-image {
  border-radius: 50%;
}

input[type="checkbox"] {
  display: none;
}
/* General classes end here */

/* Nav Started Here*/
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  width: 100%;
  padding: 0 2%;
  position: sticky;
  background-color: #282828;
  top: 0;
  z-index: 1;
}

.nav-logo-section {
  align-items: center;
  justify-content: space-between;
  width: 40%;
}

.brand-logo-text {
  font-size: 1.4rem;
  margin-left: 1rem;
}

.nav-menu-section {
  justify-content: space-between;
  align-items: center;
}

.nav-item {
  margin: 0 10px;
}

.search-container {
  padding: 3px 8px;
  font-size: 1rem;
  border: 2px solid grey;
  color: grey;
  border-radius: 8px;
  width: fit-content;
}

#search-box {
  border: none;
  background-color: #1b1b1b;
  color: white;
  text-align: center;
  font-size: 1rem;
  width: 10vw;
}

#search-box:focus {
  outline: none;
}

.profile-pic {
  height: 50px;
}

.brand-logo {
  animation: rotate-image 5s linear infinite;
}
/* Animation which rotates the disc continuosly which is present in navigation logo */
@keyframes rotate-image {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Nav Ended Here */

/* Main Start Here */
main {
  margin: 0 4%;
  display: flex;
}

main section {
  margin: 3rem 0 1rem;
}

main section > h1 {
  margin-bottom: 1rem;
}

/* Section1 */
.section1 {
  flex-basis: 70%;
  height: calc(100vh - 135px);
  overflow: scroll;
  overflow-x: hidden;
  padding: 0 1.2rem;
}

/* overflow should be scrollable but the scroll bar should be hidden*/
.section1::-webkit-scrollbar {
  display: none;
}

/* Carousel Section */

.page_carousel {
  position: relative;
  margin: 3% 0;
  height: 240px;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  transition: all 1s;
  z-index: 1;
}

.page_carousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow-x: scroll;
}

.page_carousel::-webkit-scrollbar {
  display: none;
}

.carousel_item {
  width: 30%;
  min-width: 300px;
  height: 80%;
  transition: all 0.3s;
  z-index: 2;
  border-radius: 2px;
}

.page_carousel:hover .carousel_item {
  transform: scale(0.92);
  opacity: 0.5;
}

.page_carousel .carousel_item:hover {
  opacity: 1;
  z-index: 3;
  transform: scale(1.03);
  box-shadow: 0px 0px 6px 0px white;
}

/* Carousel Section ended */

/* Latest Release Section */
.latest-release > .main-flex {
  display: flex;
  flex-wrap: wrap;
}

.latest-release > .main-flex > .flex-container {
  justify-content: space-between;
  flex-basis: 48%;
  flex-grow: 1;
  height: auto;
  margin: 4px 12px 4px 0;
}

.latest_release_album {
  align-items: center;
  justify-content: flex-start;
}

.album_image {
  position: relative;
  height: 7rem;
  width: 7rem;
  background-size: contain;
}

.album_image_1 {
  background-image: url("./images/Images/popular-artist-7.jpg");
}

.album_image_2 {
  background-image: url("./images/Images/I'll Wait.jpg");
}

.album_image_3 {
  background-image: url("./images/Images/willow.jpeg");
}

.album_image_4 {
  background-image: url("./images/Images/qurantine clean.jpg");
}

.overlay-content {
  display: none;
}

.album_image:hover .overlay-content {
  cursor: pointer;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background-color: rgba(0, 0, 0, 0.65);
}

.album_details {
  margin-left: 16px;
}

.album_title {
  font-weight: bold;
  margin-bottom: 10px;
}

.album_release {
  font-weight: lighter;
  font-size: 0.8rem;
  color: silver;
}

.album_duration {
  position: relative;
}

.album_duration
  > #latest-release-checkbox-1:checked
  ~ #latest_release_dropdown1 {
  display: block;
}

.album_duration
  > #latest-release-checkbox-2:checked
  ~ #latest_release_dropdown2 {
  display: block;
}

.album_duration
  > #latest-release-checkbox-3:checked
  ~ #latest_release_dropdown3 {
  display: block;
}

.album_duration
  > #latest-release-checkbox-4:checked
  ~ #latest_release_dropdown4 {
  display: block;
}

.latest_release_dropdown {
  display: none;
  position: absolute;
  background-color: white;
  width: 140px;
  height: auto;
  top: 20px;
  right: 0;
  z-index: 2;
}

.latest_release_dropdown > ul {
  list-style: none;
  color: black;
}

.latest_release_dropdown > ul > li {
  padding: 8px 12px;
  width: 100%;
  border-bottom: 1px solid #1b1b1b;
  text-align: center;
}
/* Latest Release Section ended */

/* Popular Artist Section */
.popular-artists .flex-container {
  justify-content: space-around;
}

.artist-card {
  text-align: center;
  width: 18%;
  min-width: 90px;
  margin: 0 16px;
}

.artist-card h3 {
  font-weight: lighter;
  margin: 0.5rem 0;
}

.artist-card-image-container {
  overflow: hidden;
  position: relative;
  border-radius: 50%;
}

.artist-card-image-container img {
  display: block;
  width: 100%;
  height: auto;
}

.artist-card-image-container:hover .overlay-content {
  cursor: pointer;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0)
  );
  font-size: 2.5rem;
}
/* Popular artists section ended */

/* Music station */

.music-station {
  height: 220px;
  flex-direction: column;
  align-items: center;
  background-image: linear-gradient(to left, #131313, #283847, #131313);
  justify-content: space-around;
  overflow-x: scroll;
}

.music-station {
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow-y: scroll;
}

.music-station::-webkit-scrollbar {
  display: none;
}

.station-logo {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 16px;
}

.station-last-background {
  position: absolute;
  width: 200px;
  height: 120px;
  background-color: yellow;
}

.station-middle-background {
  position: absolute;
  width: 180px;
  height: 140px;
  background-color: yellowgreen;
}

.station-first-background {
  position: absolute;
  width: 160px;
  height: 160px;
  background-color: red;
  text-align: center;
}

.station-logo-image {
  width: 80%;
  height: 80%;
}

.station-text {
  font-size: 1.5rem;
}

.radio-station-item {
  position: relative;
  width: 150px;
  height: 150px;
  overflow: hidden;
  background-size: contain;
  background-position: center;
  margin: 0 16px;
}

.radio-station-item:hover .overlay-content {
  cursor: pointer;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.rs-item-1 {
  background-image: url("./images/Images/love.jpg");
}

.rs-item-1:hover .overlay-content {
  background-image: linear-gradient(
    to top,
    rgba(255, 192, 203, 0.644),
    rgba(255, 255, 255, 0.103)
  );
}

.rs-item-2 {
  background-image: url("./images/Images/office.jpg");
}

.rs-item-2:hover .overlay-content {
  background-image: linear-gradient(
    to top,
    rgba(46, 46, 46, 0.644),
    rgba(255, 255, 255, 0.13)
  );
}

.rs-item-3 {
  background-image: url("./images/Images/party.jpg");
}

.rs-item-3:hover .overlay-content {
  background-image: linear-gradient(
    to top,
    rgba(46, 46, 46, 0.644),
    rgba(255, 255, 255, 0.13)
  );
}

.rs-item-4 {
  background-image: url("./images/Images/pop.jpg");
}

.rs-item-4:hover .overlay-content {
  background-image: linear-gradient(
    to top,
    rgba(58, 56, 150, 0.644),
    rgba(255, 255, 255, 0.13)
  );
}

.rs-item-5 {
  background-image: url("./images/Images/retro.jpg");
}

.rs-item-5:hover .overlay-content {
  background-image: linear-gradient(
    to top,
    rgba(46, 46, 46, 0.644),
    rgba(255, 255, 255, 0.13)
  );
}

.rs-item-6 {
  background-image: url("./images/Images/workout.jpg");
}

.rs-item-6:hover .overlay-content {
  background-image: linear-gradient(
    to top,
    rgba(196, 56, 56, 0.644),
    rgba(255, 255, 255, 0.13)
  );
}

.music-genres {
  justify-content: space-between;
  margin: 3rem 0;
}

.music-genre-card {
  position: relative;
  width: 31.5%;
  height: calc((1.5vh - 1vw) * 10px);
  overflow: hidden;
}

.music-genre-card img {
  width: 100%;
  height: 100%;
  filter: brightness(60%);
  transition: 0.3s;
}

.music-genre-card:hover {
  cursor: pointer;
}

.music-genre-card > .overlay-content {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 2;
}

.music-genre-card:hover img {
  transform: scale(1.15);
  filter: brightness(90%);
}

.latest-music .flex-container {
  flex-wrap: nowrap;
  justify-content: space-between;
}

.song-card {
  width: 15%;
  min-width: 76px;
}

.song-image {
  position: relative;
}

.song-image img {
  display: block;
  width: 100%;
  height: auto;
}

.song-details h3 {
  font-weight: lighter;
  margin: 4px 0;
}

.song-details p {
  color: silver;
  font-size: 0.9rem;
}

.overlay-fade-content {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: opacity 0.3s;
  opacity: 0;
}

.song-image:hover .overlay-fade-content {
  cursor: pointer;
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Section2 */
#show_me {
  display: none;
  position: fixed;
  right: 0;
  font-size: 3rem;
  padding: 0.5rem 1rem;
  background-color: slategray;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.section2 {
  flex-basis: 30%;
  height: calc(100vh - 135px);
  overflow: scroll;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section2::-webkit-scrollbar {
  display: none;
}

.panel-close {
  display: none;
  font-size: 2rem;
  text-align: right;
  margin: 1rem 1rem 0 0;
}

.queue-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 94%;
  padding: 0 1rem;
  margin: 1rem 0;
  position: relative;
}

#queue-menu:checked ~ .queue-dropdown-menu {
  display: block;
}

.fa-chevron-down {
  margin-left: 6px;
}

.queue-dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  width: 160px;
  height: auto;
  top: 30px;
  right: 0;
  z-index: 2;
}

.queue-dropdown-menu > ul {
  list-style: none;
  color: black;
}

.queue-dropdown-menu > ul > li {
  padding: 16px 8px;
  width: 100%;
  font-weight: bold;
  color: #2323d1;
  border-bottom: 1px solid #1b1b1b;
  text-align: center;
  transition: all 0.2s;
}

.queue-dropdown-menu > ul > li label:hover {
  cursor: pointer;
}

.queue-dropdown-menu > ul > li:last-child {
  color: red;
}

.queue-dropdown-menu > ul > li:hover {
  cursor: pointer;
  padding: 16px 4px;
  font-size: 1.2rem;
  text-shadow: 0px 0px 3px silver;
}

.queue-item {
  display: flex;
  flex-direction: row;
  width: 90%;
  height: 100px;
  padding: 1rem 0.5rem;
  margin: 0.5rem 0;
  justify-content: space-between;
  align-items: center;
  transition: border 0.2s;
}

.queue-item:hover {
  cursor: pointer;
  border: 2px solid white;
}

.queue-item-left {
  display: flex;
  flex-direction: row;
  width: 70%;
  height: 70px;
  justify-content: space-around;
  align-items: center;
}

.song-number {
  font-weight: lighter;
}

.queue-song-image {
  position: relative;
  height: inherit;
}

.queue-song-image img {
  display: block;
  height: inherit;
  width: auto;
}

.queue-song-image:hover .overlay-content {
  cursor: pointer;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  font-size: 2.5rem;
}

.queue-item-right {
  display: flex;
  align-items: center;
  width: 20%;
  justify-content: center;
  font-size: 1.5rem;
}

.queue-item-right i:hover {
  color: red;
  cursor: pointer;
}

.queue-song-details p:last-child {
  color: silver;
  font-size: 0.9rem;
}

/* Main Ended Here */

/* Footer Started Here */
footer {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-around;
  position: sticky;
  bottom: 0;
  z-index: 10;
  height: 70px;
  width: 100%;
  transition: all 0.2s;
  background-color: #282828;
}

.player_song_section {
  display: flex;
  height: inherit;
  align-items: center;
  width: 20%;
  min-width: 200px;
}

.player_song_section .inner-flex {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.player_image {
  height: 80%;
  margin: 0 0.5rem 0 1rem;
}

.player_image img {
  height: 100%;
  width: auto;
}

/* 2. Second part of the footer*/
.music_player {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

.controls {
  width: 40%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
}

#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;
}

.slidecontainer {
  width: 100%;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #007bff;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #4caf50;
  cursor: pointer;
}

.extras {
  width: 20%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

/* Footer Ended Here */
/*# sourceMappingURL=main.css.map */
