* {
  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;
  cursor: url("img/aero_arrow__pink.cur"), auto;
}

a:hover,
button:hover,
.gallery img:hover {
  cursor: url("img/aero_link__pink.cur"), pointer;
}

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

.header-link {
  text-decoration: none;
  font-size: 8.5vw;
  font-family: "Nighty DEMO", cursive;
  font-weight: 300;
  color: #be0822;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

.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 */
  z-index: 1;
}

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

.project-text {
  flex: 1;
  min-width: 250px;
  max-width: 30%;
  font-family: "Cabinet Grotesk", sans-serif;
  color: #be0822;
  margin-right: 10rem;
  z-index: 1;
}

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

.project-text p {
  font-size: 1.5rem;
  line-height: 2;
  text-align: left;
}

.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%;
  z-index: 1;
}

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

.texture-bg {
  position: fixed; /* fixe, ne défile pas */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("img/back2.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  z-index: 0; /* Derrière tout */
  pointer-events: none;
}
