* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
}

.container {
  max-width: 100%;
  width: 90%;
  margin: auto;
  padding: 17rem 0 3rem;
  overflow-x: hidden; /* Evita el scroll horizontal */
}

.title {
  font-family: Helvetica, Arial, sans-serif; /* Usa Helvetica Neue si está disponible */
  font-size: 10.4rem; /* Ajusta el tamaño según prefieras */
  font-weight: bold;
  text-align: center; /* Centra el título */
  margin-bottom: 0;
  margin-left: -1.3rem;
  color: #fff; /* Asegúrate de que contraste con el fondo */
}

.subtitle1{
  color: #fff;
  text-align: left;
  font-size: 1.75rem;
  margin: 0;
  font-weight: bold;
  margin-bottom: -1.5rem;
}

.subtitle2 {
  color: #fff;
  text-align: right;
  font-size: 1.75rem;
  margin: 0;
  font-weight: bold;
  margin-top: -1.5rem;
}

.subsubtitle {
  font-size: 1.3rem;
  margin: 3rem 1rem 5rem 0rem;
  font-weight: bold;
  color: #a5a5a5;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
  gap: 30px; /* Space between items */
  grid-auto-flow: dense; /* Rellena los espacios vacíos automáticamente */
}

.photo, .video, .text, .spotify-embed {
  width: 100%; 
  height: auto;
  overflow: hidden; /* Evita que el contenido sobresalga */
  margin-bottom: 20px; /* Space between items */
}

.photo img,
.video, .spotify-embed {
  width: 100%;
  height: auto;
  cursor: pointer;
  object-fit: cover;
}

.video video {
  width: 100%;  /* Asegura que el video se ajuste al contenedor */
  max-height: 500px; /* Limita la altura para evitar que se expanda demasiado */
  object-fit: cover; /* Mantiene el video dentro del espacio asignado */
}

.text {
  padding: 10px;
  cursor: pointer;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
  text-align: justify;
  white-space: pre-wrap;
}



#filter-container {
  margin-bottom: 20px;
  position: relative;
  width: 50%;
}

#filter-menu, #filter-tags {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

#filter-menu.hidden, #filter-tags.hidden {
  display: none;
}

.filter-button.active {
  text-decoration: underline;
}

.filter-button {
  padding: 8px 15px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
}

.main-filter {
  padding-top: 0.5rem;
  background: none;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  border: none;
  transition: background 0.3s;
  font-weight: bold;
}

i {
  margin-left: 8px;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


.container2 {
    display: flex;  /* Hace que los hijos se alineen en fila */
    justify-content: center;  /* Centra los elementos horizontalmente */
    align-items: flex-start;  /* Alinea las secciones en la parte superior */
    gap: 20px;  /* Espacio entre las imágenes */
    flex-wrap: wrap;  /* Permite que en pantallas pequeñas se acomoden en columna */
    margin: 4rem 0;
}

.section {
    display: flex;
    flex-direction: column;  /* Para que la imagen y el texto queden en columna */
    align-items: center;  /* Centra el contenido dentro de cada sección */
    text-align: center;
    max-width: 400px;  /* Limita el ancho de cada sección */
}

.profile-img, .art-img {
    width: 100%;  /* Para que las imágenes ocupen el ancho de su sección */
    max-width: 290px;  /* Evita que sean demasiado grandes */
    height: auto;  /* Mantiene la proporción */
}

.profile-img, .art-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}
.profile-img:hover, .art-img:hover {
    transform: scale(1.05);
}

.text2 {
    margin-top: 8rem;
    font-size: 16px;
    text-align: center;
}


.text3{
    text-align: center;
    color: #868686;
    font-size: 14px;
}
.fa-heart {
  color: #f44336;
  margin-left: 0;
}

.white-box {
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 20px;
    flex-direction: row;
    justify-content: space-between;
}

.art-img {
    width: 100%;
    max-width: 210px;
    display: block;
    flex-shrink: 0;
    padding-left: 20px;

}

.quote {
    font-size: 14px;
    text-align: left;
    flex-grow: 1;
    padding: 0 20px;
}


/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}


.container3 {
    display: flex;
    align-items: center;
    height: 40vh;
    overflow: hidden;
}

.scroll {
    white-space: nowrap;
    margin: 0 2em;
}

.scroll div{
    display: flex;
    gap: 2em;
}

.scroll p{
    font-size: 1.75rem;
    color: white;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 10px;
}

.RightToLeft {
    animation: RightToLeft 20s infinite linear;
}

@keyframes RightToLeft {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-50%);
    }
} 



/*--------------------------- viewer ------------------------------------*/

#viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

#viewer.visible {
  opacity: 1;
  pointer-events: auto;
  display: flex;
}

#viewer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

#viewer-content img,
#viewer-content video {
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

#viewer-content .text {
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  padding: 20px;
  background: white;
  color: black;
  font-size: 1rem;
  text-align: center;
  word-wrap: break-word;
}

.viewer-button {
  position: absolute;
  background: none;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
  font-weight: bold;
}

.viewer-button:hover {
  transform: scale(1.1);
}

#close-viewer {
  top: 20px;
  right: 20px;
}

#prev-item {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

#next-item {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}



/*--------------------------- Modal ------------------------------------*/

/* Clase específica para ocultar el modal */
#modal.modal-hidden {
  display: none !important; /* Forzar el ocultamiento */
}

.hidden {
  display: none;
}

/* Estilo del modal visible */
#modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Asegura que el modal esté encima de otros elementos */
}

/* Estilo del contenido del modal */
.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  width: 37%;
}

.oppen-button {
  position: relative;
  float: right;
  background: none;
  border: none;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  padding-top: 0.5rem;
  font-size: large;
  text-decoration: underline;
}

.close-button {
  margin-top: -10px;
  color: #000;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  background: none;
  font-weight: bold;
  float: right;
  font-size: 1.1rem;
}

h2 {
  display: block;
  margin: 10px 0 10px;
  color: #000;
  text-align: center;
}

form label {
  display: block;
  margin: 10px 0 10px;
  color: #000;
}

.anonim-button {
  display: flex;
  align-items: center; 
  justify-content: flex-end; 
  gap: 5px; 
  font-size: small;
  margin: -0.4rem 0 1rem;
}

.anonim-input {
  width: auto;
  margin: 5px
}

.anonim {
  margin: 0;
}

form textarea {
  height: 40px;

}

form input, form select, form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  background: #000;
  color: #fff;
  border: none;
}

/*--------------------------- responsive Movil Horitzontal --------------------------*/

@media (max-width: 850px) and (orientation: landscape) {
  .title {
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 8rem; /* Reduce el título en horizontal */
    line-height: 1.2; /* Improve line spacing */
  }

  .photo-gallery {
    grid-template-columns: repeat(3, 1fr); /* Reduce el número de columnas */
  }

  .modal-content {
    width: 80%;
    overflow-y: auto; /* Permite desplazarse dentro del modal */
  }

  .subtitle1, .subtitle2 {
    font-size: 1.5rem;
    text-align: center;
  }
  .subtitle2 {
      text-align: right;
  }
  
}.subtitle1 {
      text-align: left;
  }

/*--------------------------- responsive ------------------------------------*/


@media (max-width: 450px) {
  .container {
      padding: 5rem 0;
  } 

  .title {
   /*font-size: 5rem; /* Adjusted for better fit on small screens */
    width: 100%;
    display: flex;
    text-align: center;
    font-size: 18.5vw;
    line-height: 1.2; /* Improve line spacing */
    margin-left: 0;
    
  }

  .subtitle1, .subtitle2 {
    font-size: 1rem; /* Smaller font size for subtitles */
    margin-bottom: 0.5rem; /* Adjust spacing */
    margin-top: 0.5rem;
  }
  
  .subtitle2 {
      text-align: center;
  }
  
  .subsubtitle {
    font-size: 1rem; /* Smaller font size for the description */
    margin: 1.5rem 0.5rem 2rem 0.5rem; /* Adjust margins */
    line-height: 1.4; /* Improve readability */
    word-wrap: break-word; /* Prevent text overflow */
  }
  
  .container2{
      margin: 3rem 0;
  }
  
  .profile-img { 
      max-width: 200px;
      margin-bottom: 2rem;
  }
  
  .white-box {
     max-width: 700px; 
     margin: 3rem 0;
  }
  
  .quote{
      font-size: 10px;
  }
  
  .art-img{
      width: 170px;
  }
  
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
  }

  .oppen-button{
    margin-right: 5px;
  }


    /* Reproductor de Spotify */
    /* Contenedor del reproductor de Spotify */
    .spotify-embed {
      width: 200%; /* Asegura que el contenedor ocupe todo el ancho disponible */
      display: flex; /* Hace que el contenedor sea un bloque, para ajustarse mejor al layout */
      height: 80px; /* Ajusta la altura del iframe */
      justify-content: center;
      margin-bottom: 10px; /* Añade un pequeño margen en la parte inferior */
      border-radius: 5px; /* Redondea las esquinas del contenedor */
      overflow: hidden; /* Asegura que el contenido no se desborde */
    }
    
    /* iframe de Spotify */
    .spotify-embed iframe {
      transform: scale(0.5);  /* Reduce el tamaño al 80% */
      transform-origin: top left;  /* Mantiene la escala desde la esquina superior izquierda */
      width: 125%; /* Aumentamos el ancho para compensar la escala */
      height: 190px; /* Ajustamos la altura */
    }

    #viewer-content .text {
      max-height: 90%;
      font-size: 0.7rem;
    }


  .modal-content {
    width: 80%;
  }
  
      .text2 {
        font-size: 12px; 
      }
     
    .container3 {
        height: 10vh;
    }
    
    .scroll p{
        font-size: 1rem;   
    }
    .container2 {
        margin: 0;
    }
}