 @font-face {
  font-family:idreamofletters;
  src: url(typo/idreamofletters/idreamofletters.woff);
}


@font-face {
  font-family:Isobare-Regular;
  src: url(ruisseau2/typo/Isobare-Regular.otf);
}

@font-face {
  font-family: InstrumentSerif-Italic;
  src: url(ruisseau2/typo/InstrumentSerif-Italic.woff2);
}

@font-face {
    font-family: "Letters-Torn";
    src: url('typo/Letters-Torn.woff') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family:"font2";
    src:url(typo/Pitch-BoldItalic-testdistorted1.otf);
}

@font-face{
    font-family:"font1";
    src: url(typo/Pitch-BoldItalic-testdistorted2-distorted.otf);
}



:root {
  --espaceenhaut: 15vh
}

@keyframes autoScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(500%);
  }
}


body{
  color: rgb(0, 0, 0);
  scroll-behavior: smooth;
  scrollbar-color: black;
position: relative;
}

header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            background: transparent;
}

h1{
    all: unset;
  display: flex;
  font-family:Isobare-Regular;
  font-size: 6vw;
  color:  rgba(0, 0, 0);
  text-shadow:0 0 5px  rgb(237, 135, 255);
  text-align: center;
  position: relative;
}

p {
  font-family: "distordpitch broken";
  font-size: 1em;
  background-color: rgb(237, 135, 255,0.7);
  display: flex;
  color: black;
  line-height: 1.4;
  padding: 1em;
  hyphens: auto;
  max-width: 40vh;
  flex-direction: column;
  text-align: left;
}

p:hover{
  font-family: "distordpitch normal";
  font-size: 1em;
  display: flex;
  transition: all 0.5s ease-in-out;
  line-height: 1.4;
  padding: 1em;
    hyphens: auto;

}




video{
  box-shadow: 0px 0px 10px rgb(237, 135, 255);
}

img{
   box-shadow: 0px 0px 10px rgb(237, 135, 255);
}

#ranger {
  position: fixed;
  top: 1em;
  left: 1em;
font-family:"Isobare-Regular";
font-size: 1.8rem;
z-index: 9999;
  }



#lac_art{
    max-width: 8em;
}

#background-video {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100vw; 
  height: 100vh; 
  object-fit: cover; 
  z-index: -1;
  margin: 0;
color: #000000;
}
.scroller-v {
  height: 300px;
  overflow-y: scroll ;
}

h2{
  font-family:"Isobare-Regular";
  max-width: 20vw;
  font-size: 2.6rem;
  /*
  margin: 0;
  padding: 3.5em;
  padding-bottom: 0;
  padding-top: var(--espaceenhaut);*/
  line-height: 1.1;
  text-wrap: balance;
  padding-bottom: hidden;
  padding-left: 1em;
  padding-right: 1em;
  color: rgba(0, 0, 0, 0.9);
  text-shadow:0 0 5px  rgb(237, 135, 255);
}

h3{
    font-family:"InstrumentSerif-Italic";
  max-width: 20vw;
  font-size: 1.8rem;
  padding-bottom: hidden;
 color: rgba(0, 0, 0, 0.9);
  text-shadow:0 0 5px  rgb(237, 135, 255);
  /*
  padding-left: 1em;
  padding-right: 1em;*/
  padding-top: hidden;
text-align: center;
display: flex;
}



img {
  max-width: 100%;
  height: auto;
  padding-bottom: 0;
  padding-top: 0vh;
}

a{
text-decoration: none;
  margin: 0;
  color: black;
    text-shadow:0 0 5px  rgb(237, 135, 255);
}

a:hover{
  color: red;
}




.line3{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#line3-4 img {
  height: 200px;

width: 600px;}

#line3-4{
display: flex;
 overflow-x: scroll;
margin: 0;
scrollbar-width: thin;
  scrollbar-color: #000000 #f1f1f1;
width: 400px;
padding: none;
}

#line3-4::-webkit-scrollbar {
  height: 8px;
}

#line3-4::-webkit-scrollbar-thumb {
  background: #000000;
  border-radius: 4px;
}

section{
/* Forcer défilement horizontal */
  position: relative;
  display: flex;
  overflow-x: scroll;
  width: 150vw;
  height: 400vh;
  scroll-behavior: smooth;
  margin-top: 7em;
}

video{
  width: 400px;
  height: auto;
  margin-bottom: 1em;
}

.column1{
  flex-direction: column;
  align-items: center;
  min-width: 20vw; 
  position: absolute;
  left: 2em; 
  top: var(--espaceenhaut);
  z-index: 1;
  display: flex;
}

.column2{
  flex-direction: column;
  align-items: center;
  max-width: 30vw;
  left: 2em; 
  top: var(--espaceenhaut);
  z-index: 2;
  position: absolute;
  display: flex;
}

 .column3{
  flex-direction: column;
  align-items: center;
  min-width: 20vw; 
  left: 2em; 
  top: var(--espaceenhaut);
  z-index: 3;
  max-width: 30vw;
  height: auto;
  position: absolute;
  text-align: center;
  display: flex;
 }

 .line5{
    max-width: 80vw;
    margin-right: 2vw;
 }

 .column4{
  flex-direction: column;
  align-items: center;
  min-width: 20vw; 
  left: 2em; 
  top: var(--espaceenhaut);
  z-index: 4;
  position: absolute;
  display: flex;
    max-width: 30vw;
 }

 .column5{
   flex-direction: column;
  align-items: center;
  min-width: 20vw; 
  left: 2em; 
  top: var(--espaceenhaut);
  z-index: 5;
  max-width: 30vw;;
  height: auto;
  display: flex;
 }
 
.button{
font-style: none;
}


li{
  font-size: 1rem;
font-family:"Isobare-Regular";
  color: #000000;
    overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: row;
}
 

.speed-1 { transform: translateX(calc(var(--x) * 1)); z-index: 0; }
.speed-2 { transform: translateX(calc(var(--x) * 2)); z-index:2; }
.speed-3 { transform: translateX(calc(var(--x) * 3)); z-index: 3; }
.speed-4 { transform: translateX(calc(var(--x) * 4)); z-index: 4; }
.speed-5 { transform: translateX(calc(var(--x) * 5)); z-index: 5; }



