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

body,
html {
  height: 100%;
  background-color: #efaab0;
  cursor: url(img/cursor.png), auto;
}

.portfolio {
  text-align: center;
}

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

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

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

.familier {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 10;
}
.familier:hover {
  transform: scale(1.1) translateZ(20px); /* léger zoom */
  cursor: pointer;
}

/* Modifie ici : fixe la position sur le lien */
.familier-link {
  position: fixed; /* important pour bouger avec left/top */
  width: 350px;
  cursor: pointer;
  color: #be0822;
  text-align: center;
  font-family: "Cabinet Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  z-index: 3;
  pointer-events: auto;
  text-decoration: none;
}

.familier-link figure {
  margin: 0;
}

.familier-link img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.familier-link figcaption {
  margin-top: 0.5rem;
  font-weight: 700;
  color: #be0822;
}
