*, *::before, *::after {
  box-sizing: border-box;
}

body.demo-5 {
  background: #000;
  color: white;
  font-family: "Noto Sans", sans-serif;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  font-weight: 200;
  font-size: 22px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: #ff9537;
  text-decoration: none;
}
a:hover, a:focus {
  opacity: 0.8;
}





/* Header */
.header {
  position: relative;
  margin: 0 auto;
  min-height: 560px;
  width: 100%;
}
article{
  padding-bottom: 200px !important;
}

.bg-img {
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.bg-img img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  min-width: 100%;
  min-height: 100%;
}

.title {
  z-index: 1;
  margin: 0 auto;
  padding: 0 1.25em;
  width: 100%;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.title h1 {
  padding: 0 0 0.2em;
  color: #fff;
  font-weight: 800;
/*  font-size: 3.25em;*/
font-size: 2.5em;
margin: 0 auto;
}

.title p {
  color: #fff;
  padding: 0 0 0.6em;
  font-weight: 300;
  font-size: 0.85em;
  margin: 0 auto;
}

.title h1,
.title p.subline {
  line-height: 1;
}

.title p.subline {
  font-size: 1.75em;
}

/* Trigger Button */
button.trigger {
  position: fixed;
  bottom: 40px;
  left: 50%;
  z-index: 0;
  display: block;
  margin-left: -0.5em;
  padding: 0;
  width: 1em;
  height: 1em;
  border: none;
  background: transparent;
  color: transparent;
  font-size: 2em;
  cursor: pointer;
}

.container:not(.notrans) button.trigger {
  -webkit-transition: opacity 0.3s 0.5s;
  transition: opacity 0.3s 0.5s;
}

.container.modify:not(.notrans) button.trigger {
  opacity: 0;
  pointer-events: none;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

button.trigger::before {
  position: absolute;
  bottom: 100%;
  left: -100%;
  padding: 0.8em;
  width: 300%;
  color: #fff;
  content: attr(data-info);
  font-size: 0.35em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

button.trigger:focus {
  outline: none;
}

.scroll-indicator {
    position: relative;
    opacity: 1;
    min-width: 200px;
}

*/
/* Conent */
.content {
  margin: 0 auto;
  padding: 0 0 3em;
}

.content > div:not(.title) {
  margin: -80px auto 0;
  max-width: 900px;
  padding: 0 1.25em;
}

.content > div:not(.title) p {
  margin: 0 auto 1.5em auto;
}

.content > div:not(.title) p:first-child {
  /*font-size: 1.35em;*/
  margin-bottom: 150px;
}

.content h3, .content h2{
  margin: 0;
      font-size: 1.3em;
    font-weight: 100;
    color: #ff9537;
    margin-bottom: 20px;
}
.content h2{
  margin-top: 30px;
  margin-bottom: 30px;
  color: #adaeaf;
  font-size: 1.75em;
  font-weight: 300;

}
.content blockquote {
  padding: 0.25em;
  font-style: italic;
  font-size: 1.65em;
  font-family: 'Lora', serif;
  line-height: 1.4;
  margin-top:120px;
  margin-bottom:120px;
}

.content blockquote::before {
  content: '\201C';
}

.content blockquote::after {
  content: '\201D';
}

/***** Individual effects *****/

/* -------------------------- */
/* Side Fixed */
/* -------------------------- */
.intro-effect-sidefixed:not(.notrans) .bg-img::before {
  -webkit-transition-property: background-color;
  transition-property: background-color;
}

.intro-effect-sidefixed:not(.notrans) .bg-img::after {
  -webkit-transition-property: -webkit-transform;
  transition-property: transform;
}

.intro-effect-sidefixed:not(.notrans) .title p {
  -webkit-transition-property: opacity;
  transition-property: opacity;
}

.intro-effect-sidefixed:not(.notrans) .content > div {
  -webkit-transition-property: -webkit-transform, opacity;
  transition-property: transform, opacity;
}

.intro-effect-sidefixed:not(.notrans) .bg-img::before,
.intro-effect-sidefixed:not(.notrans) .bg-img::after,
.intro-effect-sidefixed:not(.notrans) .title p,
.intro-effect-sidefixed:not(.notrans) .content > div {
  -webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
  transition-timing-function: cubic-bezier(0.7,0,0.3,1);
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.intro-effect-sidefixed .header {
  position: absolute;
}

.intro-effect-sidefixed .bg-img {
  position: fixed;
  inset: 0;
}

/* Capa de vídeo */
.video-916 {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;     /* ocupa todo el alto de la ventana */
  width: auto;       /* que respete 9:16 del archivo */
  object-fit: cover; /* por si el mp4 viene con ligeras variaciones */
  object-position: left center;
  z-index: 950;      /* por encima de la imagen, por debajo de overlays si los hay */
  opacity: 0;        /* oculto por defecto */
  pointer-events: none;
  transition: opacity .4s ease;
}
.intro-effect-sidefixed.modify .video-916 {
  transition: opacity 1.3s cubic-bezier(0.7,0,0.3,1);
  opacity: 1;
}
.intro-effect-sidefixed .video-916 { opacity: 0; transition: opacity .5s ease; }
.intro-effect-sidefixed.video-visible .video-916 { opacity: 1; }
.unmute-btn{
  position: fixed;
  left: 16px;
  bottom: 20px;
  font-size: 13px !important;
  z-index: 1000;
  padding: 6px 8px;
  border: 0;
  border-radius: .5rem;
  font: 600 14px system-ui;
  background: rgba(0, 0, 0, .7);
  color: #fff;
  cursor: pointer;
}
.unmute-btn.movil{
  bottom: unset;
  top: 83vh;
  z-index: 11111111111111111111111111111111111;
}
#restartBtn{
  justify-content: center;
    align-items: center;
    line-height: 1;
    font-size: 30px;
    padding-bottom: 8px;
    text-align: center;
}
#restartBtn:hover{
  background: white !important;
  color: black !important;
}
.bg-img #unmuteBtn.movil {
  position: absolute !important;
/*  right: 16px !important;*/
/*  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px) !important;*/
z-index: 9999 !important;
}
.unmute-btn.over{
  background: rgba(255, 255, 255, 1);
  color: black;
}
.unmute-btn[hidden]{display:none}

.intro-effect-sidefixed .bg-img img {
  left: auto;
  right: 0;
  width: 100%;
  height: 40px !important;
  max-height: 40px !important;
  object-fit: cover;
  object-position: left;
}

.intro-effect-sidefixed .bg-img::before,
.intro-effect-sidefixed .bg-img::after {
  content: '';
  position: absolute;
  z-index: 100;
}

.intro-effect-sidefixed {
  --visible-916: 56.25vh; /* 9/16 del alto */
}

.intro-effect-sidefixed .bg-img::after {
  background: #000;
  top: 0;
  right: 0;
/*  width: 60%;*/
width: calc(100vw - var(--visible-916)); /* antes: 60% */
height: 100%;
-webkit-transform: translateX(100%);
transform: translateX(100%);
}

.intro-effect-sidefixed.modify .bg-img::after {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.intro-effect-sidefixed .bg-img::before {
  width: 100%;
  height: 100%;
  background-color: rgba(247,214,169,0.1);
}

.intro-effect-sidefixed.modify .bg-img::before {
/*  background-color: rgba(247,214,169,0.4);*/
}



.intro-effect-sidefixed .title {
  position: relative;
  top: auto;
  left: auto;
  text-align: left;
  -webkit-transform: translateY(200px);
  transform: translateY(200px);
  padding: 0;
}

.intro-effect-sidefixed.modify .title {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.intro-effect-sidefixed .title h1 {
  
  font-weight: 700;
  padding: 0 0 0.5em 0;
  color: #fff;

  font-weight: 300;
  font-size: 1.75em;
  font-size: 2.15em;
max-width: 800px;
  text-shadow: 2px 2px 4px #00000085;
}

.intro-effect-sidefixed .title p {
  opacity: 0;
}

.intro-effect-sidefixed.modify .title p {
  opacity: 1;
}
p.separador{
  height: 120px;
}
.intro-effect-sidefixed .content {
  /*width: 60%;
  margin-left: 40%;
  padding: 0 2.5em;*/
/*  width: calc(100vw - var(--visible-916)); */
margin-left: var(--visible-916);           /* antes: 40% */
padding: 0 1.5em 0 2.5em;
min-height: 100vh;

}

.intro-effect-sidefixed .content div {
  position: relative;
  margin: 70px 0;
  color: #fff;
}

.intro-effect-sidefixed .content div:nth-child(2) {
  opacity: 0;
  -webkit-transform: translateY(120px);
  transform: translateY(120px);
}
.intro-effect-sidefixed.modify .content div:nth-child(2) {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}


/* Delays */
.intro-effect-sidefixed:not(.notrans) .title,
.intro-effect-sidefixed:not(.notrans) .bg-img::before,
.intro-effect-sidefixed:not(.notrans) .bg-img::after {
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

.intro-effect-sidefixed.modify:not(.notrans) .title,
.intro-effect-sidefixed.modify:not(.notrans) .bg-img::before,
.intro-effect-sidefixed.modify:not(.notrans) .bg-img::after {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.intro-effect-sidefixed.modify:not(.notrans) .content div:nth-child(2) {
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
}

/* Media Queries */
@media screen and (max-width: 47em) {
  .title, .content {
    font-size: 70%;
  }

  .intro-effect-sidefixed .content {
    width: 100%;
    margin-left: auto;
  }

  .intro-effect-sidefixed .bg-img::after {
    width: 95%;
  }

}

@media screen and (max-width: 27em) {
  

  .title, .content {
    font-size: 80%;
  }
  .intro-effect-sidefixed .title h1{
    font-size: 7vw;
  }
  #container .content{
    padding-inline: 5%;
    margin: 0;
    width: 95%;
    margin-left: 5%;
  }
  .intro-effect-sidefixed{
    padding: 0;
  }
  button.trigger::before {
    display: none;
  }
}

.mainmenu{
  position: fixed !important;
  z-index: 111111111111;
}
.intro-effect-sidefixed .content{
  z-index: 111111111111;
  padding-top: 30vh;
}
.intro-effect-sidefixed .header{
  z-index: 0;
  height: 100vh !important;
  max-height: 100vh !important;
}
.sticky-gradient-before::before {
  content: "";
  position: absolute;
  width: 100vw;
  left: 50%;
  top: 0;
  pointer-events: none;
  height: 30vh;
  transform: translate(-50%, -29vh);
  background: linear-gradient(180deg, #00000000 0%, #000000 30vh);
  z-index: 1;
}
#container .info{
  padding: 0;
  width: 100%;
  position: relative;
  max-width: unset;
}
.noto-sans *{
  font-family: "Noto Sans", sans-serif;
}


.intro-effect-sidefixed .title {
  /*-webkit-transform: translateY(0);

  transform: translateY(0);*/
  /*mix-blend-mode: difference;*/
  -webkit-transform: translateY(200px);
  transform: translateY(200px);
}

.intro-effect-sidefixed.modify .title {
  /*-webkit-transform: translateY(0);
  transform: translateY(0);*/

  -webkit-transform: translateY(150px);
  transform: translateY(150px);
}
.intro-effect-sidefixed.modify .content div:nth-child(2) {
  opacity: 1;
  /*-webkit-transform: translateY(0);
  transform: translateY(0);*/

  -webkit-transform: translateY(100px);
  transform: translateY(100px);
}
@media (max-width: 850px) {
  #restartBtn{
    left: 100vw !important;
    bottom: unset !important;
    top: 81vh !important;
  }
  button.trigger{
    position: absolute;
    top: 80vh;
    bottom: unset;
  }
  #container .content{
    pointer-events: none;
  }
  #container.modify .content{
    pointer-events: all;
  }
  .intro-effect-sidefixed .video-916{
    opacity: 1;
  }
  .intro-effect-sidefixed .content{
    padding-top: 30vh;
  }
  .intro-effect-sidefixed .content div:nth-child(2) {
    opacity: 0;
    -webkit-transform: translateY(200px);
    transform: translateY(200px);
  }



  .intro-effect-sidefixed.modify .title {
    /*-webkit-transform: translateY(0);
    transform: translateY(0);*/

    -webkit-transform: translateY(200px);
    transform: translateY(200px);
  }
  .intro-effect-sidefixed .content div:nth-child(2) {
    opacity: 1;
    /*-webkit-transform: translateY(0);
    transform: translateY(0);*/

    -webkit-transform: translateY(400px);
    transform: translateY(400px);
  }
  .intro-effect-sidefixed.modify .content div:nth-child(2) {
    opacity: 1;
    /*-webkit-transform: translateY(0);
    transform: translateY(0);*/

    -webkit-transform: translateY(200px);
    transform: translateY(200px);
  }
  .intro-effect-sidefixed { --visible-916: 10px; } /* ajusta a tu gusto */
  .intro-effect-sidefixed .bg-img::after {
    width: calc(100vw - var(--visible-916)) !important;
  }
}

@media (max-width: 850px) {
  .intro-effect-sidefixed .video-916 {
    opacity: 1 !important;
  }
}
.container{
  max-width: 1920px !important;
}


@media (min-width: 1700px) {

    .footer,.gradient-text-container{
              /* max-width: calc(100vh * 16 / 9) !important; */
        width: calc(100vw - (100vh * 9 / 16)) !important;
        transform: none;
        left: 0;
        margin-left: calc((100vh * 9 / 16)) !important;
    }
    .footer-grid {
         max-width: 100%;
        /*grid-template-columns: 1fr 5fr 1fr !important;*/
    }
    .gradient-text.bigger .big{
      font-size: min(  calc(min(100vw, calc(100vw - (100vh * 9 / 16))) * 0.14),  360px) !important;
    }
    .gradient-text.bigger .pq{
      font-size: min(calc(min(100vw, calc(100vw - (100vh * 9 / 16))) * 0.09), 360px);
    }
    .gradient-text.bigger .big b{
      font-size: min(calc(min(100vw, calc(100vw - (100vh * 9 / 16))) * 0.15),360px);
    }
    .sticky-gradient-before::before{
      width: calc(100vw - (100vh * 9 / 16)) !important;
    }
    .panel-20:hover .big{
      font-size: calc(  min(100vw, calc(100vw - (100vh * 9 / 16))) * 0.23) !important;
    }
    .panel-20 .gradient-text.big::after {
    content: "años";
    position: absolute;
    left: 0;
    /* margin-left: 1%; */
    margin-left: 17%;
    margin-top: 14vw !important;
    font-size: calc(min(100vw, calc(100vw - (100vh * 9 / 16))) * 0.05) !important;
    font-weight: 800;
    /* color: #000; */
    opacity: 0;
    transition: all .5s ease;
    background: linear-gradient(90deg, #ff7134ff, #ff7134ff, #ffb656ff, #ffb656ff, #ffb656ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    mix-blend-mode: difference;
    transform: scale(0);
    transform-origin: center -7vw;
}

}











