.header,
.footer {
  position: absolute;
  left: 0;
  width: 100%;
  padding: 13px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  align-content: center;
  flex-wrap: nowrap;
  box-sizing: border-box;
  font-weight: 400;
}
.header .text,
.footer .text {
  margin: 0;
}
.name,
.switch {
  font-weight: 400;
}
.header {
  top: 0;
  z-index: 15;
}
.footer {
  bottom: 0;
}
.reverse-buton {
  background-color: transparent;
  border: none;
  padding: 0;
  z-index: 30;
  position: absolute;
  top: 18px;
  left: calc(50% - 20px);
  overflow: hidden;
  width: 40px;
  height: 24px;
  cursor: pointer;
  transition: 0.8s cubic-bezier(0.5, 0.5, 0, 1);
}
.reverse-buton:hover {
  scale: 1.03;
}
.reverse-buton svg {
  transform: translateY(24px);
}
.switch {
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}
.switch button {
  padding: 7px;
  box-sizing: border-box;
  border-radius: 100%;
  box-shadow: none;
  border: 2px black solid;
  background-color: #fff;
  cursor: pointer;
}
.switch button:first-of-type {
  margin: 0 8px 0 5px;
}
.switch button:nth-of-type(2) {
  margin: 0 5px 0 0;
}
.switch button:hover {
  scale: 1.05;
}
.switch button.active {
  background-color: #000;
}
@media (min-width: 1000px) {
  .header,
  .footer {
    padding: 18px;
  }
  .switch button {
    height: 17px;
    width: 17px;
    cursor: pointer;
  }
  .switch button:first-of-type {
    margin: 0 3px 0 8px;
  }
  .switch button:nth-of-type(2) {
    margin: 0 8px 0 0;
  }
  .switch button:hover {
    scale: 1.05;
  }
  .switch button.active {
    background-color: #000;
  }
}
body {
  font-size: 1.1rem;
}
.text,
.tags {
  margin: 0;
}
.name {
  font-size: 1.1rem;
  margin: 0;
}
.title {
  font-family: Louize;
  font-size: 2.1rem;
  font-weight: 400;
  margin: 0;
}
.title--small {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 400;
  line-height: 148%;
}
@media (min-width: 800px) {
  body {
    font-size: 1.2rem;
  }
}
@media (min-width: 1000px) {
  body {
    font-size: 1.2rem;
  }
  .name {
    font-size: 1.2rem;
    margin: 0;
  }
  .title {
    font-size: 3rem;
  }
  .title--small {
    font-size: 30px;
    line-height: 148%;
  }
}
.menu--wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 3%;
  box-sizing: border-box;
  height: 100vh;
  overflow: hidden;
  z-index: 19;
}
.menu {
  font-family: Louize;
  font-size: 2.1rem;
  text-align: justify;
  line-height: 140%;
  margin: 0;
}
.menu .menu--link {
  font-family: Euclide-Medium;
  font-size: 2rem;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  cursor: pointer;
}
.menu .menu--more {
  text-decoration: none;
  cursor: pointer;
  background-color: #e8e546;
}
.mouse {
  display: none;
}
.definition--wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  gap: 10px;
  padding: 0 3%;
  box-sizing: border-box;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(50%);
  display: none;
  z-index: -1;
}
.definition--wrapper .title span {
  font-size: 22px;
}
@media (min-width: 1000px) {
  .menu--wrapper {
    padding: 0 7%;
  }
  .menu {
    font-size: 3.1rem;
    text-align: center;
    line-height: 140%;
  }
  .menu .menu--link {
    font-size: 2.7rem;
    padding: 0 8px;
    border: 3px white solid;
    text-decoration: none;
  }
  .menu .menu--link:hover {
    border: 3px black solid;
  }
  .menu .menu--more {
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 3px;
    background-color: transparent;
  }
  .menu .menu--more:hover {
    background-color: #e8e546;
  }
  .mouse {
    display: unset;
    position: absolute;
    overflow: hidden;
    width: 200px;
    height: 280px;
    opacity: 1;
    transform-origin: center center;
    top: 0;
    left: 0;
    pointer-events: none;
    cursor: pointer;
  }
  .mouse img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0;
    top: 0;
    left: 0;
    cursor: pointer;
  }
  .mouse-name {
    z-index: -1;
  }
  .mouse-name img {
    width: 150px;
    height: auto;
    filter: blur(0.5px);
  }
  .definition--wrapper {
    gap: 10px;
    padding: 0 8%;
  }
  .definition--wrapper .title span {
    font-size: 28px;
  }
}
.projets--wrapper {
  padding-top: 100px;
  box-sizing: border-box;
  height: auto;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: space-between;
  gap: 15vh;
  width: 100%;
}
.projets--wrapper footer {
  position: static;
}
.filter {
  font-family: Louize;
  font-size: 2.1rem;
  max-width: 600px;
  text-align: center;
  padding: 0 3%;
}
.filter span {
  cursor: pointer;
}
.selected {
  font-family: Euclide-Square;
  text-transform: uppercase;
  font-size: 1.9rem;
}
.projets--view {
  display: flex;
  flex-direction: column;
  height: auto;
  width: 100%;
  padding: 0 13px;
  box-sizing: border-box;
  gap: 50px;
  justify-content: flex-start;
  align-items: flex-start;
}
.projet__el {
  width: 100%;
  height: 36vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column-reverse;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 5px;
}
.projet__el .tags {
  opacity: 50%;
  font-size: 1.1rem;
}
.projets--view:has(.projet__el:nth-child(n + 5)) .projet__el {
  min-width: 320px;
}
.projet__details {
  margin-bottom: 5px;
}
.projet__img {
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  transform-origin: top center;
  overflow: hidden;
}
.projet__img img {
  transform-origin: top center;
  object-position: center;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: 0.8s cubic-bezier(0.5, 0.5, 0, 1);
}
@media (min-width: 1000px) {
  .projets--wrapper {
    padding-top: 82px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    gap: 12vh;
    width: 100%;
  }
  .projets--wrapper footer {
    display: none;
  }
  .filter {
    font-size: 2.8rem;
    max-width: 860px;
    transition: 0.6s cubic-bezier(0.5, 0.5, 0, 1);
  }
  .filter span {
    cursor: pointer;
  }
  .filter span:hover,
  .filter span:focus {
    text-decoration: underline;
    text-underline-offset: 7px;
    text-decoration-thickness: 3px;
  }
  .selected {
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: -0.4px;
  }
  .projets--view {
    flex-direction: row;
    align-items: flex-end;
    height: 100%;
    width: 100%;
    padding: 4% 12px 12px;
    gap: 10px;
    overflow: scroll;
  }
  .projet__el {
    height: 100%;
    flex-direction: column;
    transition: 0.6s cubic-bezier(0.5, 0.5, 0, 1);
  }
  .projet__el .tags {
    font-size: 1.1rem;
  }
  .projet__el:hover,
  .projet__el:focus {
    height: 108%;
  }
  .projets--view:has(.projet__el:nth-child(n + 5)) .projet__el {
    min-width: 320px;
  }
  .projet__details {
    margin-bottom: 5px;
  }
  .stamp,
  .visitcards {
    max-width: 320px;
  }
}
@font-face {
  font-family: Louize;
  src: url(LouizeDisplay-CAMd8H7U.ttf) format("truetype");
}
@font-face {
  font-family: Euclide-Medium;
  src: url(EuclidSquare-Medium-CPfyAw1s.ttf) format("truetype");
}
@font-face {
  font-family: Euclide-MediumItalic;
  src: url(EuclidSquare-MediumItalic--bsrz0Ze.ttf) format("truetype");
}
@font-face {
  font-family: Euclide-Square;
  src: url(EuclidSquare-Regular-BzppCPE5.ttf) format("truetype");
}
body {
  margin: 0;
  font-family: Euclide-Square;
  font-weight: 400;
}
.proj {
  height: 100%;
}
a,
.link {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.link:hover {
  background-color: #e8e546;
}
.opening {
  background-color: #fff;
  height: 100svh;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 35;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Louize;
  font-size: 2.4rem;
}
.opening .wrapper {
  height: 50px;
  overflow: hidden;
}
@media (min-width: 1000px) {
  body {
    height: 100vh;
    overflow: hidden;
  }
}
