@font-face {
  font-family: "IvoryTrial";
  src: url("../fonts/IvoryLLSub-Light.woff") format("woff");
  font-style: normal;
}

@font-face {
  font-family: "IvoryTrial";
  src: url("../fonts/IvoryLLSub-Light.woff") format("woff");
  font-style: normal;
}

/* Base Body Styling */
body {
  font-family: "IvoryTrial", sans-serif;
  font-size: clamp(
    1rem,
    1.2vw + 1rem,
    18.13px
  ); /* Fluid between 16px and 18.13px */
  line-height: 1.27; /* Keeps a consistent line-height */
  color: #464646; /* Main text color */
}

/* Big Text */
.big-text {
  font-size: clamp(
    1.8rem,
    2vw + 1rem,
    32px
  ); /* Fluid between 1.8rem and 36.09px */
  line-height: 1.22;
  color: #333333;
}

/* Small Text */
.small-text {
  font-size: clamp(
    0.9rem,
    1vw + 0.5rem,
    14.88px
  ); /* Fluid between 0.9rem and 14.88px */
  line-height: 1.29;
  color: #999999;
}

/* For smaller screens, e.g., mobile */

/* For larger screens, e.g., desktop */
@media (min-width: 1400px) {
  body {
    font-size: 18.13px; /* Around 18px for large screens */
    line-height: 23px;
  }

  .big-text {
    font-size: 33px; /* Large text for bigger screens */
    line-height: 38px;
  }

  .small-text {
    font-size: 14.88px; /* Small text for bigger screens */
    line-height: 19.2px;
  }
}

:root {
  --gray: #ebebeb;
}

/* Example usage of the fonts */

body a {
  text-decoration: none;
  color: inherit;
}

.transition main {
  opacity: 0;
}

main {
  opacity: 1;
  transition: opacity 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.bold-text {
  font-weight: bold;
}

.italic-text {
  font-style: italic;
}

.light-text {
  font-weight: 300;
}

.medium-text {
  font-weight: 500;
}

header {
  position: fixed;
  top: 0;
  padding: 1rem;
  box-sizing: border-box;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray);
  background-color: white;
  z-index: 10;
}

footer {
  padding: 1rem;
  box-sizing: border-box;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  border-top: 0.01rem solid var(--gray);
  background-color: white;
  z-index: 10;
}

p {
  min-height: 1rem;
}

header .header-container {
  display: flex;
  gap: 0.3rem;
  flex: 1;
}

header .header-container:first-child {
  flex: 0.5;
}

header .header-container:last-child {
  flex: 0.5;
}

header .header-container nav {
  display: flex;
  gap: 1rem;
}

footer .header-container {
  display: flex;
  gap: 0.3rem;
  flex: 1;
}

header .header-container:nth-child(2) {
  justify-content: center;
}

header .header-container:last-child {
  justify-content: flex-end;
}

header .header-container a {
  color: #c4c4c4;
}

header .header-container .menu-active {
  color: #464646;
}
header .header-container a:hover {
  color: #464646;
}

footer .header-container:nth-child(2) {
  justify-content: center;
}

footer .header-container:last-child {
  justify-content: flex-end;
}



footer .header-container .menu-active {
  color: #464646;
}
footer .header-container a:hover {
  color: #464646;
}

/* HOME */

.home {
  height: 100vh;
  height: 100dvh;
  width: 100vw;
}

.home img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.fake-menu {
  width: 100vw;
  position: fixed;
  top: 50%;
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  box-sizing: border-box;
  color: white;
  transform: translateY(-50%);
}

.fake-menu span {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fake-menu span.show {
  opacity: 1;
}
/* MAIN GRID */

.main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  padding: var(--padding-main-top-small) 0 var(--padding-main-bottom);
  transform: translateZ(0);
  padding-bottom: 2rem;
  padding-top: 1.5rem;
}

.doubleHeight {
  height: 200vh !important;
}

.mobilier-grid {
  /* grid-template-columns: repeat(2, 1fr); */
  padding-top: 3.5rem;
}

.mobilier-grid .row {
  aspect-ratio: 2/2.5;
}

.mobilier-grid img {
  background-color: rgb(241, 241, 241);
}

.row {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--duration-long, 0.35s),
    filter var(--duration-long, 0.35s) !important;
  transform: translateZ(0);
  will-change: transform;
  aspect-ratio: 1.3;
  padding: 0;
}

.row a {
  width: 100%;
  height: 100%;
  display: block;
}

.word-wrapper {
  display: flex;
  gap: 1rem;
}

.row .title {
  text-align: center;
  display: block;
  position: absolute;
  top: calc(100% - 2em);
  width: 80%;
  left: 10%;
  opacity: 1;
  transition: opacity var(--duration-default, 0.1s);
}

.row:hover .title {
  opacity: 1;
  color: black;
}

.row .image-container {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 100%;
  max-width: 100%;
  padding: 12% 12%;
  box-sizing: border-box;
}

.row .orientation-landscape img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.row .orientation-portrait img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

/* CHRONOLOGIE */

.main-chronologie {
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
}

.main-chronologie li {
  padding: 1rem;
  border-bottom: 0.01rem solid var(--gray);
}

.main-chronologie li {
  color: var(--gray);
}

.main-chronologie li a {
  display: flex;
  justify-content: space-between;
}

.main-chronologie li a > * {
}

.main-chronologie li:hover {
  color: #464646;
}

/* PROJECTS */

.keen-slider {
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  display: flex;
  overflow: hidden;
}

.keen-slider__slide {
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.keen-slider__slide img {
  height: 90%;
  width: 90%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.large img {
  height: 90%;
  width: 90%;
}

.medium img {
  height: 70%;
  width: 70%;
}

.small img {
  height: 50%;
  width: 50%;
}

main {
  position: relative;
}
.mobiliers-wrapper {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  box-sizing: border-box;
}

.sticky-wrapper {
  height: 100%;
  width: 100%;
  position: absolute;
  bottom: 0;
}

.sticky-button {
  position: sticky;
  bottom: 0;
}

.button {
  cursor: pointer;
}

.mobilier-container {
  font-size: 0.8rem;
  background-color: rgb(246, 246, 246);
  border-radius: 0.1rem;
  overflow: hidden;
  display: none;
}

.desc-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.desc-wrapper .mobilier-container {
  display: flex;
  width: max-content;
  height: 2rem;
}

.desc-wrapper .mobilier {
  display: flex;
  gap: 1rem;
  font-size: 1rem;
}

.layout-content .mobilier-container {
  width: max-content;
  display: flex;
}

.active {
  display: flex;
  width: max-content;
}
.mobilier-container .title {
  padding: 1rem;
  box-sizing: border-box;
}
.image-wrapper {
  width: 2rem;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.layout-content {
  width: 100vw;
  min-height: 100vh;
}
.layout {
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  position: relative;
  align-items: center;
}

.full-bleed {
  height: 100%;
  width: 100%;
}

figure {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;

  box-sizing: border-box;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.column {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.fitToHeight {
  height: auto;
  padding: 3rem;
  box-sizing: border-box;
}

.text-wrapper {
  width: 50ch;
  text-align: center;
}

/* A PROPOS */

.apropos-wrapper {
  display: flex;
  flex-direction: column;
  padding-top: 4.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  min-height: calc(100vh - 2rem);
  box-sizing: border-box;
}

.apropos-wrapper .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--gray);
}

.apropos-wrapper h2 {
  line-height: 120%;
}

.ap-text-wrapper {
  width: 42ch;
  padding-right: 2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.ap-text-wrapper p {
  padding-bottom: 2rem;
}

.ap-image-wrapper {
  width: calc(33% - 0.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.ap-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.25rem;
}

.bottom {
  display: flex;
  flex-direction: column;
}

.filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.filters a {
  color: var(--gray);
}

.project-page .a-active {
  color: #464646;
}

.project-page .a-active::after {
  content: url("../img/cross.svg");
  height: 0.6rem;
  width: 0.6rem;
  margin-left: 0.25rem;
  display: inline-block;
}
.project-page a:hover {
  color: #464646;
}



main {
  min-height: calc(100vh - 8rem);
}

/* PROJECT PAGE */

.slider-informations {
  position: absolute;
  bottom: 0;
  padding: 1rem;
  box-sizing: border-box;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  border-bottom: 0.01rem solid var(--gray);
  z-index: 10;
}

.slider-informations span:first-child {
  opacity: 0;
  pointer-events: none;
}

.informations-wrapper {
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: scroll;
  background-color: white;
  display: flex;
  padding: 1rem;
  padding-top: 2.5rem;
  box-sizing: border-box;
  gap: 2rem;
  font-size: 1.5rem;
  line-height: 110%;
  justify-content: space-between;
  align-items: center;
  justify-content: center;
}

.sub-content {
  display: flex;
  flex-direction: column;
}

.informations-wrapper .col {
  flex: 0.6;
}

.thumbnails-wrapper {
  display: flex;
  gap: 1rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
}

.thumbnails-wrapper img {
  cursor: zoom-in;
  height: 100%;
}

.thumbnails-wrapper img:last-child {
}

.hidden-informations .informations-wrapper {
  display: none;
}

.counter .actual-position {
  opacity: 1 !important;
}

.floating-img {
  aspect-ratio: 1.2;
  right: 1rem;
  top: 5rem;
  position: fixed;
  pointer-events: none;
  width: calc(100vw / 4);
}

.floating-img img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.external {
  cursor: ne-resize;
}

.filters-wrapper {
  gap: 1rem;
  display: flex;
}

.filters-wrapper a {
  color: #999999;
}

.gap {
  gap: 3rem;
}

.slider-img-wrapper {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem;
  box-sizing: border-box;
}

.long-slide .slider-img-wrapper:first-child {
  padding-right: 0;
  justify-content: flex-end;
}

.long-slide .slider-img-wrapper:first-child img {
  object-position: right;
}

.long-slide .slider-img-wrapper:last-child {
  padding-left: 0;
  justify-content: flex-start;
}

.long-slide .slider-img-wrapper:last-child img {
  object-position: left;
}

.gap .slider-img-wrapper:first-child {
  padding-right: 0;
  justify-content: center;
}

.gap .slider-img-wrapper:first-child img {
  object-position: right;
}

.gap .slider-img-wrapper:first-child {
  padding-right: 0;
  justify-content: flex-end;
}

.gap .slider-img-wrapper:last-child {
  padding-left: 0;
  justify-content: flex-start;
}

.gap .slider-img-wrapper:last-child img {
  object-position: left;
}

.keen-slider__slide img {
  max-height: 90%;
}

.grid {
  display: flex;
  gap: 1rem;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.grid .col {
  flex: 1;
}

.grid .col .el {
  display: flex;
  flex-direction: column;
}

.project-page .filters-wrapper {
  padding-top: 6.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

h2 {
  font-size: 1.5rem;
}

.grid h2 {
  padding-bottom: 0.25rem;
}

h3 {
  font-size: 1rem;
}

em {
  font-style: italic;
}

.description {
  display: flex;
  flex-direction: column;
}

.description h1 {
  padding-bottom: 0.5rem;
}

@media (max-width: 800px) {
  body {
    font-size: 16px;
  }
  header {
    flex-direction: column;
    gap: 0;
  }

  header .header-container {
    justify-content: center;
  }

  header .header-container:last-child {
    justify-content: center;
  }

  .main-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(1, 1fr);
    padding-top: 6.5rem;
  }

  .project-page .projects-grid {
    padding-top: 0.5rem;
  }

  .mobilier-grid {
    padding-top: 5rem;
    grid-row-gap: 30px;
  }

  header .header-container:nth-child(2) {
    order: 2;
  }
  .filters {
    overflow: scroll;
    width: 100vw;
    display: flex;
    padding-left: 1rem;
    justify-content: flex-start;
    align-items: center;
    justify-content: center;
  }

  .filters-wrapper {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    box-sizing: border-box;
  }

  .fake-menu {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .word-wrapper {
    justify-content: center;
    align-items: center;
  }

  .word-wrapper {
    width: 100%;
  }

  .home {
    display: block;
  }

  .filters a {
    width: max-content;
  }

  .ap-text-wrapper {
    width: 100%;
  }

  .text-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .text-wrapper p {
    width: 90%;
  }

  .apropos-wrapper .top {
    flex-direction: column;
  }
  .ap-image-wrapper {
    width: 100%;
    padding-bottom: 2rem;
    padding-top: 2rem;
  }

  .grid {
    flex-wrap: wrap;
  }
  .grid .col {
    width: 50%;
    flex: none;
  }

  .row .title {
    top: calc(100% - 1em);
  }

  .apropos-wrapper {
    padding-top: 6rem;
  }

  .gap {
    gap: 0rem;
  }

  .slider-img-wrapper {
    padding: 0;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .image-project .header-container:last-child {
    display: none;
  }

  .informations-wrapper .col {
    width: 100%;
    flex: 1;
  }

  .thumbnails-wrapper {
    width: 100%;
    flex-wrap: wrap;
  }

  .projects-grid {
    grid-row-gap: 70px;
    padding-bottom: 5rem;
  }

  .project-container {
    height: 100dvh;
  }

  .keen-slider {
    height: 100dvh;
  }

  footer {
    flex-direction: column;
  }

  footer .header-container {
    align-items: center !important;
    justify-content: center !important;
  }

  body {
    font-size: 1rem; /* Fixed size for small screens (about 16px) */
    line-height: 1.4rem;
  }

  .big-text {
    font-size: 1.5rem; /* Fixed size for small screens */
    line-height: 120%;
  }

  .small-text {
    font-size: 0.8rem; /* Fixed size for small screens */
    line-height: 1.1rem;
  }

  .ap-text-wrapper {
    padding-right: 0;
  }

h2 {
    font-size: 1.2rem;
  }

}

.header-container {
  text-align: center;
}

.home-page {
  height: 100dvh;
  overflow: hidden;
}