:root {
  /* font sizes */
  --root-font-size: 16px;
  font-size: var(--root-font-size);

  /* font-families */
  --font-headline: "Roboto Mono", monospace;
  /* --font-family: "Lato", sans-serif; */
  --font-family: "Dancing Script", cursive;
  /* --font-family: "Playwrite GB S", serif; */

  /* COLORES MASOMENO' */
  --pink: #F072F2;
  --lightblue: #05F2F2;
  --lightbrown: #D9C0A3;
  --brown: #A67272;
  --lightgray: #F2F2F2;
}

body {
  /* background-color: var(--app-background-color); */
  background-color: black;
  font-family: var(--font-family);
  margin: 0;
  max-height: 100svh;
  box-sizing:content-box;
}

#bottom-album-art {
  z-index: -10;
  opacity: 0.6;
  height: 100svh;
  margin: 0;

  position: fixed;
  bottom: 0;
  z-index: -1;
  min-height: 100svh;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

h1 {
  font-size: 1.125rem;
  line-height: 1.6;
}

h2 {
  font-size: var(--root-font-size);
}

ul {
  margin: 0;
}

.container {
  height: 100svh;
  max-height: 99vh;
  margin: 0 auto;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.player {
  height: fit-content;
  width: fit-content;
}

.player span {
  height: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

#header {
  height: 13rem;
}

#vinyl-img {
  height:12rem;
  width: 12rem;
  background: url("./vinyl.png") no-repeat center;
  background-size: 11rem;
  margin: 0 auto;
}

#header img{
  position: relative;
  top: -12rem;
}

@keyframes vinyl-anim {
  100%{
    transform: rotate(360deg);
  }
}

.player-display-song-artist {
  height: 80px;
}

.player-buttons svg {
  /* fill: var(--primary-color); */
  fill: black;
  /* fill: #C1D7EE;
  fill: #F8D2DD; */
}

.player-buttons {
  /* background-color:#C1D7EE; */
  background-color: #f3c7d4;

  width: 80%;
  height: 3.5rem;
  border-radius: 3rem;
  max-width: 30rem;
  padding: 0 0.3rem;
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* flex-wrap: wrap; */
}

button {
  background: transparent;
  border: none;
  margin: 0;
  max-width: 3.5rem;
  /* color: var(--pink); */
  /* cursor: pointer; */
  /* font-size: var(--root-font-size); */
  /* text-align: center; */
}

.shuffled{
  /* background-color: var(--pink); */
  background-color: #f3c7d4;
  filter: brightness(1.2);
}

.player-buttons > button {
  /* margin: auto; */
  width: 3rem;
  height: 3rem;
  border-radius: 2rem;
}

/* .player-buttons:hover {
  animation: player-buttons-anim 0.2s ease-in-out;
} */

@keyframes player-buttons-anim {
  0%{
    /* scale: 0.9; */
    opacity: 0.4;
    /* background-color: white; */
  }
}

/* .player-buttons > button:focus {
  animation: click-anim 0.2s ease-in-out;
}














/* ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */
/* Playlist */



#playlist-songs::-webkit-scrollbar {
  width: 5px;
}

#playlist-songs::-webkit-scrollbar-track {
    /* temporal */
  background: var(--pink);
}

#playlist-songs::-webkit-scrollbar-thumb {
    /* temporal */
  background: var(--pink);
}


.playlist {
  height: fit-content;
  max-height: 40svh;
  max-width: 90vw;

  background-color: rgba(217, 192, 163, 50%);
  border-radius: 0.7rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 10px;
}

/*UL*/
#playlist-songs {
  max-width: 90vw;
  
  display: flex;
  flex-direction: column;
  /* row-gap: 8px; */
  padding: 5px;
  visibility: visible;
  justify-content: start;
  list-style: none;
  
  overflow-y: scroll;
  overflow-x: hidden;
  /* scrollbar-color: var(--pink)  transparent; */
  scrollbar-width: none;
}

.playlist-song {
  display: flex;
  height: 3rem;
  max-height: 4rem;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.5rem;
  border-radius: 0.5rem;
}

.playlist-song-info {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  column-gap: 7px;
  padding: 5px 0;
  color: black;
  max-width: 85vw;
  overflow: hidden;

  font-family: var(--font-family);
}

.playlist-song-info > .playlist-song-title {
  font-weight: bold;
}

[aria-current="true"] {
  background-color: var(--lightbrown);
}

[aria-current="true"] p {
    /* temporal */
  color: var(--pink);
}

#player-song-title,
#player-song-artist {
  margin: 0;
}

#player-song-artist {
  color: var(--pink);
  font-weight: bold;
  font-family: "Dancing Script", cursive;
}

#player-song-title {
  color: var(--lightblue);
  font-size: 1.125rem;
  font-family: "Dancing Script", cursive;
  font-weight: bold;
}

.playlist-song-title {
  font-size: 0.85rem;
  width: 241px;
  text-align: left;
}

.playlist-song-artist {
  font-size: 0.725rem;
  width: 80px;
}

.playlist-song-duration {
  font-size: 0.725rem;
  font-family: var(--font-headline);
  /* font-weight: 100; */
  opacity: 70%;
  width: 30px;
}

.playlist-song-delete {
  padding: 0;
  width: 20px;
  height: 20px;
}

.playlist-song-delete,
.playlist-song-delete {
    /* temporal */
  fill: var(--pink);
}

.playlist-song-delete:hover circle,
.playlist-song-delete:focus circle {
  fill: #ff0000;
}

#progress-bar{
  width: 20rem;
  height: 0.3rem;
  /* background: #ccc; */
  accent-color: #ff4081;
  margin: 0;
}

/* #volume{
  background-color: green;
} */


#volume *{
  margin: 0.4rem 0 0 0.3rem;
  /* background-color: red; */
}

#volume-bar-div{
  /* background-color: rgba(0, 0, 0, 0.5); */
  background-color: #f3c7d4;
  max-width: 70%;
  height: 0;
  overflow: visible;
  margin: 0 auto;

  display: none;
  justify-content: center;
  align-items: center;

  position: relative;
}

#volume-bar{
  width: 20rem;
  height: 1.3rem;
  /* background: #ccc; */
  accent-color: var(--lightblue);
  margin: 0;
}

#juanollo {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

#juanollo > a, #juanollo > a:visited {
  color: var(--lightbrown);
}

@media only screen and (min-width: 100vh) {
  body {
    scale: 0.95;
    margin: auto;
  }
  #juanollo {
    left: 30svw;
  }
  /* .playlist-song-title {
    cursor: pointer;
  } */
  .playlist-song-info:hover{
    cursor: pointer;
    scale: 1.02;
  }
  button:hover,
  #progress-bar:hover,
  #volume-bar:hover {
    cursor: pointer;
  }
  .player-buttons {
    scale: 0.8;
    margin: -1rem 0;
  }
  .player-buttons *{
    background-color: #f3c7d4;
  }
}

.playing {
  display: none;
}

.hiden {
  display: none;
}