@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* --primary-color-opacity: #176cff79;  ESTE COLOR ANTERIOR*/
:root {
    --primary-color: #176CFF;
    --nav-color: #ffffff;
    --nav-color-active: #FFD700;
    --nav-color-hover: #00a1e7;
    --primary-color-opacity: #00000079;
    --primary-color-opacity2: #021e4dbb;
    --text-color-primary: #ffffff;

    --font-size-title: 15pt;
    --font-size-p: 10pt;
    --font-size-submenu: 11pt;
    --background-submenu: #00000079;
    --border-radius: 5px;
    --border: solid #0077ff 1.5px;
}

/* .menu-f{
    position: fixed;
    z-index: 5;
} */
body {
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-color);
}

main {
    padding: 50px 50px 145px 50px;
}
button {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    padding: 0;
    margin: 0;
    text-decoration: none;
    cursor: pointer;
}
/* Estilo general para el scrollbar */
::-webkit-scrollbar {
    width: 1px;
    /* Ancho más delgado */
    height: 1px;
    /* Altura más delgada para scroll horizontal */
}

/* Fondo del track (oculto) */
::-webkit-scrollbar-track {
    background: transparent;
    /* Sin color de fondo */
}

/* Estilo del "pulgar" (thumb) del scrollbar */
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #089bba, #176cff);
    /* Degradado */
    border-radius: 10px;
    /* Esquinas redondeadas */
}

/* Hover sobre el "pulgar" */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #176cff, #089bba);
    /* Invertir el degradado al hacer hover */
}

h2 {
    font-size: 20pt;
    color: var(--text-color-primary);
}

h1 {
    font-size: 30pt;
    text-transform: uppercase;
    font-weight: 900;
    font-style: italic;
    color: var(--text-color-primary);
}

.header_text {
    display: flex;
    flex-direction: column;
    color: var(--text-color-primary);
}

.header_text h2 {
    margin-bottom: 0;
}

.header_text h1 {
    margin-top: 0;
    color: var(--nav-color-active);
}

.header_text p {
    margin: 20px 0 30px 0;
}



h3 {
    text-transform: capitalize;
}


.pag2 {
    z-index: 1;
}


.pag1 {
    display: flex;
    position: absolute;
    z-index: 0;
}



/* css/animations.css */

@keyframes fadeInKevin {
    from {
        opacity: 0;
        /* transform: translateX(20px); */
    }

    to {
        opacity: 1;
        /* transform: translateX(0); */
    }
}

@keyframes fadeOutKevin {
    from {
        opacity: 1;
        /* transform: translateX(0); */
    }

    to {
        opacity: 0;
        /* transform: translateX(-20px); */
    }
}

.fadeInKevin {
    animation: fadeInKevin 0.4s ease forwards;
}

.fadeOutKevin {
    animation: fadeOutKevin 0.3s ease forwards;
}

/* =========================
   MINI PLAYER (HORIZONTAL)
   ========================= */
#mini-player {
  position: fixed;
  display: flex;
  justify-content: center; /* Centra el contenido horizontalmente */
  align-items: center; /* Centra el contenido verticalmente */
  bottom: 14px;
  left: 0;
  right: 0;
  z-index: 9998;
  width: min(980px, calc(100% - 24px)); /* Se adapta al ancho de la pantalla */
  margin: 0 auto; /* Asegura que el contenedor se centre */
  border-radius: 14px;
  overflow: hidden;
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* Fondo con cover actual */
#mini-player .mini-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(14px);
  transform: scale(1.1);
  opacity: 0.95;
}

/* Overlay de colores */
#mini-player .mini-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--primary-color-opacity2), var(--primary-color-opacity));
  backdrop-filter: blur(10px);
}

/* Estilo interior */
#mini-player .mini-inner {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  color: var(--text-color-primary);
}

/* Cover pequeño */
#mini-player .mini-cover {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.10) inset;
}

/* Estilo de los textos */
#mini-player .mini-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

#mini-player .mini-title {
  font-weight: 900;
  font-style: italic;
  color: var(--nav-color-active);
  font-size: 11.5pt;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#mini-player .mini-sub {
  font-size: 9.5pt;
  opacity: 0.92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#mini-player .mini-next {
  font-size: 9pt;
  opacity: 0.75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Botón Play estilo Home */
#mini-player .mini-play {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: none;
  background: var(--primary-color);
  color: var(--text-color-primary);
  cursor: pointer;
  display: grid;
  place-items: center;
}

#mini-player .mini-play:hover {
  box-shadow: 0 0 5px #0077ff, 0 0 20px #0077ff;
}

/* Botón cerrar */
#mini-player .mini-close-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-color-primary);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

#mini-player .mini-close-btn:hover {
  background: rgba(0, 0, 0, 0.35);
}

/* Estilo responsivo */
@media (max-width: 520px) {
  #mini-player {
    bottom: 10px;
    width: calc(100% - 16px);
    margin: 0 8px; /* Añade un pequeño margen en móviles */
    border-radius: 12px;
  }

  #mini-player .mini-inner {
    grid-template-columns: 46px 1fr 46px;
    padding: 10px 12px;
  }

  #mini-player .mini-cover {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }

  #mini-player .mini-play {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  #mini-player .mini-next {
    display: none; /* Oculta la siguiente canción en dispositivos pequeños */
  }
}

@media screen and (max-width: 768px) {
  main {
      padding: 50px 50px 145px 50px;
  }
  .header_text p{
    font-size: 10pt;
  }
  .header_text h1{
    font-size: 20pt;
  }
  .header_text h2{
    font-size: 15pt;
  }
  #mini-player {
    bottom: 150px;
    width: calc(100% - 16px);
    margin: 0 8px; /* Añade un pequeño margen en móviles */
    border-radius: 12px;
  }
}



/* INPUTS GENERALES */
input {
    background-color: transparent; /* Fondo transparente */
    color: var(--text-color-primary); /* Texto blanco */
    font-size: var(--font-size-p); /* Tamaño de fuente pequeño */
    padding: 8px 12px; /* Relleno dentro del input */
    border: var(--border); /* Borde azul */
    border-radius: var(--border-radius); /* Bordes redondeados */
    outline: none; /* Elimina el borde predeterminado al hacer foco */
    transition: background-color 0.3s ease, border-color 0.3s ease; /* Transición suave */
}

input:focus {
    background-color: var(--primary-color-opacity2); /* Fondo con opacidad cuando está en foco */
    border-color: var(--nav-color-active); /* Borde amarillo cuando está en foco */
}

input:hover {
    background-color: var(--primary-color-opacity); /* Fondo con opacidad al pasar el ratón */
    border-color: var(--nav-color-hover); /* Borde de color azul claro al pasar el ratón */
}
