/*
Theme Name: BeFlex Child
Theme URI: https://www.eoxia.com
Author: the Eoxia team
Description: Child theme of BeFlex
License: AGPLv3
License URI: https://spdx.org/licenses/AGPL-3.0-or-later.html
Version: 4.0.0
Template: beflex
Text Domain: beflex-child
*/

.wp-block-cover .wp-block-cover__inner-container {
  
}
.logo-chut {
  display: inline-block; /* ne prend que la largeur du texte */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 80px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  overflow: visible;
  text-shadow: 
    0 0 2px #fff,  
    0 0 5px #fff,  
    0 0 10px #fff; 
  transition: color 0.2s ease, text-shadow 0.2s ease;
  clip: rect(0px, 0px, 0px, 0px);
}

.logo-chut::before,
.logo-chut::after {
  content: "CHUT";
  position: absolute;
  display: inline-block;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  color: white;
  text-shadow: none; /* glitch inactif par défaut */
  clip: rect(0px, 0px, 0px, 0px);
}

.titre-chut {
  opacity: 0;
  y: 100,
  
}

.titre-chut span {
   display: inline-block;
  opacity: 0;
  transform: translateY(120%);
  will-change: transform, opacity;
  
}

.cover-full {
overflow: hidden;
}


    
.imagefull {
  display: inline-block; /* ne prend que la largeur du texte */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  scale: 0.6;

}



.banierefull {
  overflow: hidden !important;
}





/*.transition {
  position: fixed;
  inset: 0; 
  background: blue;
  z-index: 2147483647;
  display: flex;               
  align-items: center;         
  justify-content: center;     
  will-change: transform;
}



.new-element1,.new-element2 {
  position: relative;
  width: 100px;
  height: 100px;
  background: rgb(255, 255, 255);
  border-radius: 10px;

}

.new-element1 {
  right: -50px;
}
.new-element2 {
  right: 50px;
}
*/

.transition {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  overflow: hidden;       /* important pour cacher la sortie des colonnes */
  pointer-events: none;   /* optionnel : pas de clic sur le voile */
}

/* Chaque colonne occupe 1/3 de l'écran */
.transition-column {
  flex: 1;
  background: blue;
  will-change: transform;
  outline: 2px solid blue;;
}

.pourcent {
    color: #fff;
    position: fixed;
    top: 50vh;
    right: 2vw;
    width: 200px;
    text-align: right;
    height: 20px;
    z-index: 1000;

}

.texte-all-code {
  color: #fff;
  position: fixed;
  top: 50vh;
  height: auto;
  z-index: 1000;
  opacity: 0;        
  transition: opacity 0.3s ease-out;
  white-space: pre-line; 
}

.texte-code1 {
 
  left: 2vw;
  width: 200px;
 
}

.texte-code2 {
 
  left: 35vw;
  width: 200px;

}
.texte-code3 {  
  left: 68vw;
  width: 200px;

  
}



.scroll-container {
 width:  100%; 
  height: 300vh; /* ou plus, selon la durée de ton animation */
  position: relative;
}


.wp-site-blocks {
padding-top: 0px !important;
}


/*page test */
 .page-id-203 .site-footer {
  display: none;
}
.page-id-203 .wp-site-blocks {
  padding-top: 0px !important;
}

/*html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100%;
  scroll-behavior: smooth;
}

.horizontal-wrapper {
  display: flex;
  height: 100vh;
  width: 400vw;
  left: 0px !important;
}

.panel {
  position: relative;
  flex: 0 0 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 4rem;
  color: white;
}

.overlay {
  background: rgba(0, 0, 0, 0.45);
  padding: 2rem 3rem;
  border-radius: 1rem;
  max-width: 70%;
  backdrop-filter: blur(5px);
}


.post-title {
  font-size: 3rem;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.post-excerpt {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: 0.3s;
}

.read-more:hover {
  background: #ccc;
}*/



/*html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}


.horizontal-scroll-container {
  position: relative;
  height: 100vh; 
  overflow: hidden;
}


.horizontal-wrapper {
  display: flex;
  align-items: center;
  gap: 80px; 
  height: 100%;
  padding: 0 10vw; 
}


.panel {
  flex: 0 0 auto;
}

.post-link {
  display: block;
  width: 500px;
  height: 500px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
}

.post-link:hover {
  transform: scale(1.05);
}

.post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}*/

.page-id-203 .wp-block-spacer {
  height: 0px !important;
}

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

body {
  height: 100vh;
  overflow-x: hidden;
  font-family: sans-serif;
  background: #111;
  color: #fff;
}

/*.horizontal-scroll-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.horizontal-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.panel {
  flex: 0 0 30vw;
  height: 50vh;
  margin: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: bold;
  transition: 0.3s ease-out;
}

.panel:hover {
  height: 55vh;
  flex: 0 0 32vw;
  transition: 0.3s ease-out;
}

.panel:nth-child(1) { background: #ff6b6b; }
.panel:nth-child(2) { background: #1dd1a1; }
.panel:nth-child(3) { background: #54a0ff; }
.panel:nth-child(4) { background: #feca57; }
*/


.horizontal-scroll-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.horizontal-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  will-change: transform;
  padding-left: 35vw; 
}

.panel {
    flex: 0 0 30vw;
  height: 50vh;
  margin: 20px;
 
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  background-attachment: fixed; /* 👈 effet parallax */
  justify-content: flex-start;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  transition: 0.3s ease-out;
  filter: blur( 3px); 
  
}

.post-title {
  
  font-size: 1rem;
  margin-bottom: 10px;
  filter: blur( 3px);
  opacity: 0;
}

.panel:hover {
  height: 55vh;
  flex: 0 0 31vw;
  transition: 0.3s ease-out;
  filter: blur(0px);
.post-title {
  transition: 0.3s ease-out;
  filter: blur( 0px);
  opacity: 1;
}

}


.panel .overlay {
  
  padding: 20px;
  width: 100%;
}



.post-excerpt {
  font-size: 0.2rem;
  margin-bottom: 20px;
}

.read-more {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid #fff;
  transition: 0.3s;
}

.read-more:hover {
  color: #ffdf6c;
  border-color: #ffdf6c;
}




.ruler-container {
  position: fixed;
  bottom: 4vh;
  left: 4vw;
  width: 200px;
  height: 20px;
 
  
  overflow: hidden;
  
  z-index: 1000;
}

.ruler {
  position: absolute;
  top: 0;
  left: 50%;
  width: 503px;
  height: 20px; /* hauteur totale de la règle */
  overflow: hidden;

 
    background-image: repeating-linear-gradient(
    to right,
    white 0px,
    white 2px,
    transparent 2px,
    transparent 25px
  );
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: auto 100%;
}

.ruler::before {
  content: "";
  position: absolute;
  bottom: 0; /* aligné en bas */
  left: 0;
  width: 100%;
  height: 10px; /* plus long que les petits */
 /* petits traits */
  background-image: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.7) 0px,
    rgba(255, 255, 255, 0.7) 1px,
    transparent 1px,
    transparent 5px
  );
  pointer-events: none;
}


.ruler-container::after {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: linear-gradient(
    to right,
    #111 0%,
    #111 5%,
    rgba(0, 0, 0, 0) 45%,
    rgba(0, 0, 0, 0) 65%,
    #111 95%,
    #111 100%
  );
  pointer-events: none; /* pour ne pas bloquer le hover */
  z-index: 2;
}


.typo-interactive {
  font-family: monospace;
  font-size: 2rem;
  display: inline-block;
  cursor: pointer;
  transition: color 0.3s ease;
}
.typo-interactive:hover {
  color: #ff3c00;
}