element.style {
  scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: auto !important;
  }
}

.lenis.lenis-stopped {
  overflow: clip;
}

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

.gal {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.revista-edicion-titulo,
.revista-fecha-titulo {
  font-family: "synt";
  font-size: 4vw;
  font-weight: 100;
  line-height: 0.9em;
  letter-spacing: -0.025em;
}
h2 {
  font-family: "Asfalt";
  font-size: 13rem;
  font-weight: 100;
}

h5 {
  color: red;
  margin-bottom: 2rem;
}

h6 {
  font-family: "synt";
  font-size: 2vw;
  font-weight: 100;
}

.revista-nombre-edicion {
  font-family: "SerialB";
  font-size: 5vw;
  color: rgb(38, 38, 38);
}

ul.li {
  list-style: none;
}

li::marker {
  display: none;
}

.notas-revista-titulo {
  display: inline-block;
  font-family: "SerialB";
  font-size: 3vw;
  color: rgb(38, 38, 38);
  margin-bottom: 0.8rem;
}

.notas-revista-listado {
  font-family: "synt";
  font-size: 2vw;
  font-weight: 100;
  line-height: 0.9em;
  letter-spacing: -0.025em;
  padding: 0;
}

p {
  font-family: "MD-IO";
  font-size: 0.9em;
  font-weight: 100;
  color: red;
  text-align: left;
}

a {
  font-family: "Synt";
  text-decoration: none;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
  color: rgb(255, 0, 0);
}

section {
  position: relative;
  width: 100vw;
  min-height: auto;
  /* background-color: rgb(215, 215, 215); */
  padding: 0em;
}

.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding: 0;
  background-color: black;
  overflow: hidden !important;
}

.gallery-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 160vw;
  height: 100vh;
  display: flex;
  z-index: 10;
  gap: 0em;
}

.gallery-wrapper img {
  pointer-events: auto;
}

/* .col {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0em;
  will-change: transform;
} */

.img {
  flex: 1;
  overflow: hidden;
  background-color: aliceblue;
}

.img.main img {
  position: relative;
  transform: scale(2);
  will-change: transform;
}

.container {
  width: 100%;
  height: 100vhs;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  margin-left: 0;
  padding-left: 0;
}

.hero {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.header {
  position: absolute;
  display: flex;
  align-items: center;
  /* Centra los elementos verticalmente */
  justify-content: space-between;
  /* Mantiene la separación horizontal */
  width: 70%;
  left: 50%;
  /* Posiciona horizontalmente al centro */
  transform: translateX(-50%);
}

.intro {
  display: flex;
  flex-direction: column;
  /*justify-content: space-between;*/
  align-items: center;
  text-align: center;
  min-height: 50vh;
  padding: 4em 0;
}

.tagline {
  width: 40vw;
}

.tagline-2 {
  width: 40vw;
  padding-left: 30px;
}

.divider {
  width: 1.5px;
  height: 30%;
  background-color: rgba(255, 255, 255, 0);
}

/* MAPA */

.lugar {
  display: flex;
  justify-content: center;
  /* Centrado horizontal */
  align-items: center;
  text-align: center;
}

.mapa-lugar {
  width: 15vw;
}

section.ws {
  width: 100vw;
  height: 800vh;
  background-color: transparent;
}

.outro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: self-start;
  text-align: center;
  background-color: rgb(212, 212, 212);
  color: black;
  padding: 10em 4em 0em 4em;
}

.alineacion {
  display: flex;
  justify-content: center;
  /* Centra horizontalmente las columnas en el contenedor */
  /*align-items: center; /* Alinea verticalmente las columnas */
  padding-top: 5%;
  gap: 20px;
  /* Espacio entre las columnas */
  height: 50vh;
  /* Ajusta según el tamaño deseado */
}

.columna {
  flex: 1;
  /* Hace que cada columna ocupe el mismo ancho (puedes ajustar esto) */
  display: flex;
  justify-content: flex-end;
  /* Bandera derecha */
  text-align: right;
}

.columna-nombres {
  /*flex: 1; /* Hace que cada columna ocupe el mismo ancho (puedes ajustar esto) */
  display: flex;
  justify-content: flex-end;
  /* Bandera derecha */
  text-align: right;
}

.columna.izquierda,
.columna-nombres.izquierda {
  justify-content: flex-end;
  /* Contenido alineado a la derecha */
  text-align: right;
}

.columna.derecha,
.columna-nombres.derecha {
  justify-content: flex-start;
  /* Contenido alineado a la izquierda */
  text-align: left;
}

/* PARTICIPANTES*/

.grid-section {
  height: auto;
  /* Ajusta dinámicamente la altura */
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 6 columnas */
  grid-auto-rows: minmax(3, auto);
  /* 3 filas */
  gap: 0em;
  /* Espaciado entre los elementos */
  width: 100vw;
  height: auto;
  padding: 0em;
  background-color: rgb(212, 212, 212);
}

.grid-item {
  display: flex;
  justify-content: center;
  /* Centrado horizontal */
  align-items: center;
  /* Centrado vertical */
}

.grid-section .grid-item {
  position: relative;
  overflow: hidden;
  background-color: rgb(212, 212, 212);
  aspect-ratio: 1 / 1;
  /* Cuadrado */
  cursor: pointer;
}

.grid-section .grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.grid-section .grid-item:hover img {
  transform: scale(1.1);
  opacity: 0.9;
}

.overlay-text {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 2, 2, 0.161);
  /* Color del overlay con transparencia */
  color: rgb(255, 255, 255);
  /* Color del texto */
  display: flex;
  justify-content: flex-start;
  /* Centra el texto horizontalmente */
  align-items: start;
  /* Centra el texto verticalmente */
  font-size: 1.5rem;
  /* Tamaño del texto */
  opacity: 1;
  /* Hace el overlay invisible inicialmente */
  transition: opacity 0.3s ease;
  /* Suaviza la aparición del overlay */
}

.overlay img {
  width: 100%;
  /* Asegura que la imagen ocupe todo el contenedor */
  height: 100%;
  object-fit: cover;
  /* Ajusta la imagen para que se recorte sin distorsión */
}

.blank {
  height: 100vh;
  background-color: rgb(208, 208, 208);
}

.blank-2 {
  height: 100vh;
  background-color: rgb(208, 208, 208);
}

.bullet {
  font-family: "synt";
  font-size: 1.6em;
  color: rgb(255, 0, 0);
  text-align: center;
  line-height: 1em;
  padding: 5% 5% 2.5% 5%;
}

.bullet-2 {
  font-family: "SerialB";
  font-size: 1.8rem;
  color: rgb(0, 0, 0);
  padding: 10%;
  line-height: 1.1em;
}

.p1, .p2, .p3, .p4, .column {
  font-family: "SerialB";
  font-size: 1.8rem;
  color: rgb(0, 0, 0);
  line-height: 1.1em;
}

.entrada-autor {
  font-family: "MD-IO";
  font-size: 0.6em;
}

.bio {
  font-family: "MD-IO";
  margin: 0;
  /* Elimina márgenes por defecto */
  padding: 10px;
  /* Añade un espacio interno */
  text-align: left;
  /* Centra el texto */
  font-size: 0.8rem;
}

/*PARTICIPANTES*/

/*NOTAS*/
.custom-container {
  height: 100vh;
  /* Ocupa el 100% del alto de la pantalla */
  display: flex;
  /* Centra el contenido */
  justify-content: center;
  align-items: end;
  padding-bottom: 30vh;
  background: radial-gradient(
    circle,
    rgba(217, 217, 217, 1) 19%,
    rgba(240, 255, 0, 1) 70%,
    rgba(217, 217, 217, 1) 74%,
    rgba(217, 217, 217, 1) 92%
  );
}

.custom-container:hover {
  border-color: #ffffff;
}

.nota {
  position: relative;
  display: inline-block;
  margin: -40px;
}

.revista-container {
  background: rgb(237, 237, 237);
  background: linear-gradient(
    90deg,
    rgba(237, 237, 237, 1) 9%,
    rgba(237, 237, 237, 1) 64%,
    rgba(0, 112, 255, 1) 87%,
    rgba(0, 22, 255, 1) 100%
  );
}

.revista-section {
  background: rgb(237, 237, 237);
  background: linear-gradient(
    90deg,
    rgba(237, 237, 237, 1) 9%,
    rgba(237, 237, 237, 1) 64%,
    rgba(0, 112, 255, 1) 87%,
    rgba(0, 22, 255, 1) 100%
  );
}

.nota img {
  max-width: 18vw;
  /* Máximo ancho del 30% */
  height: auto;
  /* Mantiene la proporción de las imágenes */
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
  width: 100%;
}

.nota img:hover {
  transform: scale(1.2);
  /* Aumenta ligeramente el tamaño al hacer hover */
  z-index: 1;
  /* Lleva la imagen al frente */
}

/* Información que aparece al hacer hover sobre la imagen */
.info-container {
  font-family: "MD-IO";
  position: absolute;
  bottom: -45px;
  width: 100%;
  text-align: left;
  color: #212121;
  padding: 0px;
  font-size: 0.8rem;
  display: none;
  /* Oculta inicialmente */
}

.info-line {
  font-family: "MD-IO";
  position: absolute;
  top: -45px;
  width: 100%;
  text-align: left;
  color: #212121;
  padding: 0px;
  font-size: 0.8rem;
  display: none;
  /* Oculta inicialmente */
}

/* Mostrar la información al hacer hover sobre la imagen */
.nota:hover .info-container,
.nota:hover .info-line {
  display: block;
  /* Muestra la información */
}

/*EXPOSICION */
.sala {
  min-height: 200vh;
  padding: 4em 4em 10em 4em;
}

.revista-texto-columas {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  min-height: 200vh;
}

.carta-editorial {
  flex: 1;
  justify-content: flex-end;
  text-align: right;
}

.carta-editorial p{
  color: black !important;
}

.carta-editorial.izquierda {
  justify-content: flex-end;
  text-align: left;
}

.carta-editorial.izquierda-2 {
  text-align: right;
}

.carta-editorial.derecha {
  justify-content: flex-start;
  text-align: left;

  font-family: "SerialB";
  font-size: 1.8rem;
  color: rgb(0, 0, 0);
  line-height: 1.1em;
  padding-left: 10%;
  padding-right: 10%;

  em, i {
    color: red;
    font-size: 2rem;
    font-family: "Synt", "SerialB";
    font-style: normal;
  }

  h6 {
    margin-top: 3rem;
    font-family: "SerialB";
    font-size: 1.8rem;
    color: rgb(0, 0, 0);
    line-height: 1.1em;
  }
}

.notas-revista-bloque {
  padding: 0% 3% 0% 3%;
}
.entrada-articulo {
  padding: 2% 0% 2% 0%;
}

.notas-lista {
  text-decoration: none;
  margin-bottom: 1rem;
}

.notas-lista:hover {
  color: chartreuse;
  text-decoration: underline;
  transition: width 0.3s ease-in-out, transform 0.3s ease-in-out;
}


/*AGRADECIMIENTOS*/

.carta-editorial {
  width: 40vw;
  /* font-size: 1em; */
  letter-spacing: 0em;
}

.credits {
  display: flex;
  justify-content: space-between;
}

.linea {
  flex: 1;
  /* Todas las columnas tienen el mismo ancho */
  display: flex;
  /* Activa Flexbox para centrar los elementos dentro */
  flex-direction: column;
  /* Permite apilar los elementos si hay más de uno */
  justify-content: center;
  /* Centra verticalmente el contenido */
  align-items: center;
  padding: 10px;
}

/* ARTICULOS RELACIONADOS */

.revista-articulos-relacionados {
  display: flex;
  flex-direction: column;
  color: black;
}

@media (max-width: 768px) {
  .carta-editorial {
    font-size: 0.9em;
    line-height: 1.3em;
  }

  .outro {
    padding: 7em 2em 0em 2em;
  }
  .todo {
    width: 100vw;
    overflow: hidden;
  }

  .revista-edicion-titulo,
  .revista-fecha-titulo,
  .revista-nombre-edicion,
  .notas-revista-titulo,
  .notas-revista-listado {
    font-size: 2em;
    line-height: 1;
  }
  .header {
    display: block;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .p1,.p2, .p3, .p4, .bullet-2 {
    font-size: 1.2rem;
  }

  .carta-editorial.derecha {
    font-size: 1.2rem;

    em, i{
      font-size: 1.4rem;
    }
  }

  h2 {
    font-size: 8rem;
    line-height: 6rem;
  }

  p {
    font-size: 0.7rem;
  }

  h1 {
    font-size: 3rem;
  }

.notas-lista:hover {
  color: chartreuse;
  text-decoration: underline;
  transition: width 0.3s ease-in-out, transform 0.3s ease-in-out;
}
  .tagline {
    padding: 10px;
    width: 100%;
  }

  .divider {
    width: 100vw;
    height: 30vh;
    background-color: rgba(255, 255, 255, 0);
  }

  .mapa-lugar {
    width: 30vw;
  }

  .sala {
    padding-left: 1em;
  }

  .revista-texto-columas {
    display: block;
  }

  .carta-editorial {
    display: block;
    width: 90vw;
  }

  .grid-section {
    grid-template-columns: repeat(1, 1fr);
  }

  .gallery-wrapper {
    width: 100vw;
    /* Hacer que la galería ocupe el 100% del ancho en móviles */
    height: auto;
    /* Altura automática */
    flex-direction: column;
    /* Colocar todos los elementos en una sola columna */
  }

  .col {
    flex: none;
    /* Para que las columnas no se expandan y se apilen */
    width: 100%;
    /* Cada columna ocupa el 100% del ancho */
  }

  .img {
    height: auto;
    width: 100%;
    /* Ajustar la altura de las imágenes */
  }

  /* Reducir el tamaño de las imágenes principales en móviles */
  .img.main img {
    transform: scale(1);
    /* Reducir la escala */
  }

  .sticky {
    height: auto;
    /* Ajustar la altura de la sección sticky para que se ajuste al contenido */
  }

  .credits {
    display: block;
  }

  .blank {
    display: none;
  }

  .blank-2 {
    display: none;
  }

  h6 {
    font-size: 10vw;
  }

  .notas-revista-bloque {
    margin-top: 2rem;
  }

  .carta-editorial p {
    font-size: 16px !important;
  }
}
