@charset "UTF-8";
@font-face {
  font-family: "Inria Serif";
  src: url("../font/InriaSerif-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: "Work Sans";
  src: url("../font/WorkSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Work Sans";
  src: url("../font/WorkSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Work Sans";
  src: url("../font/WorkSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Inter";
  src: url("../font/Inter_18pt-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Inria Serif";
  src: url("../fonts/InriaSerif-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}
#langue button {
  padding: 1rem;
  width: 4rem;
  height: 4rem;
  border-radius: 2rem;
  border: none;
  background-color: rgb(249, 246, 243);
}
#langue button:hover {
  background-color: rgb(255, 146, 95);
}

.archive {
  max-width: 3000px;
  padding: 4rem;
  display: flex;
  flex-direction: column;
}

.shelf {
  position: relative;
  height: 10px;
  display: flex;
  align-items: flex-end;
  background: #d4b178;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
}

#shelf1 {
  margin-top: clamp(5rem, 9vw, 9rem);
}

#shelf2 {
  margin-top: clamp(16rem, 25vw, 25rem);
}

#shelf3 {
  margin-top: clamp(8rem, 10vw, 10rem);
}

#shelf4 {
  margin-top: clamp(8rem, 11vw, 11rem);
}

#shelf5 {
  margin-top: clamp(13rem, 17vw, 17rem);
}

#shelf6 {
  margin-top: clamp(18rem, 30vw, 30rem);
}

.box {
  position: absolute;
  bottom: 10px;
  z-index: 2;
}

.box-pink {
  width: clamp(160px, 28vw, 260px);
  height: clamp(50px, 8vw, 80px);
  background: #e8a5d2;
  right: clamp(60px, 12vw, 120px);
}
.box-pink::before {
  content: "";
  position: absolute;
  top: 0px;
  left: -4px;
  width: calc(100% + 12px);
  height: clamp(40px, 7vw, 70px);
  background: rgb(238.2283185841, 189.3716814159, 222.185840708);
  border-radius: 0;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.box-pink .label {
  position: absolute;
  background: rgb(254, 250, 244);
  font-size: clamp(0.65rem, 1vw, 0.7rem);
  padding: 1rem 1rem;
  color: grey;
  font-family: "Work Sans", sans-serif;
  font-weight: 300;
  font-style: italic;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 10;
  letter-spacing: 0.1rem;
}
.box-pink .label:hover {
  opacity: 0.8;
}
.box-pink .label {
  top: 15%;
  left: 10%;
  transition: transform 0.3s ease;
}
.box-pink:hover::before {
  transform: translateY(-25%) rotate(-3deg);
}
.box-pink:hover .label {
  transform: translateY(-25%) rotate(-3deg);
}

.col-shelf {
  position: absolute;
  bottom: 10px;
  left: clamp(20px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 2;
}

#box-grey1,
#box-grey2,
#box-grey3 {
  position: relative;
  width: clamp(200px, 38vw, 400px);
  height: clamp(45px, 7vw, 68px);
  background: #c8c8d0;
}
#box-grey1::before,
#box-grey2::before,
#box-grey3::before {
  content: "";
  position: absolute;
  top: 0px;
  left: -4px;
  width: calc(100% + 8px);
  height: clamp(40px, 6vw, 60px);
  background: rgb(223.2461538462, 223.2461538462, 229.1538461538);
  border-radius: 0;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
#box-grey1::after,
#box-grey2::after,
#box-grey3::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 15px;
  background: #c8c8d0;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.15);
  border-radius: 20px 20px 0px 0px;
  z-index: 10;
}
#box-grey1 .label,
#box-grey2 .label,
#box-grey3 .label {
  position: absolute;
  background: rgb(254, 250, 244);
  font-size: clamp(0.65rem, 1vw, 0.7rem);
  padding: 1rem 1rem;
  color: grey;
  font-family: "Work Sans", sans-serif;
  font-weight: 300;
  font-style: italic;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 10;
  letter-spacing: 0.1rem;
}
#box-grey1 .label:hover,
#box-grey2 .label:hover,
#box-grey3 .label:hover {
  opacity: 0.8;
}
#box-grey1 .label,
#box-grey2 .label,
#box-grey3 .label {
  top: 40%;
  transform: translateY(-50%);
  left: 10px;
}

#box-grey2 {
  background: rgb(191.75, 191.75, 200.95);
}

#box-grey3 {
  background: rgb(186.25, 186.25, 196.25);
}

.box-blue {
  width: clamp(180px, 30vw, 310px);
  height: clamp(80px, 12vw, 120px);
  background: #b8ddea;
  right: clamp(30px, 6vw, 80px);
}
.box-blue::before {
  content: "";
  position: absolute;
  top: 0px;
  left: -4px;
  width: calc(100% + 10px);
  height: clamp(40px, 6vw, 45px);
  background: rgb(203.6793478261, 230.4239130435, 239.8206521739);
  border-radius: 0;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.box-blue .label {
  position: absolute;
  background: rgb(254, 250, 244);
  font-size: clamp(0.65rem, 1vw, 0.7rem);
  padding: 1rem 2.5rem;
  color: grey;
  font-family: "Work Sans", sans-serif;
  font-weight: 300;
  font-style: italic;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 10;
  letter-spacing: 0.1rem;
}
.box-blue .label:hover {
  opacity: 0.8;
}
.box-blue .label {
  bottom: 8%;
  left: 5%;
}

.box-purple {
  width: clamp(160px, 26vw, 280px);
  height: clamp(50px, 8vw, 78px);
  background: #4b2e52;
  left: clamp(20px, 4vw, 50px);
}
.box-purple::before {
  content: "";
  position: absolute;
  top: 0px;
  left: -4px;
  width: calc(100% + 10px);
  height: clamp(45px, 7vw, 70px);
  background: rgb(98.90625, 60.6625, 108.1375);
  border-radius: 0;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.box-purple .label {
  position: absolute;
  background: rgb(254, 250, 244);
  font-size: clamp(0.65rem, 1vw, 0.7rem);
  padding: 1rem 1rem;
  color: grey;
  font-family: "Work Sans", sans-serif;
  font-weight: 300;
  font-style: italic;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 10;
  letter-spacing: 0.1rem;
}
.box-purple .label:hover {
  opacity: 0.8;
}
.box-purple .label {
  top: 15%;
  left: 10%;
  transition: transform 0.3s ease;
}
.box-purple:hover::before {
  transform: translateY(-25%) rotate(-3deg);
}
.box-purple:hover .label {
  transform: translateY(-25%) rotate(-3deg);
}

.box-salmon {
  width: clamp(200px, 36vw, 400px);
  height: clamp(50px, 8vw, 68px);
  background: #ff913c;
  right: clamp(20px, 4vw, 40px);
}
.box-salmon::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -4px;
  width: calc(100% + 10px);
  height: 14px;
  background: rgb(255, 168.0153846154, 100.8);
  border-radius: 0;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.box-salmon .label {
  position: absolute;
  background: rgb(254, 250, 244);
  font-size: clamp(0.65rem, 1vw, 0.7rem);
  padding: 1rem 1rem;
  color: grey;
  font-family: "Work Sans", sans-serif;
  font-weight: 300;
  font-style: italic;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 10;
  letter-spacing: 0.1rem;
}
.box-salmon .label:hover {
  opacity: 0.8;
}
.box-salmon .label {
  top: 50%;
  left: 3%;
  transform: translateY(-50%);
}
.box-salmon:hover::before {
  transform: translateY(-25%) rotate(-3deg);
}

.box-darkBlue {
  width: clamp(220px, 38vw, 420px);
  height: clamp(55px, 9vw, 85px);
  background: #292952;
  left: clamp(20px, 5vw, 60px);
}
.box-darkBlue::before {
  content: "";
  position: absolute;
  top: 0px;
  left: -4px;
  width: calc(100% + 10px);
  height: clamp(50px, 8vw, 80px);
  background: rgb(54.6, 54.6, 109.2);
  border-radius: 0;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.box-darkBlue .label {
  position: absolute;
  background: rgb(254, 250, 244);
  font-size: clamp(0.65rem, 1vw, 0.7rem);
  padding: 1rem 1.5rem;
  color: grey;
  font-family: "Work Sans", sans-serif;
  font-weight: 300;
  font-style: italic;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 10;
  letter-spacing: 0.1rem;
}
.box-darkBlue .label:hover {
  opacity: 0.8;
}
.box-darkBlue .label {
  top: 15%;
  left: 3%;
}

.box-kakie {
  width: clamp(200px, 38vw, 420px);
  height: clamp(90px, 14vw, 140px);
  background: #2f4d29;
  right: clamp(20px, 4vw, 40px);
}
.box-kakie::before {
  content: "";
  position: absolute;
  top: 0px;
  left: -4px;
  width: calc(100% + 10px);
  height: clamp(70px, 11vw, 120px);
  background: rgb(63.2508474576, 103.6237288136, 55.1762711864);
  border-radius: 0;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.box-kakie .label {
  bottom: 12%;
  left: 4%;
}

.box-beige {
  width: clamp(120px, 20vw, 220px);
  height: clamp(160px, 26vw, 280px);
  background: #ffdbd5;
  left: clamp(20px, 4vw, 40px);
}
.box-beige::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -4px;
  width: calc(100% + 10px);
  height: 18px;
  background: rgb(255, 227.7428571429, 223.2);
  border-radius: 0;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.box-beige .label {
  position: absolute;
  background: rgb(254, 250, 244);
  font-size: clamp(0.65rem, 1vw, 0.7rem);
  padding: 1.5rem;
  color: grey;
  font-family: "Work Sans", sans-serif;
  font-weight: 300;
  font-style: italic;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 10;
  letter-spacing: 0.1rem;
}
.box-beige .label:hover {
  opacity: 0.8;
}
.box-beige .label {
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
}
.box-beige:hover::before {
  transform: translateY(-20%) translateX(8%) rotate(1deg);
}

.box-brown1,
.box-brown2 {
  width: clamp(130px, 20vw, 200px);
  height: clamp(160px, 26vw, 280px);
  background: #a0691c;
  border-radius: 2px 2px 0 0;
}
.box-brown1::before,
.box-brown2::before {
  content: "";
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  left: 50%;
  width: clamp(50px, 8vw, 88px);
  height: clamp(14px, 2vw, 24px);
  background: rgb(64.5106382979, 42.335106383, 11.2893617021);
  border-radius: 20px;
  transform: translateX(-50%);
  z-index: 3;
}
.box-brown1 .label,
.box-brown2 .label {
  position: absolute;
  background: rgb(254, 250, 244);
  font-size: clamp(0.65rem, 1vw, 0.7rem);
  padding: 1.5rem;
  color: grey;
  font-family: "Work Sans", sans-serif;
  font-weight: 300;
  font-style: italic;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 10;
  letter-spacing: 0.1rem;
}
.box-brown1 .label:hover,
.box-brown2 .label:hover {
  opacity: 0.8;
}
.box-brown1 .label,
.box-brown2 .label {
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
}

.box-brown1 {
  right: clamp(20px, 4vw, 40px);
}

.box-brown2 {
  right: clamp(200px, 26vw, 290px);
}

@media (max-width: 600px) {
  .archive {
    padding: 1.5rem 0.75rem;
  }
  .col-shelf {
    left: 12px;
  }
  .box-brown2 {
    right: clamp(160px, 50vw, 220px);
  }
}
.decor {
  display: none;
}

@media (min-width: 1150px) {
  .decor {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 10px;
    z-index: 1;
  }
  .decor img {
    display: block;
    border-radius: 2px;
    width: clamp(200px, 12vw, 200px);
  }
  .books-shelf1-a img:nth-child(2),
  .books-shelf3-a img:nth-child(2) {
    margin-left: 6px;
  }
  .books-shelf1-a img:nth-child(3),
  .books-shelf3-a img:nth-child(3) {
    margin-left: -4px;
  }
  .books-shelf1-a img:nth-child(4),
  .books-shelf3-a img:nth-child(4) {
    margin-left: 10px;
  }
}
.books-shelf1-a {
  left: clamp(320px, 28vw, 500px);
}
.books-shelf1-a img {
  width: clamp(200px, 15vw, 200px);
}

.books-shelf3-a {
  right: clamp(400px, 40vw, 600px);
}
.books-shelf3-a img {
  width: clamp(150px, 12vw, 150px);
}

.decor-cover {
  display: none;
}

@media (min-width: 1150px) {
  .decor-cover {
    display: block;
    position: absolute;
    bottom: 10px;
    z-index: 3;
  }
  .decor-cover img {
    display: block;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.15));
  }
}
.book-cover-1 {
  right: clamp(450px, 32vw, 700px);
}
.book-cover-1 img {
  height: clamp(220px, 14vw, 220px);
}

.book-cover-2 {
  right: clamp(150px, 18vw, 300px);
}
.book-cover-2 img {
  height: clamp(100px, 12vw, 180px);
}

.paint {
  left: clamp(300px, 70vw, 580px);
}
.paint img {
  height: clamp(180px, 20vw, 300px);
}

#backdrop-archive {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 100;
}
#backdrop-archive.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

#modal-archive {
  position: relative;
  display: flex;
  max-width: 550px;
  min-height: 200px;
  background: #fffdf9;
  transform: rotate(-3.5deg);
  font-family: "Work Sans", sans-serif;
  font-weight: 200;
  padding: 2rem;
  margin: 5rem;
}

#modal-archive-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-right: 30px;
  font-family: "Work Sans", sans-serif;
  font-weight: 800;
  letter-spacing: 0.1rem;
}
#modal-archive-header img {
  width: 30px;
  height: auto;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.15) brightness(0.95) sepia(0.05);
  mix-blend-mode: multiply;
}

#modal-archive-img {
  width: 170px;
  height: auto;
  padding-top: 28px;
  overflow: hidden;
}
#modal-archive-img img,
#modal-archive-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.15) brightness(0.95);
  mix-blend-mode: multiply;
}

#modal-archive-infos {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 27px 12px 12px 14px;
  gap: 4px;
  min-width: 0;
}
#modal-archive-infos h2 {
  font-size: 1.4rem;
  font-weight: 300;
  margin: 0;
  color: #2a1e05;
  font-family: "Work Sans", sans-serif;
  letter-spacing: 0.1rem;
}
#modal-archive-infos #type {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
#modal-archive-infos #info {
  font-size: 1rem;
  letter-spacing: 0.12em;
  padding-bottom: 1rem;
}
#modal-archive-infos ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#modal-archive-infos ul li {
  display: flex;
  gap: 4rem;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
#modal-archive-infos ul li span:first-child {
  min-width: 40px;
  color: #2a1e05;
  font-family: "Work Sans", sans-serif;
  letter-spacing: 0.1rem;
}
#modal-archive-infos ul li span:last-child {
  opacity: 0.65;
}

/* INTERACTIVE CANVA___________________________________________________________________ */
.canva-wrapper {
  position: relative;
}

#textContainer-about {
  position: absolute;
  margin: 5rem;
  top: 10%;
  max-width: 800px;
  pointer-events: none;
}
#textContainer-about #displayDescription {
  font-size: 4rem;
  opacity: 0.8;
  color: rgb(233, 230, 227);
}

#arrowImg {
  position: absolute;
  height: 3rem;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.8;
  animation: slideDown 2s infinite alternate;
}
@keyframes slideDown {
  0% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(20%);
  }
}

/* GRID _____________________________________________________________ */
.container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.container #portrait {
  max-width: 300px;
}
.container img {
  width: 100%;
  height: 100%;
}
.container #description {
  max-width: 800px;
}

.container-workflow {
  margin-top: 8rem;
}
.container-workflow h2 {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  text-align: center;
  font-size: 7rem;
  font-weight: 400;
  margin: 0;
  opacity: 0.8;
}
.container-workflow img {
  width: 100%;
  height: 100%;
}

.container-expe {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 5rem;
  gap: 2.5rem;
}
.container-expe .infos {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.container-expe .infos h3 {
  font-family: "Inter", sans-serif;
  margin-bottom: 1rem;
}
.container-expe .infos li {
  list-style: none;
  line-height: 1.6;
}

/* CONTACT___________________________________________________________________ */
#footer-contact {
  padding: 6rem 3rem 1rem 3rem;
  overflow: hidden;
  background: linear-gradient(to top, rgb(252, 255, 168), transparent);
}
#footer-contact #footer-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
#footer-contact #footer-text #mail img {
  width: 80%;
  height: auto;
  margin-left: 100px;
}
#footer-contact #footer-text #mail img:hover {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><circle cx="12" cy="12" r="10" fill="%23FF2900"/></svg>') 12 12, auto;
}
#footer-contact #info-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
#footer-contact #info-footer img {
  width: clamp(1.5rem, 8vw, 5rem);
  height: auto;
}
#footer-contact #info-footer p {
  font-size: clamp(0.8rem, 1vw, 1.2rem);
  margin-top: 2rem;
  color: rgb(16, 18, 37);
  margin: 0;
}

/* INTERACTIVE CANVA___________________________________________________________________ */
.canvas-wrapper {
  position: relative;
  width: 100%;
  height: 93vh;
  overflow: hidden;
}
.canvas-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0.48;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  mix-blend-mode: overlay;
}
.canvas-wrapper #textContainer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.canvas-wrapper #textContainer #displayText {
  font-size: 7rem;
  opacity: 0.8;
  letter-spacing: -1px;
}
.canvas-wrapper #drawing {
  width: 100%;
  height: 100%;
  display: block;
}
.canvas-wrapper #drawing .zone {
  fill: #F8F6F2;
  stroke: rgb(16, 18, 37);
  stroke-width: 0.5;
  cursor: pointer;
  transition: fill 0.15s ease;
}

#arrowImg {
  position: absolute;
  height: 3rem;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.8;
  animation: slideDown 2s infinite alternate;
}
@keyframes slideDown {
  0% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(20%);
  }
}

/* LET'S TALK___________________________________________________________________ */
#letsTalk {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  border: none;
  background-color: rgb(78, 28, 46);
  color: #06ff13;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: all 0.2s ease;
}
#letsTalk:hover {
  width: 8rem;
  height: 8rem;
  font-size: 1.2rem;
  cursor: pointer;
}

.sidebar {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 999;
}
.sidebar #displayT {
  font-size: 1.2rem;
  opacity: 0.5;
  width: 70px;
}
.sidebar .sidebar-section {
  background-color: #e5e4e4;
  padding: 0.6rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.sidebar .sidebar-section #palette {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  width: 70px;
}
.sidebar .sidebar-section .palette-item {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  background-color: var(--c);
  cursor: pointer;
  transition: transform 0.12s, border-color 0.12s, box-shadow 0.12s;
  padding: 0;
}
.sidebar .sidebar-section .palette-item:hover {
  transform: scale(1.18);
}
.sidebar .sidebar-section .palette-item.selected {
  border: 1.5px solid rgb(16, 18, 37);
  transform: scale(1.2);
}
.sidebar .sidebar-section #reset-btn {
  border: none;
  border-radius: 5px;
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  transition: color 0.15s, transform 0.15s;
}
.sidebar .sidebar-section #reset-btn:hover {
  color: rgb(16, 18, 37);
}
.sidebar .sidebar-section #reset-btn:hover {
  transform: rotate(-25deg);
}
.sidebar .sidebar-section #erase-btn {
  border: none;
  border-radius: 5px;
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  transition: color 0.15s, transform 0.15s;
}
.sidebar .sidebar-section #erase-btn:hover {
  color: rgb(16, 18, 37);
}

/* GRID__________________________________________________________________________________________________________________*/
.portfolio-layout {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 3rem;
  align-items: start;
  width: 100%;
  margin-bottom: 10rem;
}

.grid-playground {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
  gap: 1rem;
  height: 70vh;
}
.grid-playground .project {
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.grid-playground .project.active a::after {
  content: "";
  position: absolute;
  inset: 0;
  outline: 1px solid rgb(255, 0, 0);
  outline-offset: -1px;
  pointer-events: none;
  border-radius: 2px;
}
.grid-playground .project a {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.grid-playground .project a .img-default {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.detail-panel {
  position: sticky;
  border-radius: 5px;
  height: 70vh;
  overflow: hidden;
  padding: 1.5rem;
  width: 100%;
  margin: 0;
  outline: 0.5px solid #818181;
}
.detail-panel .detail-content {
  height: 100%;
  display: none;
}
.detail-panel .detail-content img,
.detail-panel .detail-content video {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.detail-panel .detail-content h2 {
  margin-top: 1rem;
  font-size: 2rem;
  font-weight: 600;
}
.detail-panel .detail-content .meta {
  display: block;
  margin-top: 0.25rem;
  opacity: 0.5;
  font-size: 1rem;
}
.detail-panel .detail-content .desc {
  font-size: 1.5rem;
  margin-top: 1rem;
  line-height: 1.4;
}
.detail-panel .detail-default {
  display: block;
  height: 100%;
  padding-left: 2rem;
}
.detail-panel .detail-default .default-desc {
  font-size: clamp(1.6rem, 1.8vw, 2rem);
  line-height: 1.5;
  color: rgb(88, 125, 114);
  max-width: 75%;
}

.highlight {
  font-family: "Inria Serif", serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.6rem, 1.8vw, 2rem);
}

/* INTERACTIVE CANVA___________________________________________________________________ */
#canva {
  display: block;
  width: 100%;
  height: calc(100vh - 7rem);
}

#textContainer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
#textContainer #displayText {
  font-size: 7rem;
  opacity: 0.8;
  letter-spacing: -1px;
}

/* WORK___________________________________________________________________ */
section {
  max-width: 1800px;
  margin: 0 auto;
}
section .container {
  display: flex;
  flex-direction: row;
  top: 0;
  padding: 5rem;
  gap: 5rem;
}
@media (max-width: 768px) {
  section .container {
    flex-direction: column;
    padding: 2rem;
  }
}
section .container .filter {
  width: 120px;
  flex-shrink: 0;
}
section .container .filter h2 {
  font-family: "Inria Serif", serif;
  font-weight: 300;
  font-style: italic;
}
section .container .filter #filter-elements p {
  font-size: 1.3rem;
  cursor: pointer;
}
section .container .filter #filter-elements p:hover, section .container .filter #filter-elements p.active {
  font-weight: 600;
}
@media (max-width: 768px) {
  section .container .filter {
    width: 100%;
  }
  section .container .filter h2 {
    margin-bottom: 0.5rem;
  }
  section .container .filter p.active {
    color: var(--bg);
  }
  section .container .filter #filter-elements {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
  }
  section .container .filter #filter-elements::-webkit-scrollbar {
    display: none;
  }
  section .container .filter #filter-elements p {
    white-space: nowrap;
    padding: 0.4rem 1rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    cursor: pointer;
    flex-shrink: 0;
  }
}
section .container .grid {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}
section .container .grid .project {
  cursor: pointer;
  position: relative;
  z-index: 2;
  animation: fadeIn 0.4s ease forwards;
  text-align: center;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
section .container .grid .project a {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}
section .container .grid .project a .img-default {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  filter: blur(8px);
  transition: filter 0.3s ease;
}
section .container .grid .project a:hover .img-default {
  filter: blur(0);
  transition: filter 0.3s ease;
}
section .container .grid .project a:hover p {
  opacity: 0;
}
section .container .grid .project a p {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: 300;
  font-family: "Inria Serif", serif;
}

/* MODAL___________________________________________________________________ */
.backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
.backdrop.open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.backdrop .modal {
  background: rgb(249, 246, 243);
  border-radius: 2px;
  width: 100%;
  min-height: 70%;
  max-width: 80%;
  overflow-y: auto;
  max-height: 40vh;
  animation: fadeUp 0.2s ease;
  padding: 3rem;
}
.backdrop .modal .header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
}
.backdrop .modal .header .title {
  margin: 0;
  text-align: start;
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 1rem;
  font-family: "Inria Serif", serif;
}
.backdrop .modal .data {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.backdrop .modal .data .infoTech {
  text-align: start;
  margin-bottom: 3rem;
}
.backdrop .modal .data .infoTech span {
  display: block;
  color: black;
  font-weight: 300;
  font-size: 1rem;
}
.backdrop .modal .data .infoTech strong {
  display: block;
  color: black;
  font-weight: 300;
  font-size: 1rem;
}
.backdrop .modal .data .info {
  margin: 0;
  max-width: 700px;
  font-size: 1.5rem;
  margin-bottom: 4rem;
}
@media (max-width: 768px) {
  .backdrop .modal {
    flex-direction: column;
    margin: 2rem;
    gap: 2rem;
    max-width: 80%;
    max-height: 60%;
  }
  .backdrop .modal .data {
    display: flex;
    gap: 2rem;
    padding-top: 0.75rem;
  }
}
.backdrop .modal .galerie {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 1.5rem;
  /* Première image — grande, occupe 2 colonnes et 2 lignes */
}
.backdrop .modal .galerie img:first-child,
.backdrop .modal .galerie video:first-child {
  grid-column: 1/3;
  /* colonnes 1 et 2 */
  grid-row: 1/3;
  /* lignes 1 et 2 */
  aspect-ratio: 3/3;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.backdrop .modal .galerie img {
  width: 100%;
}
.backdrop .modal .galerie video {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
@media (max-width: 768px) {
  .backdrop .modal .galerie {
    grid-template-columns: 1fr;
  }
  .backdrop .modal .galerie img:first-child,
  .backdrop .modal .galerie video:first-child {
    grid-column: auto;
    /* annule le span */
    grid-row: auto;
    /* annule le span */
    aspect-ratio: auto;
  }
  .backdrop .modal .galerie img,
  .backdrop .modal .galerie video {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
  }
}

.close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #888;
  transition: color 0.2s ease;
}
.close:hover {
  color: black;
}
.close--archive {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
}

html {
  font-size: 62.5%;
}

body {
  background-color: rgb(249, 246, 243);
  font-size: 1.6rem;
  margin: 0;
  overflow-x: hidden;
  color: rgb(16, 18, 37);
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
}

/* MENU___________________________________________________________________ */
#menu {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 3rem;
  padding: 2rem 3rem;
}
#menu #logo img {
  width: 50px;
  height: auto;
}
#menu .navbar-toggler {
  display: none;
  font-size: 3rem;
  background: none;
  border: none;
  color: rgb(16, 18, 37);
  cursor: pointer;
}
#menu ul {
  display: flex;
  gap: 5rem;
}
#menu ul li {
  display: inline-block;
}
#menu ul li a {
  text-decoration: none;
  color: rgb(16, 18, 37);
}
#menu ul li a:hover {
  font-size: 20px;
  font-weight: 600;
}
@media screen and (max-width: 575px) {
  #menu .navbar-toggler {
    display: block;
  }
  #menu .navbar-menu {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    width: 100%;
    background-color: rgb(249, 246, 243);
  }
  #menu .navbar-menu li {
    display: block;
    padding: 1rem;
  }
  #menu .navbar-menu li:hover {
    background-color: #f1ca83;
  }
  #menu .navbar-menu.active {
    display: block;
  }
}

/* INTERACTIVE CANVA___________________________________________________________________ */
.canva-wrapper {
  position: relative;
}

#canva {
  display: block;
  width: 100%;
  height: calc(100vh - 7rem);
}

#textContainer {
  position: absolute;
  max-width: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
#textContainer #display-text {
  font-size: 4.5rem;
  opacity: 0.8;
  letter-spacing: -1px;
}

#arrowImg {
  position: absolute;
  height: 3rem;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.8;
  animation: slideDown 2s infinite alternate;
}
@keyframes slideDown {
  0% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(20%);
  }
}

/* SKILLS___________________________________________________________________ */
#skillsContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  margin: 0;
  padding: 2rem;
}
#skillsContainer .skills {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 1500px;
  gap: 1rem;
}
#skillsContainer .skills #text {
  max-width: 400px;
  font-family: "Inria Serif", serif;
}
#skillsContainer .skills #gridSkill {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 3rem;
  width: 100%;
  justify-items: center;
  z-index: 9999;
}
#skillsContainer .skills #gridSkill .skillsElement {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}
#skillsContainer .skills #gridSkill .skillsElement img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
}
#skillsContainer .skills #gridSkill .skillsElement p {
  font-size: 1.2rem;
  opacity: 0;
  margin: 0;
}
#skillsContainer .skills #gridSkill .skillsElement:hover {
  transform: scale(1.1);
}
#skillsContainer .skills #gridSkill .skillsElement:hover p {
  opacity: 1;
}
@media (max-width: 768px) {
  #skillsContainer .skills #gridSkill {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 2rem;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  #skillsContainer .skills #gridSkill::-webkit-scrollbar {
    display: none;
  }
  #skillsContainer .skills #gridSkill .skillsElement {
    flex-shrink: 0;
    scroll-snap-align: center;
  }
  #skillsContainer .skills #gridSkill .skillsElement img {
    max-width: 100px;
  }
}

/* WORK___________________________________________________________________ */
#workContainer {
  background: linear-gradient(to bottom, transparent, rgb(193, 215, 253) 50%, transparent);
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  gap: 4rem;
  padding: 3rem;
}
#workContainer .titre {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0;
}
#workContainer .titre h2 {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 400;
  margin: 0;
  opacity: 0.8;
}
#workContainer .titre a :hover {
  background-color: #06ff13;
  border-radius: 50%;
}
#workContainer #workGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1.5rem, 4vw, 5rem);
  width: 100%;
  max-width: 1500px;
}
#workContainer #workGrid .workElements {
  width: 100%;
}
#workContainer #workGrid .img-default {
  width: 100%;
  height: clamp(150px, 20vw, 250px);
  object-fit: cover;
  display: block;
}

/* PLAY___________________________________________________________________ */
#playContainer {
  display: flex;
  flex-direction: row;
  text-align: center;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  margin-top: 8rem;
  margin-bottom: 15rem;
  padding: 3rem;
}
#playContainer #playGrid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: clamp(1rem, 2vw, 3rem);
  align-items: center;
  justify-content: center;
}
#playContainer #playGrid #anim {
  width: 100%;
}
#playContainer #playGrid #elements {
  display: flex;
  flex-direction: column;
}
#playContainer #playGrid #elements p {
  text-align: start;
  color: rgb(88, 125, 114);
  font-family: "Inria Serif", serif;
}
#playContainer #playGrid #elements .titre {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}
#playContainer #playGrid #elements .titre h2 {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  font-size: 7rem;
  font-weight: 400;
  margin: 0;
  opacity: 0.8;
}
#playContainer #playGrid #elements .titre a :hover {
  background-color: #06ff13;
  border-radius: 50%;
}
@media (max-width: 768px) {
  #playContainer #playGrid {
    grid-template-columns: 1fr;
  }
}

/* CONTACT___________________________________________________________________ */
#footer-contact {
  padding: 6rem 3rem 1rem 3rem;
  overflow: hidden;
  background: linear-gradient(to top, rgb(252, 255, 168), transparent);
}
#footer-contact #footer-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
#footer-contact #footer-text #mail img {
  width: 80%;
  height: auto;
  margin-left: 100px;
}
#footer-contact #footer-text #mail img:hover {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><circle cx="12" cy="12" r="10" fill="%23FF2900"/></svg>') 12 12, auto;
}
#footer-contact #info-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
#footer-contact #info-footer img {
  width: clamp(1.5rem, 8vw, 5rem);
  height: auto;
}
#footer-contact #info-footer p {
  font-size: clamp(0.8rem, 1vw, 1.2rem);
  margin-top: 2rem;
  color: rgb(16, 18, 37);
  margin: 0;
}

/*# sourceMappingURL=main.css.map */
