:root {
    --gris: #535353;
    --gris-2: #222222;
    --gris-2-trasluz: #22222285;
    --gris-oscuro: #1C1C1C;
    --verde: #1ED55F;
    --letras: #C5C5C5;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    display: flex;
    flex-direction: column;
    background: var(--gris-oscuro);
    color: var(--letras);
    font-family: Arial, Helvetica, sans-serif;
    border-left: .5rem solid var(--verde);
}
  
body {
    min-height: 100vh;
    border-left: none;
}

.custom-modal {
    background: linear-gradient(var(--gris), var(--gris-2));
    color: var(--letras);
}

.custom-confirm-btn {
    background-color: var(--gris-oscuro); 
    color: var(--letras); 
    border-radius: 5px; 
    border: none; 
    padding: 10px 20px; 
    font-size: 16px; 
    transition: background-color 0.3s ease; 
}
  
.custom-confirm-btn:hover {
    background-color: var(--gris); 
}

.contenido-principal {
    flex: 1;
}

header {
    background: linear-gradient(var(--gris), var(--gris-2));
    padding: 3rem;
}

.header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.header-section input {
    background-color: var(--gris-2);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    height: 3rem;
    width: 10rem;
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
  
.header-section input:hover {
    background-color: var(--gris); 
    transform: scale(1.1);
}

.bx.bxs-music {
    font-size: 3rem;
    margin-bottom: .8rem;
}

#logo {
    height: 3em;
}

.perfil {
    padding: 1em;
}

.perfil h5 {
    color: white;
    font-weight: bold;
}

.perfil h2 {
    font-size: 2em;
    color: white;
    padding: 10px 0;
}

.listado {
    padding: 3rem;
}

.listado h3 {
    margin-bottom: 2.5rem;
    font-size: 1.7rem;
}

.covers {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 2rem;
    list-style: none;
    padding-left: 50px;
}

.covers button{
    background-color: transparent;
    border: none;
    color: white;
    padding: 0.2rem;
    cursor: pointer;
    display: inline-block;
    margin-left: auto;
}

.lista-vacia {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05);
    color: #bbb;
    font-size: 1.5rem;
    border-radius: 10px;
    font-style: italic;
    min-height: 200px;
}


li {
    width: 15%;
    border-radius: 5px;
    padding: 1.5rem;
    background-color: var(--gris-2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(22, 22, 22, 0.1);
}

li:hover {
    background-color: var(--gris-2-trasluz);
    transform: scale(1.12);
}

li img {
    width: 100%;
    height: 200px;
    margin-bottom: 1em;
    object-fit: cover;
}

.covers li i {
    position: relative;
    left: 90%;
    cursor: pointer;
}

.covers li i:hover {
    opacity: 0.7;
}

.covers li i:active {
    opacity: 1;
}

.favorito {
    color: var(--verde);
}

footer{
    background: linear-gradient(var(--gris-2), var(--gris));
    height: auto;
    padding: 1rem;
    text-align: center;
}

footer p {
    padding: 1.8rem;
    font-size: 1.3rem;
}

/*Responsive*/
@media (max-width: 1024px) {
    .header-section {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
  
    .covers {
      padding-left: 0;
      justify-content: center;
    }
  
    li {
      width: 30%;
    }
  }
  
  @media (max-width: 600px) {
    header {
      padding: 2rem;
    }
  
    .perfil h2 {
      font-size: 1.5rem;
    }
  
    .header-section input {
      width: 60%;
      margin: auto;
      height: 2.5rem;
      font-size: 0.9rem;
    }
  
    li {
      width: 80%;
    }
  
    .listado {
      padding: 2rem 1rem;
    }
  
    .listado h3 {
      font-size: 1.3rem;
      text-align: center;
    }
  
    .covers {
      gap: 1rem;
      padding-left: 0;
      justify-content: center;
    }
  
    .lista-vacia {
      font-size: 1.2rem;
    }
  
    footer p {
      font-size: 1rem;
      padding: 1rem;
    }
  }
  
