/* ///////////////// SCROLLYTELLING ///////////////// */
.scrollytelling {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline;
  }
  .scrollytelling-viewport {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: -1;
  }
  .scrollytelling-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  filter: brightness(50%);
  }
  .scrollytelling-text {
  color: #fff;
  text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
  position: relative;
  z-index: 1;
  margin-bottom: 100vh!important;
  }
  .scrollytelling-text:first-of-type {
  margin-top: -33vh;
  }
  .scrollytelling-text:last-of-type {
  padding-bottom: 66vh;
  margin-bottom: 0;
  }
  .scrollytelling-fade figure {
  opacity: 0;
  position:initial!important; 
  display: initial!important; 
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
  }
  .scrollytelling-fade figure:before {
  content: "";
  display: initial!important;
  }
  .scrollytelling-fade figure:first-of-type {
  opacity: 1;
  }
/* ///////////////// PARALLAX ///////////////// */
.parallax{
  position:relative;
  width:100%;
  height:600px;
  overflow:hidden;
  background:#000;
}
.parallax img{
  position:absolute;
  left:50%;
  top:50%;
  width:100%;
  min-width:100%;
  min-height:100%;
  object-fit:cover;
  object-position:center center;
  transform:translate(-50%,-50%) scale(1.00);
  will-change:transform;
}
.parallax::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.25);
}
.parallax .contenido{
  position:absolute;
  inset:0;
  display:flex;
  justify-content:center;
  align-items:center;
  color:#fff;
  font-weight:bold;
  z-index:2;
  text-shadow:0 3px 8px rgba(0,0,0,.6);
}
.parallax .contenido .portada{
  height: 100vw;
  display: flex;
  flex-direction: column;
  position: relative;
}
.parallax .contenido .portada article{
  height: 100vw;
  display: flex;
   align-items: center;
  flex-direction: column;
  justify-content: space-evenly;
}
.parallax .contenido .portada article h1{
  font-size: clamp(1.90rem, 3.60vw, 3.20rem);
  line-height: clamp(2.00rem, 1.80rem + 1.00vw, 3.40rem);
}
/* ///////////////// SLIDER FULLSCREEN ///////////////// */
.parallax.slider-fullscreen{
  height:100vh;
}
.parallax.slider-fullscreen .slide-img{
  opacity:0;
  transition:opacity 1.4s ease-in-out;
}
.parallax.slider-fullscreen .slide-img.active{
  opacity:0.6;
}
/* ///////////////// TEXTO SCROLL FADE ///////////////// */
.reveal-wrapper {
  overflow: visible;
}
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }
}