/*.intro-section {
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}*/

.content-section {
  --scroll-length: 1;  
  /*height: calc( var(--scroll-length) * 100vh );*/
  width: 100%;
}

.figure {
  width: 100%;
  /*height: 100vh;*/
  margin: 0;
  position: absolute; z-index:0;
  left: 0;
}
.figure > img {vertical-align:top;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}

/* ---------------------------------- */
.figure { 
  --scale: calc(.8 +
    (.2 * var(--scroll-length) * var(--visible-y) )
  );
  position: absolute;
  top: 0px; 
  margin: 80px 0 0 0 ;
  display: block;
  overflow: hidden; 
  will-change: transform;  
  transform-origin: left top;
  transform: scale(var(--scale));
}

.figure2 {transform-origin: right top;}
.figure2 div {vertical-align:top; background:#f0f0f0;  /*background:url(../img/bg2.jpg)no-repeat center ;  background-attachment : fixed ;*/ 
  display: block;  position:relative; 
  width: 100%;
  height: 800px;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}

/*.figure:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: black;
  opacity: calc( var(--visible-y) );
}*/
.figure > img {
  display: block;
  will-change: transform;
  transform: scale(calc(1 / var(--scale)));
}


/*---------------------------------------
  MOBILE RESPONSIVE              
-----------------------------------------*/
@media (max-width: 1300px) {
.figure {
  --scale: calc(1 +
    (0 * var(--scroll-length) * var(--visible-y) )
  );
  position: absolute;
  top: 0px; 
  margin: 80px 0 0 0 ;
  display: block;
  overflow: hidden; 
  will-change: transform;  
  transform-origin: left top;
  transform: scale(var(--scale));}	
	
.figure2 {transform-origin: right top;}
.figure2 div {vertical-align:top; background:#f0f0f0;  
  display: block;  position:relative; 
  width: 100%;
  height: 800px;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;}
     
 .figure > img {height: 100vh;
  display: block;
  will-change: transform;
  transform: scale(calc(1 / var(--scale)));
}

    
}
