/* split texte (charte graphique) */
.custom-animation-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 400px;
  visibility: hidden;
}

.tube {
  position: relative;
  width: 100%;
  height: 24vw;
  min-height: 200px;
}

.line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.6vw;
  font-size: 18vw;
  white-space: nowrap;
  text-align: center;
  font-weight: bold;
}

.line div {
  backface-visibility: hidden;
}

.ml10 {
  position: relative;
  font-weight: 900;
  font-size: clamp(48px, 10vw, 190px);
  font-family: 'krona one';
  text-transform: uppercase;
  color: #131313;
  white-space: nowrap;
}

.ml10 .text-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 0.2em;
  padding-right: 0.05em;
  padding-bottom: 0.1em;
  overflow: hidden;
}

.ml10 .letter {
  display: inline-block;
  line-height: 1em;
  transform-origin: 0 0;
}

/* ANIMATION SCROLL ICON */
svg#windmill {
  width: 325px;
}

/* ANIMATION ANCHORS (page graphisme) */
.container-anchors {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  border-radius: 9px;
  display: none;
}

#svg-stage-draw {
  width: 60%;
  max-width: 500px;
  overflow: visible;
}

/* ANIMATION ICON DESSIN */
.container-draw {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  border-radius: 9px;
}

#svg-stage-draw {
  width: 60%;
  max-width: 500px;
  overflow: visible;
}

/* ANIMATION SHAPE */
#group-shape {
  width: 100%;
  margin: 5%;
  text-align: center;
}

#svg-stage-shape {
  overflow: visible;
}

code {
  color: rgb(255, 135, 9);
}

/* ========================
  ANIMATION TEXTE + IMAGE A DROITE 
 ========================== */
ul {
  width: 100%;
  margin: 0;
  padding: 0;
}

.container {
  display: inline-block;
  border-bottom: 2px solid var(--color-surface25);
  width: 100%;
  padding: 2rem;
}

.container img.swipeimage {
  position: fixed;
  top: 0;
  left: 0;
  width: 350px;
  height: 350px;
  object-fit: cover;
  transform: translateX(-50%) translateY(-50%);
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.swipe-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  position: relative;
  padding: 40px 0;
  cursor: pointer;
}

.swipeimage {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  pointer-events: none;
  opacity: 0;
  z-index: 9999;
}

p.text-swipe {
  width: 70%;
  text-align: justify;
  font-family: 'jost';
  font-size: 17px;
}

ul.swipe-list h3 {
  color: #d4ff46;
  font-family: 'Krona One';
  text-transform: uppercase;
  font-size: 17px;
}

li.container {
  border-bottom: solid 1px #ffffff38;
}

/* ========================
 ANIMATION SLOGAN PAGE ACCUEIL  
 ========================== */

.animation-container {
  text-align: center;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-direction: column;
  gap: 40px;
}

.private-anim-wrapper {
  display: inline-block;
  overflow: hidden;
  position: relative;
}

.private-anim-wrapper .letter {
  display: inline-block;
  transform: translateY(120%);
  opacity: 0;
}

.private-anim-wrapper.is-visible .letter {
  animation: riseLetter 0.6s cubic-bezier(.25, .46, .45, .94) forwards;
  animation-delay: var(--delay, 0ms);
}

.private-title {
  font-family: 'Krona One', sans-serif;
  font-size: 100px;
  font-weight: 400;
  color: white;
  margin: 0;
  white-space: nowrap;
}

.middle-title {
  color: #d4ff46;
}

@keyframes riseLetter {
  0% {
    transform: translateY(120%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-120%);
  }
}

.private-anim-wrapper.is-fading .letter {
  animation: fadeOut 0.6s cubic-bezier(.25, .46, .45, .94) forwards;
  animation-delay: var(--delay, 0ms);
}

/* ========================
  TEXT VIBRATION - ACCUEIL 
========================== */

.vibrating-text {
  font-size: 72px;
  font-weight: bold;
  color: white;
  /*text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);*/
  animation: vibrate 0.3s infinite;
}

@keyframes vibrate {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(2deg);
  }

  75% {
    transform: rotate(-2deg);
  }
}

/* ========================
  ANIMATION ROTATION PICTO 
========================== */
@keyframes rotation-picto {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.animation-picto {
  animation: rotation-picto 20s linear infinite;
}