@font-face {
  font-family: "lyonregular";
  src: url("../fonts/otf/AktivGrotesk-Bold.otf");
}
@font-face {
  font-family: "lyonitalic";
  src: url("../fonts/otf/AktivGrotesk-Bold.otf");
}
.lyonitalic {
  font-family: "lyonitalic";
}

html {
  background: white;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  height: 100%;
  background: #fff;
  overflow: hidden;
}


/* === Liens === */
a {
  color: black;
  text-decoration: none;
}
a:active {
  color: black;
  text-decoration: underline;
}
a:hover {
  color: black;
  text-decoration: underline;
}
a:hover img {
  display: block;
}

/* === Bloc résumé === */
.resumed {
  position: relative;
  display: inline-block;
  line-height: 20px;
  font-family: "lyonregular";
  font-size: 15px;
  color: black;
  padding: 16px 15px 0 15px;
}

/* Titres dans le résumé */
.resumed h2 {
  line-height: 20px;
  font-family: "lyonregular";
  font-size: 15px;
  margin: 20px 0 10px;
}
.resumed h4 {
  line-height: 20px;
  font-family: "lyonregular";
  font-size: 15px;
  margin: 20px 0 10px;
}

/* Liens fixes en haut */
.fixed-link {
  line-height: 20px;
  font-family: "lyonregular";
  font-size: 15px;
  padding: 17px 15px 0 15px;
  top: 0;
  margin-bottom: 30px;
  position: fixed;
  display: inline-block;
  max-height: 100vh;
  z-index: 20;
}

/* Liens fixes en bas (Contact me, infos) */
.footer-links {
  position: fixed;
  top: 15px;
  right: 15px;
  font-family: "lyonregular", sans-serif;
  font-size: 15px; /* identique au reste */
  line-height: 20px;
  z-index: 30;
}

.footer-links a {
  color: black;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}



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

.slider-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* Conteneur du slider */
.slider {
  max-width: 1800px;
  height: 1800px;
  max-height: 98vh;
  overflow: hidden;
  touch-action: pan-y;
  cursor: pointer;
  padding-bottom: 90px;
}

/* Rangée des slides */
.slides {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

/* Chaque slide */
.slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Images centrées et contenues */

.slide img {
  padding-bottom: 70px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Légende fixée en bas du slider */
.caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 20px;
  text-align: center;
  font-family: "lyonregular";
  font-size: 15px;
  max-width: 90%;
  pointer-events: none; /* pour ne pas bloquer les clics */
}

/* Responsive */

/* ======================= */
/* RESPONSIVE ADAPTATIONS  */
/* ======================= */

/* Tablettes (≤ 1024px) */
@media (max-width: 1024px) {
  #bouncing-logo img {
    width: 90px;
  }
  .label {
    font-size: 11px;
  }
  .resumed,
  .fixed-link,
  .footer-links {
    font-size: 11px;
    line-height: 14px;
  }
  .resumed h2,
  .resumed h4 {
    font-size: 11px;
    line-height: 13px;
  }
}

/* Mobiles (≤ 600px) */
@media (max-width: 600px) {
  #bouncing-logo img {
    width: 90px;
  }
  .label {
    font-size: 11px;
  }
  .resumed,
  .fixed-link,
  .footer-links {
    font-size: 11px;
    line-height: 13px;
  }
  .resumed h2,
  .resumed h4 {
    font-size: 11px;
    line-height: 13px;
    margin: 15px 0 8px;
  }
  .fixed-link {
    font-size: 11px;
    padding: 12px;
    position: relative; /* sur mobile, pas fixé pour éviter chevauchements */
  }
  .footer-links {
    font-size: 11px; /* identique au reste */
  }
  .caption{
  line-height: 14px;
  font-size: 11px;
  }

.slider {
  max-width: 92vh;
  height: 2000px;
  max-height: 92vh;
  overflow: hidden;
  touch-action: pan-y;
  cursor: pointer;
  padding-bottom: 150px;
  margin-left: 15px;
  margin-right: 15px;
}

}
