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

html,
body {
  height: 100%; /* Assure que le contenu occupe toute la hauteur */
  background-color: #efaab0;
  margin: 0;
  padding: 0;
}

.pics {
  text-align: center;
}

.header {
  padding: 1.5rem 0;
  background: transparent;
  color: #fff9f5;
  z-index: 100;
  position: relative;
}
.header-link:hover {
  color: #fff9f5;
}

.header-link {
  text-decoration: none;
  font-size: 8.5vw;
  font-family: "Nighty DEMO", cursive;
  font-weight: 300;
  color: #be0822;
}

.header h1 {
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.1rem;
  flex-wrap: wrap; /* pour la version mobile */
}

.project.reverse {
  flex-direction: row-reverse;
}

.project-text {
  flex: 1;
  min-width: 250px;
  max-width: 30%; /* serré */
  font-family: "Cabinet Grotesk", sans-serif;
  padding-right: 8rem;
  color: #be0822;
}

.project-text h2 {
  text-decoration: underline;
  font-size: 2rem;
  margin-bottom: 15px;
}

.project-text p {
  font-size: 1.2rem;
  line-height: 2;
}

.project-text p a {
  text-decoration: none;
  color: #fff9f5;
}
.project-text p a:hover {
  color: #be0822;
}

.project-media {
  flex: 2;
  min-width: 250px;
  min-width: 300px;
  max-width: 66.66%;
}

.project-media img,
.project-media video {
  width: 50rem;
  height: auto;
  object-fit: contain;
  box-shadow: 10px 10px 10px rgba(237, 236, 236, 0.1);
}
