* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #e7eaec;
  /* background-color: #000000; */
}

/* #8D7149 */

html,
body {
  height: 100%;
}

main {
  display: flex;
  position: relative;
  flex-direction: row;
  /* min-height: 100vh; */
  min-height: 200vh;
  overflow-x: auto;
}

.scroller-target {
  position: absolute;
  /* top: calc(100vh + 500px);  */
  top: 100vh;
  left: calc(var(--i) * 50vw);
  cursor: pointer;
}

.textes {
  flex: 0 0 auto;
  height: 100vh;
  display: flex;
  /* color: #979b9e96; */
  /* color: #493a33; */
  display: inline-block;
  color: #979b9e96;
}

.textes .zone {
  display: flex;
  flex-direction: row;
  width: max-content;
  position: relative;
}

.textes p {
  font-family: "gensco";
  background-color: transparent;
}

/* .textes p:nth-child(even):not(.scroller-target) {
  transform:
    translateX(calc(var(--i) * 50vw)) translateY(35vh);
}

.textes p:nth-child(odd):not(:first-child):not(.scroller-target) {
  transform:
    translateX(calc(var(--i) * 50vw)) translateY(10vh);
}

.textes p:nth-child(1) {
  margin-top: 120px;
  margin-left: 30vw;
} */


.scroller-target,
.textes p[id] {
  scroll-margin-top: -750px;
  scroll-margin-left: 20vw;
}

.moisissure {
  position: relative;
  /* color: #d8d8d8; */
  z-index: 999;
}

span {
  background-color: transparent;
}

.moisissure p {
  z-index: 9;
}

.moisissure img {
  position: absolute;
  background-color: transparent;
  mix-blend-mode: difference;
}

.micro {
  position: relative;
  margin-left: -100px;
  opacity: 50%;
}

.micro img {
  position: absolute;
  width: 100%;
  z-index: -9;
}

.un img {
  width: 70px;
  top: -15px;
  left: -30px;
}

.deux img {
  width: 150px;
  top: -15px;
  left: -10px;
}

.trois img {
  width: 240px;
  top: -30px;
  left: -50px;
}

.quatre img {
  width: 300px;
  top: -30px;
  left: -50px;
}

/* .cinq img {
  width: 350px;
  top: -50px;
  left: -50px;
} */

.six img {
  width: 450px;
  top: -60px;
  left: -50px;
}

.sept img {
  width: 600px;
  top: -100px;
  left: -70px;
}

.huit img {
  width: 800px;
  top: -100px;
  left: -50px;
}

.neuf img {
  width: 1000px;
  top: -350px;
  left: -80px;
}


.dix img {
  width: 1000px;
  top: -100px;
  left: -80px;
}

.titre-svg {
  width: 100vw;
  height: 100vh;
  overflow: visible;
  font-size: 60px;
}

.titres {
  flex: 0 0 100vw;
  width: 100vw;
  display: flex;
}

#cheminvisible {
  stroke-width: 1px;
}

.titrea {
  /* font-size: 60px; */
  fill: #e7eaec;
  /* fill: #000000; */
  font-family: "fluxisch";
  width: 100vw;
  letter-spacing: -10px;
  /* margin: 10% 0 0 10%; */
  /* color: #bbb67c; */
  filter: url(#filtre-un);
  text-shadow: 1px 5px 5px #b4b888;
  animation: spacing 20s linear infinite;
}

@keyframes spacing {

  0% {
    letter-spacing: -20px;
  }

  100% {
    letter-spacing: -10px;
  }
}

.titreb {
  font-family: "fluxisch";
  filter: url(#filtre-deux);
  fill: #e7eaec;
  /* fill: #000000; */
  letter-spacing: 0;
  /* font-size: 60px; */
  width: 100vw;
  text-shadow: 8px 8px 8px #878d47;
  animation: spacing-deux 30s linear infinite;
}

@keyframes spacing-deux {

  0% {
    letter-spacing: -15px;
  }

  100% {
    letter-spacing: 0;
  }
}

.titrec {
  font-family: "fluxisch";
  filter: url(#filtre-trois);
  fill: #e7eaec;
  /* fill: #000000; */
  letter-spacing: 5px;
  width: 100vw;
  text-shadow: 10px 10px #878d47, 20px 0px #737939;
  animation: spacing-trois 30s linear infinite;
}

@keyframes spacing-trois {

  0% {
    letter-spacing: -5px;
  }

  100% {
    letter-spacing: 5px;
  }
}

.titred {
  font-family: "fluxisch";
  filter: url(#filtre-quatre);
  fill: #e7eaec;
  /* fill: #000000; */
  /* letter-spacing: 10px; */
  width: 100vw;
  text-shadow: 10px 10px 10px #878d47, 20px 10px 30px #5b6320, -10px 20px #737939;
  animation: spacing-quatre 30s linear infinite;
}

/* #737939 */

@keyframes spacing-quatre {

  0% {
    letter-spacing: 5px;
  }

  100% {
    letter-spacing: 20px;
  }
}

@font-face {
  font-family: "germen";
  src: url(FlorDeRuina-Germen.woff2);
}

@font-face {
  font-family: "semilla";
  src: url(FlorDeRuina-Semilla.woff2);
}

@font-face {
  font-family: "gensco";
  src: url(GENSCO.woff2);
}

@font-face {
  font-family: "HNT";
  src: url(Hershey-Noailles-Times-Triplex-Regular.woff2);
}


@font-face {
  font-family: "hershey";
  src: url(Hershey-Noailles-help-me.woff2);
}


@font-face {
  font-family: "fluxisch";
  src: url(FluxischElse-Light.woff);
}


@media (max-width: 768px) {

  .textes p {
    max-width: 75vw;
  }
}