* {
  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 {
  text-decoration: none;
  font-size: 8.5vw;
  font-family: "Nighty DEMO", cursive;
  font-weight: 300;
  color: #be0822;
}

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

/* Gallerie responsive */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.item {
  max-width: 300px;
  width: auto;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.item:hover {
  transform: scale(1.04) rotate(0deg);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

/* pics en big */
/* Lightbox style */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
  cursor: zoom-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
