



/* HEADER */

body>header {
  width: 100%;
  height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 2.083vw;

  position: relative;

  z-index: 1;
}


#h-nav {
  width: 100%;

  display: flex;
  justify-content: space-between;

}

#h-nav nav {
  display: flex;
  justify-content: right;

  gap: 5.556vw;

  padding: 2.083vw 0;
  height: fit-content;

  width: 50%;
}

#h-item-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#h-item-bar a {
  color: var(--dark);
  font-family: var(--font-accent);
  font-size: 3.333vw;
  font-weight: 400;
}

.btn-link {
  font-family: var(--font-accent);
  font-size: 2.778vw;
  font-weight: 400;

  -webkit-text-stroke-width: 0.035vw;
  -webkit-text-stroke-color: var(--dark);

  padding: 0.833vw 1.389vw;
  border: 0.25vw solid var(--dark);

  display: flex;
  align-items: center;
  gap: 1.389vw;


  height: fit-content;
}

.btn-link.light {
  -webkit-text-stroke-color: var(--light);
  border: 0.25vw solid var(--light);
  color: var(--light);

}

.btn-link .icon {
  width: 3.403vw;
}

.btn-link.light .icon path {
  stroke: var(--light);
}

.btn-link .icon path {
  stroke-width: 0.208vw;
}

#h-logo svg {
  width: 40.485vw;
  height: 15.498vw;
}


#h-info {
  width: 100%;
  padding: 0 3vw;

  height: fit-content;

  display: flex;
  align-items: flex-end;

  position: relative;
}

#h-info .title-container {
  display: flex;
  padding: 2.778vw 3vw 2.778vw 2.083vw;
  flex-direction: column;
  align-items: flex-start;

  background-color: var(--dark-main-snd);

  width: fit-content;
}

#h-info h1 {
  color: var(--light);
  -webkit-text-stroke-width: 0.104vw;
  -webkit-text-stroke-color: var(--light);
  font-family: var(--font-accent);
  font-size: 4.444vw;
  font-weight: 400;
}

#h-info .title-container p {
  color: var(--light-attenuate);
  font-family: var(--font-body);
  font-size: 2vw;
  font-weight: 400;
}

#h-info .info-container {
  display: flex;
  flex-direction: column;
  padding: 1.042vw 1.389vw;
  gap: 0.694vw;

  background-color: var(--light);

  width: 34.722vw;
  height: fit-content;

  position: relative;
  top: 3vw;
  left: -2vw;
}

#h-info .info-container p {
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 1.389vw;
  font-weight: 400;
  line-height: 120%;

  width: 100%;
}

#h-banner {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;

  display: flex;
  justify-content: center;
  align-items: flex-end;

  width: 100%;
  height: 100%;

  padding: 0 1.389vw;

}

#h-banner img {
  width: 100%;
  position: absolute;

  top: 18.056vw;
  padding: 0 1.389vw;

}

/* FIN - HEADER */



/* BACKGROUNDS */

.background {
  position: absolute;
  inset: 0;
  z-index: -5;
  overflow: hidden;
  pointer-events: none;
}

.background-track {
  display: flex;
  flex-direction: row;

  width: max-content;
  height: 100%;

  animation: background-scroll 40s linear infinite;
  will-change: transform;
}

.background-track img {
  display: block;

  width: 100vw;
  height: 100%;

  flex: 0 0 100vw;
  max-width: none;

  object-fit: cover;
}

@keyframes background-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Accessibilité */

@media (prefers-reduced-motion: reduce) {
  .background-track {
    animation: none;
  }
}


/* FIN - BACKGROUNDS */

/* FOREGROUNDS */

.foreground {
  position: absolute;
  inset: 0;
  z-index: 10;
  overflow-x: hidden;
  pointer-events: none;

  height: 105vh;
  width: 100%;



}

.foreground::-webkit-scrollbar {
  display: none;
}

.foreground-track {
  display: flex;
  flex-direction: row;

  animation: foreground-scroll 25s linear infinite;
  will-change: transform;
}

.foreground-track img {
  display: block;
  width: 100%;
  height: 105vh;

  position: relative;
  z-index: 10;


}



@keyframes foreground-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.dark {
  background-color: var(--dark);
  color: var(--light);
}


/* TITLE */

.container .title {
  color: var(--light);
  font-family: var(--font-title);
  font-size: 8.889vw;
}

.container .title-container {
  width: 50%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.container .undertext {
  width: 100%;
  text-align: right;
  color: var(--light-attenuate);

  -webkit-text-stroke-color: var(--light-attenuate);
  font-family: var(--font-accent);
  font-size: 2.5vw;

  position: relative;
  top: 1.389vw;

}

.container header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;

}

/* END - TITLE */


/* PROJECT */

.project .title-project {
  color: var(--light);
  font-family: var(--font-title);
  font-size: 3.333vw;
}

.project .info-project p {
  color: var(--light-attenuate);
  font-family: var(--font-body);
  font-size: 1.806vw;
  font-weight: 300;
  line-height: 120%;
  letter-spacing: 0.054vw;
}

.two-project{
  display: flex;
  gap: 6.25vw;
}

.project img{
  width: 100%;
  height: 35vw;


  object-fit: cover;

  position: relative;

}

.project .picture {
  position: relative;
    margin-bottom: 1.389vw;

}

.project:hover .picture .overlay{
  position: absolute;
  top: 0;
    height: 35vw;
    width: 100%;

background: linear-gradient(359deg, #180000 5.35%, rgba(24, 0, 0, 0.80) 31.68%, rgba(16, 0, 0, 0.54) 48.14%, rgba(0, 0, 0, 0.00) 72.59%), url(<path-to-image>) rgba(211, 211, 211, 0.021) -14.941px -51.342px / 101.995% 192.153% no-repeat;
}

.project .overlay{

}

/* END - Project */