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

html {
  scroll-behavior: smooth;
  justify-content: center;
 
}

::-webkit-scrollbar {
  width: auto;
}
::-webkit-scrollbar-track {
  background: #343452; 
}

::-webkit-scrollbar-thumb {
  background-color: #335776; 
  border-radius: 10px; 
  border: 2px solid #3B3939; 
}

::-webkit-scrollbar-thumb:hover {
  background-color: #234d65; 
}


body {
  font-family: "space-grotesk-variable";
  font-size: 18px;
  line-height: 1.4;
  color: white;
  background: #39395A;
  background-size: cover;
  margin: 0;
  overflow-x: hidden;
  --speed: 2s; 
}

.notcanvas .p5Canvas{
  display: none;
}
.page {
  font-size: 20px;
}

.logo {
  display: flex;
  width: 160px;
  
}
.center-content {
  display: flex;
  flex-direction: column; 
  margin: 20px;
  padding: 20px;
  align-items: center;

}

.lph2 {
  font-family: "utopia-std-subhead";
  font-style: italic;
  font-weight: 400;
  font-size: 62px;
  line-height: 1;
  margin: 0;
  color: #DEC767;
  margin-top: 100px;
  margin-bottom: 50px;
}

.lph2_space{
  margin-bottom: -50px;
}

.lph3 {
  font-family: "utopia-std-subhead";
  font-style: italic;
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
  margin: 0;
  color: #DEC767;
  margin-top: 100px;
  margin-bottom: 100px;
}

.lpp {
  font-size: 18px;
  line-height: 25px;
}

.uppercase {
  text-transform: uppercase;
}

.imgcrow {
  max-width: 50%;
  margin-left: -100px;
}

.img-tel {
  max-width: 45%;
}


.burgerm span {
  background-color: white;
  width: 25px;
  height: 2px;
  margin: 3px;
  transition: all 0.3s ease;
  display: inline-block;
}

.list {
  font-size: 16px;
}

.ulist {
  list-style: decimal;
  padding: 0px;
}

.ulist li {
  margin: 30px;
}


@media (min-width: 500px) {
  img {
    width: 600px;
  }
  .logo {
    width: 360px;
    display: flex;
    justify-content: center;
  }
  
  .nav {
    top: 100px;
    right: 300px;
  }
 
}
@media (min-width: 992px) {

  .lph2 {
    font-size: 100px;
  }
  .lph3 {
    font-size: 28px;
  }
  .lpp {
    font-size: 22px;
    line-height: 31px;
  }
 
  figure {
    display: flex;
    flex-direction: column;
  }
  .imglp {
    width: 100%;
  }
  
}
@media (min-width: 1200px) {
  img {
    max-width: 500px;
  }
  .img-tel {
    max-width: 20%;
  }
}
@media (min-width: 1400px) {
  body:after, body:before {
    content: "";
    display: block;
    position: absolute;
    background-color: #292039;
    top: 0%;
    left: 0%;
    height: 100%;
    width: 100%;
    transform: scale(0);
    z-index: 10;
    pointer-events: none;
    -webkit-animation: curtain 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation: curtain 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }
  body:after {
    transform-origin: center left;
  }
  body:before {
    transform-origin: center right;
  }
  @-webkit-keyframes curtain {
    from {
      transform: scaleX(50);
    }
    to {
      transform: scaleX(0);
    }
  }
  @keyframes curtain {
    from {
      transform: scaleX(50);
    }
    to {
      transform: scaleX(0);
    }
  }
  @-webkit-keyframes pageAnimation {
    to {
      transform: scaleY(50);
    }
  }
  @keyframes pageAnimation {
    to {
      transform: scaleY(50);
    }
  }
  .page-animation:after {
    -webkit-animation: pageAnimation 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation: pageAnimation 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }
  .page-animation:before {
    -webkit-animation: pageAnimation 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation: pageAnimation 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }
  figure .img-cont {
    width: 500px;
    height: 320px;
    overflow: hidden;
    cursor: pointer;
  }
  figure .img-cont.img-cont--hless {
    height: 280px;
  }
  figure .img-cont.img-cont--hlesser {
    height: 250px;
  }
  figure .img-cont.img-cont--tiny {
    width: 203px;
    height: 203px;
  }
  figure .img-cont.img-cont--wless {
    width: 350px;
    height: 230px;
  }
  img {
    width: 40%;
    transition: all 0.2s ease;
    margin-left: 0;
  }
  img:hover {
    transform: scale(1.2);
  }
  img.no-scale {
    transition: none;
  }
  img.no-scale:hover {
    transform: none;
  }
}


nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 10vh;
  font-family: "space-grotesk-variable";
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 10;
  
}

.nav-links {
  position: absolute;
  transform: translate(-5%, -5%);
  text-decoration: none;
  font-weight: 200;
  font-size: 16px;
  color: #ffffff;
  display: block;
  position: relative;
  display: flex;
  padding: 0 0 0 0;
  list-style: none;
  cursor: pointer;
}

.nav-links .text__active {
  text-decoration: none;
  border-bottom: 1px solid #8B3139;
  color: #8B3139;
  
}

a {
  font-size: 35px;
  font-weight: bold;
  font-family: sans-serif;
  text-decoration: none;
  color: #EEEEF6;
}
a:hover{
  color:#8B3139;
}

.scroll {
  overflow-y: hidden;
}

.burgerm {
  display: flex;
  flex-wrap: wrap;
  cursor: pointer;
  font-size: 0;
  background-color: transparent;
  border: none;
  max-width: 35px;
  z-index: 23;
}

.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #0E1014;
}

.sticky nav {
  min-height: 8vh;
}

.container {
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Media Query pour les écrans de téléphone */
@media (max-width: 600px) {
    .image-gallery,
    .canvas-container {
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }
  }
.flex-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
  gap: 40px;
  margin-top:200px;
  margin-bottom: 200px;
}
.seperation{
  margin-top:200px;
  font-size: 50px;
  margin-bottom:200px;
}
.flex-container img {
  max-width: 100%;
  height: 50%;
  border: 2px solid #333;
  
}
.flex-container img.illustrator {
  max-width: 80%;
  
}
.scrolling-text {
  overflow: hidden;
  width: 100vw; 
}

.scrolling-content {
  white-space: nowrap; 
  display: inline-flex;
}

.scroll-container {
  display: inline-flex;
  white-space: nowrap;
}

.scroll-item {
  display: inline-block;
  padding-right: 30px; 
  animation: scrolling var(--speed, 10s) linear infinite; 
}


@keyframes scrolling {
  from {
      transform: translateX(0);
  }
  to {
      transform: translateX(-100%);
  }
}

#particle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}


@media all and (max-width: 991px) {
  .nav-links {
    position: fixed;
    right: 0;
    height: 100vh;
    top: 0px;
    background-color: #2E3441;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding-top: 80px;
    width: 100%;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.05, 0.69, 0.14, 1);
    overflow-x: hidden;
    overflow-y: scroll;
    z-index: 21;
  }
  .nav-links li {
    opacity: 0;
  }
  .nav-active {
    transform: translateX(0%);
  }
  @-webkit-keyframes navLinkFade {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0px);
    }
  }
  @keyframes navLinkFade {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0px);
    }
  }
  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 5px);
  }
  .toggle .line2 {
    opacity: 0;
  }
  .toggle .line3 {
    transform: rotate(45deg) translate(-6px, -6px);
  }
}
@media (min-width: 992px) {
  a.linkws {
    font-size: 24px;
  }
  .burgerm {
    display: none;
  }
  .nav-links .text {
    padding: 10px 15px;
  }
}
@media (min-width: 1400px) {
  .nav-links {
    padding: 0 0 0 0;
    font-size: 18px;
    letter-spacing: 2px;
  }
}
@media (min-width: 1500px) {
  .nav-links {
    letter-spacing: 3px;
  }
  .nav-links .text {
    padding: 15px 20px;
  }
  .logo a {
    font-size: 18px;
  }
}



@media (min-width: 992px) {
  nav {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 10vh;
    font-family: "space-grotesk-variable";
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
  }
}
@media (min-width: 1000px) {
  .flex-container img {
    max-width: 30%;
    height: 50%;
    border: 2px solid #333;
    
  }
  .flex-container img.illustrator {
    max-width: 15%;
    
  }
}


@media (min-width: 1600px) {
  .lpp {
    font-size: 24px;
    line-height: 34px;
  }
}
.fixed {
  position: relative;
  margin-top: 100px;
  z-index: -10;
}

@media (min-width: 2000px) {
  .logo a {
    font-size: 20px;
  }
}
footer {
  position: relative;
  width: 100%;
  background: #292039;
  min-height: 25px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: -50px;
}

.footer__small {
  margin-top: 200px;
}

footer .media_logo, footer .extra, footer p {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .media_logo li, footer .extra li {
  list-style: none;
}

footer .media_logo li a {
  font-size: 2rem;
  color: white;
  margin: 0 20px;
  display: inline-block;
  transition: 0.5s;
}

footer .media_logo li a:hover {
  transform: translateY(-10px);
}

footer .extra li a {
  font-size: 1rem;
  color: white;
  margin: 0 20px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
}

footer .extra li a:hover {
  opacity: 1;
  color: #DEC767;
}

footer p {
  color: white;
  text-align: center;
  font-size: 0.8em;
  padding-top: 10px;
}

.imgdwt {
  width: 50px;
  height: 30px;
  fill: white;
}

.footerpui {
  font-size: 16px;
}


@media screen and (min-width: 1024px) {
  #particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; 
  }
}