
/* Box cliccabile trasparente, bordo nero, posizione e dimensioni in % */
.link-box {
  position: absolute;
  top: 40%;   /* Modifica per cambiare la posizione verticale */
  left: 12%;  /* Modifica per cambiare la posizione orizzontale */
  width: 20%;   /* Larghezza responsiva */
  height: 15%;  /* Altezza responsiva */
  min-width: 12px;
  min-height: 8px;
  max-width: 180px;
  max-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff00;
  background: rgba(255, 255, 255, 0); /* Quasi trasparente */
  color: #ffffff00;
  font-size: 1.3vw;
  font-family: 'Helvetica Neue', sans-serif;
  text-decoration: none;
  border-radius: 16px;
  z-index: 300;
  transition: box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}
.link-box:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  border-color: #0073e6;
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  background: url('assets/sfondo.jpeg') no-repeat center center fixed;
  background-size: cover;
  color: #111;
  min-height: 100vh;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

#audio-bar {
  position: absolute;
  top: 87%;
  left: 48.5%;
  transform: translate(-50%, -50%);
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  gap: 0;
  z-index: 100;
}

#audio-bar audio {
  width: 30vw;
  min-width: 180px;
  max-width: 400px;
  background: none;
  box-shadow: none;
  border: none;
}

#track-cover {
  position: absolute;
  top: 38%;
  left: 48%;
  transform: translate(-50%, -50%);
  width: 18vw;
  height: 18vw;
  max-width: 350px;
  max-height: 370px;
  min-width: 160px;
  min-height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  z-index: 101;
}

#track-title {
  position: absolute;
  top: 60%;
  left: 48%;
  transform: translate(-50%, -50%);
  width: 40vw;
  max-width: 700px;
  min-width: 180px;
  height: auto;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2vw;
  font-family: 'Permanent Marker', cursive;
  font-weight: normal;
  color: #111;
  text-shadow: 0 2px 8px rgba(255,255,255,0.5);
  z-index: 102;
  pointer-events: none;
  margin: 0 auto 16px auto;
}

.show-spotify-msg, #spotify-msg {
  position: absolute;
  top: 60%;
  left: 48%;
  transform: translate(-50%, -50%);
  font-size: 2.0rem;
  font-family: 'Permanent Marker', cursive;
  color: #111;
  text-shadow: 0 2px 8px rgba(255,255,255,0.5);
  z-index: 200;
  pointer-events: none;
}

footer {
  margin-top: 60px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  color: #0073e6;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  #track-cover {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 24px auto 16px auto !important;
    width: 60vw;
    height: 65vw;
    max-width: 95vw;
    max-height: 70vw;
    min-width: 100px;
    min-height: 110px;
    display: block;
  }
  #audio-bar {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 24px auto 16px auto !important;
    width: 100vw;
    justify-content: center;
    align-items: center;
    display: flex;
  }
  #audio-bar audio {
    width: 70vw;
    min-width: 120px;
    max-width: 95vw;
  }
  #track-title {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 24px auto 16px auto !important;
    width: 80vw;
    font-size: 5vw;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
