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

/* Fonts vari */
.eb-garamond-font{
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto; 
  font-weight: 400;
  font-style: normal;
}

/* Stile del body */
body, html {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.txcenter{
    text-align: center;
}

h2{
    font-size: 3rem;
}

.big{
  font-size: 1.5rem;
}

a{
  color: #FF9001;
  font-weight: bold;
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
}
.spaceunder{
    margin-bottom: 4rem;
}

.bigspaceunder{
    margin-bottom: 6rem;
}

.bg1 {
  /* background-color: #e1e8dd; */
  background-color: #f5f5f5;
}

.bg2 {
  background-color: #036;
  /* background-color: rgb(115, 123, 184); */
}

.bg3 {
  background-color: #FF9001;
}

.txtlight {
  color: #f5f5f5;
}

.txtmedium{
  color: grey;
}

.txtdark {
  color: #036;
  /* color: rgb(115, 123, 184); */
}

.txtcolor {
  /* color: rgb(217, 90, 55); */
  color: #FF9001;
}

.txtitalic{
  font-style: italic;
}

.padup{
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.padlat{
  padding-left: 3rem;
  padding-right: 3rem;
}

@media (max-width: 600px) {
  h2{
    font-size: 2.4rem;
}

}


/* ----------------------------- HERO ----------------------------- */

/* .hero {
  background-image: url('img/Marcello52910web.png'); 
  height: 100vh;
  background-attachment: fixed;
  background-position: center bottom;
  background-size: cover;
  position: relative;
}

@media (max-width: 600px) {
  .hero {
    background-image: url('img/Marcello52910web.png'); 
    height: 100vh;
    background-position: center bottom;
    background-size: cover;
    background-attachment: scroll; 
    position: relative;
}

}
 */

 .hero {
  position: relative;
  height: 100vh;
  background-image: url('img/Marcello52910web.png');
  background-size: cover;
  background-position: center 0; /* Punto iniziale */
  background-attachment: scroll; /* Forziamo scroll per controllarlo con JS */
}


@media (min-width: 1300px) {
  .hero {
    background-image: url('img/Marcello52910webDesktop.png');
  }
}





/* Titolo centrato sopra l'immagine */
.hero-textbox {
  position: absolute;
  top: 27%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.hero-title {
    line-height: 1;
    color: #036;
    font-size: 5rem;
    text-align: center;
    /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); */
}

.hero-sub {
    line-height: 1.2;
    color: #151515;
    font-size: 2rem;
    text-align: center;
}



/* ----------------------------- BIO ----------------------------- */

.biobox {
    padding: 5%;
    /* background-color: #f5f5f5; */
}

.biotxt {
  line-height: 1.8;
  text-align: justify;
}

.uppercase {
  text-transform: uppercase;
}

.iconbox{
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap; 
}

.icon{
  width: 200px;
}

.spot{
margin-top: 40px;}

@media (max-width: 600px) {
  .spot{
    margin-bottom: 3rem;
    margin-top: 0px;
  }
}
/* ----------------------------- DISCOGRAPHY ----------------------------- */
.album{
    margin: auto;
    width: 60%;
    max-width: 600px ;
    min-width: 200px;
    cursor: pointer;
    transition: transform 0.3s;

}

.album:hover {
  transform: scale(0.99);
  border: 1px solid #FF9001;}
.data {
  font-weight: bolder;
}

.nome {
  font-size: 2rem;
  font-weight: bold;
}

@media (max-width: 600px) {
  .nome {
    font-size: 1.5rem;
    font-weight: bold;
  }

}

/* ----------------------------------- Mostra di più */
.container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  text-align: justify;
  padding: 3rem;
}

.text-container {
  position: relative;
  max-height: 1000px; /* Altezza massima iniziale */
  overflow: hidden;
  transition: max-height 0.5s ease-in-out; /* Aggiungi una transizione */
}

.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px; /* Altezza del gradient */
  background: linear-gradient(to bottom, rgba(0, 51, 102, 0),rgba(0, 51, 102, 0.12) 20%, #036);
  pointer-events: none;
  transition-duration: 0.5s;
}

button {
  display: block;
  margin: auto;
  padding: 10px 20px;
  background-color: #FF9001;
  color: #f5f5f5;
  border: none;
  cursor: pointer;
  border-radius: 100px;
  transition-duration: 0.2s;
}

button:hover {
  background-color: rgb(255, 144, 1, 0.6);
}

.space{
  height: 200px;
}

/* ----------------------------- Video ----------------------------- */

.carousel-container {
    width: 90%;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    position: relative;
    border-radius: 0.3rem;    
  }

  .carousel-track {
    display: flex;
    transition: transform 0.7s ease-in-out;
  }

  .carousel-item {
    min-width: 100%;
    display: flex;
    justify-content: center;
    margin-right: 50px; /* Distanza tra i video */

  }

  iframe {
    width: 100%;
    height: 500px;
    border: none;
    /* border-radius: 15px; */
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #f5f5f5;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 100px;
    z-index: 1;
    transition: background-color 0.3s;
  }

  .carousel-btn:hover {
    background-color: rgb(245, 245, 245, 0.5);
    color: #f5f5f5;
  }

  .prev-btn {
    left: 15px;
  }

  .next-btn {
    right: 15px;
  }

  /* ---INDICATORI--- */

  .carousel-indicators {
    text-align: center;
    margin-top: 15px;
  }
  
  .indicator {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .indicator.active {
    background-color: #333;
  }

  .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Altezza: 16:9 */
    overflow: hidden;
    border-radius: 15px; /* Opzionale per bordi arrotondati */
  }
  
  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px; /* Opzionale per bordi arrotondati */
  }
  

/* ----------------------------- GALLERY ----------------------------- */
.masonry-gallery {
  display: grid;
  gap: 0px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-flow: dense; /* Riempie gli spazi vuoti in modo intelligente */
}

.masonry-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 4; /* Specifica un rapporto d'aspetto di base per un look uniforme */
}

/* Opzione per personalizzare alcune immagini */
.masonry-gallery img.tall {
  grid-row: span 2; /* Le immagini con questa classe avranno un'altezza maggiore */
  aspect-ratio: 3 / 8;
}

.masonry-gallery img.wide {
  grid-column: span 2; /* Le immagini con questa classe saranno più larghe */
  aspect-ratio: 6 / 4;
}


/* ----------------------------- Scores ----------------------------- */

.scores{
  margin: auto;
  width: 60%;
  max-width: 400px;
  min-width: 200px;
}

/* Stile scritte in DISCOGRAPHY */



/* ----------------- OVERLAY ALBUM ------------------- */


/* Stile per l'overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.overlay.active {
  display: flex;
}

.overlay-content {
  display: flex;
  flex-direction: column;
  background: transparent;
  border-radius: 8px;
  padding: 20px;
  width: 80%;
  max-width: 600px;
  max-height: 100vh; /* Imposta l'altezza massima */
  overflow-y: scroll; /* Rende scrollabile senza mostrare la barra */
  scrollbar-width: thin;  /* Supporto per Firefox, barra di scorrimento sottile */
  scrollbar-color: transparent transparent; /* Nasconde la barra su Firefox */
  /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); */
  /* font-family: Arial, sans-serif; */
  text-align: left;
}

/* Nasconde la scrollbar su Webkit (Chrome, Safari, Edge) */
.overlay-content::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.overlay-content::-webkit-scrollbar-thumb {
  background: transparent;
}

.overlay-content::-webkit-scrollbar-track {
  background: transparent;
}



.overlay-info h2 {
  margin-bottom: 10px;
  color: #FF9001;
}

.overlay-info p {
  margin: 5px 0;
  color: #FF9001;
}

.overlay-info ol {
  list-style: disc;
  padding-left: 20px;
  margin: 10px 0;
  color: #f5f5f5;
}

.overlay-info a {
  display: block;
  margin-top: 10px;
  text-decoration: none;
  color: #FF9001;
  font-weight: bold;
  font-size: 1.2rem;
}

.overlay-info a:hover {
  text-decoration: underline;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  z-index: 1100;
}


#overlay-artist{
  font-style: italic;

}

#overlay-tracks {
  list-style-type: decimal; /* Aggiunge numerazione */
  padding-left: 0; /* Rimuove il margine a sinistra */
}

#overlay-tracks li {
  list-style-position: inside; /* Il numero sarà all'interno del box, non fuori */
}



/* ------------------------------------ */

/* Stile del menu */
.menu-overlay {
  position: fixed;
  top: 0;
  left: -100%; /* Nascondi il menu inizialmente */
  width: 250px;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  color: #f5f5f5; /* Testo chiaro */
  z-index: 1000;
  transition: left 0.3s ease; /* Effetto apertura */
  overflow-y: auto; /* Scorrimento se necessario */
}

.menu-overlay.active {
  left: 0; /* Mostra il menu */
}

.menu-overlay .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #f5f5f5;
  font-size: 24px;
  cursor: pointer;
}

.menu-links {
  list-style: none;
  padding: 20px;
  margin: 0;
}

.menu-links li {
  margin: 20px 0;
}

.menu-links a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 18px;
}

.menu-links a:hover {
  text-decoration: underline;
}

/* Pulsante del menu */
.menu-btn {
  position: fixed;
  top: 0px;
  left: 0px;
  background-color: transparent;
  color: rgba(0, 0, 0, 0.9);
  border: none;
  cursor: pointer;
  z-index: 1100;
  font-size: 3rem;
}


.menu-btn:hover {
  position: fixed;
  top: 2px;
  left: 2px;
  background-color: transparent;
  color: #FF9001;
  border: none;
  cursor: pointer;
  z-index: 1100;
  font-size: 3rem;
}