@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,300;0,400;0,700;1,400&display=swap');

body {
  height: 100vh;
  background-image: url(img/fondo.png);
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  font-family: 'IBM Plex Mono';
  font-size: 20px;
}

.container {
  width: 50%;
  height: 80%;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  padding: 3%;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
  border-radius: 7%;
}

header {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: center;
  height: 67%;
}

.imagenArtista {
  height: 300px;
  width: 300px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.barra,
.barraVolumen {
  width: 100%;
  cursor: pointer;
}

.tiempos {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 2%;
  height: 0;
}

.iconos {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 9%;
  justify-content: center;
  font-size: 30px;
  gap: 18px;
  width: 100%;
  height: 0;
}

.iconos > p {
  cursor: pointer;
}

.media {
  display: flex;
  position: absolute;
  margin-right: 13%;
  font-size: 40px;
}

.controles{
  display: flex;
  font-size: 50px;
  height: 30px;
  justify-content: center;
  align-content: center;
  align-items: center;
  margin-top: 19%;
}
.volumen {
  display: flex;
  align-items: center;
  margin-left: 70%;
  margin-top: 2%;
}

.song-list-container {
  margin-top: 2%;
}

.lista{
  width: 86%;
}
/* Estilos para la lista de canciones */
.song-list {
  list-style: none;
  padding: 0;
}

.song-list li {
  margin: 5px;
  cursor: pointer;
  padding: 5px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.song-list li:hover {
  background-color: #ccc;
}

.pagination {
  text-align: center;
}

.prev-next, .pagination a {
  display: inline-block;
  margin: 5px;
  padding: 10px;
  background-color: #007BFF;
  color: #fff;
  text-decoration: none;
  border: 1px solid #007BFF;
  border-radius: 5px;
}

.prev-next:hover, .pagination a:hover {
  background-color: #0056b3;
}

.pagination .active {
  font-weight: bold;
  color: #007BFF;
  background-color: #fff;
}

.iconos p:hover {
  color: rgb(255, 255, 255);
  cursor: pointer;
}

.iconos p:active {
  color: rgb(0, 0, 0);
  cursor: pointer;
}



.rotating {
  animation: spin 10s linear infinite;
}

@media (max-height: 768px) {
  body {
    height: 100vh;
    /*background-image: url(img/fondo.png);*/
    
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-family: 'IBM Plex Mono';
    font-size: 15px;
  }
  header>img{
    height: 100px;
    width: 100px;
  }

  .container {
    width: 50%;
    height: 85%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 3%;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    border-radius: 7%;
  }
  .barra,
  .barraVolumen {
  width: 100%;
  cursor: pointer;
}
.media {
  display: flex;
  position: absolute;
  margin-right: 13%;
  font-size: 40px;
}

.controles{
  display: flex;
  font-size: 50px;
  height: 30px;
  justify-content: center;
  align-content: center;
  align-items: center;
  margin-top: 19%;
}
.volumen {
  display: flex;
  align-items: center;
  margin-left: 70%;
  margin-top: 2%;
}
  .lista {
    margin-top: 3%;
    margin-bottom: 2%;
  }

  .song-list {
    list-style: none;
    padding: 0;
  }
  
  .song-list li {
    margin: 5px;
    cursor: pointer;
    padding: 5px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .song-list li:hover {
    background-color: #ccc;
  }
  
  .pagination {
    text-align: center;
  }
  
  .prev-next, .pagination a {
    display: inline-block;
    margin: 5px;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border: 1px solid #007BFF;
    border-radius: 5px;
  }
  
  .prev-next:hover, .pagination a:hover {
    background-color: #0056b3;
  }
  
  .pagination .active {
    font-weight: bold;
    color: #007BFF;
    background-color: #fff;
  }
  
  .iconos p:hover {
    color: rgb(255, 255, 255);
    cursor: pointer;
  }
  
  .iconos p:active {
    color: rgb(0, 0, 0);
    cursor: pointer;
  }
}

