body {
    background-color: #faa2d8;       
}


h1 {
    color: rgb(255, 0, 191);
    text-align: center;
    font-size: 5em;
    margin-top: 20px;

}



.gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.gallery img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 182, 193, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 105, 180, 0.6);
}

.gallery span {
  font-size: 1.5em;
  color:rgb(255, 0, 191);
}

#winner {
  text-align: center;
  font-size: 1.8em;
  color: #ff66b3;
  margin-top: 30px;
}

#remaining {
  margin-top: 15px;
  color: #a35ba0;
}



/* Pour la version finale */
.final-winner {
  width: 80vw;
  max-width: 500px;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 0 40px rgba(255, 182, 193, 0.6);
  transition: transform 0.5s ease;
  transform: scale(1.05);
  margin-top: 20px;
}

.final-winner {
  width: 80vw;
  max-width: 500px;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 0 40px rgba(255, 182, 193, 0.6);
  transition: transform 0.5s ease;
  transform: scale(1.05);
}

.final-text {
  font-size: 2.2em;
  color: #ff4fb3;
  text-shadow: 0 0 15px #fff, 0 0 30px #ffb6c1;
  margin-top: 20px;
}

/* Responsive pour mobile */
@media (max-width: 600px) {
  .gallery {
    flex-direction: column;
  }

  .gallery img {
    width: 100vw;
    height: auto;
  }

  .final-winner {
    width: 200vw;
    max-width: none;
  }

  h1 {
    font-size: 2.2em;
  }

  #winner {
    font-size: 1.5em;
  }
}



.final-winner {
  width: 80vw;
  max-width: 500px;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 0 40px rgba(255, 182, 193, 0.6);
  transition: transform 0.5s ease;
  transform: scale(1.05);
}

.final-text {
  font-size: 2.2em;
  color: #ff4fb3;
  text-shadow: 0 0 15px #fff, 0 0 30px #ffb6c1;
  margin-top: 20px;
}

/* Responsive mobile */
@media (max-width: 600px) {
  .gallery {
    flex-direction: column;
  }

  .gallery img {
    width: 80vw;
    height: auto;
  }

  .final-winner {
    width: 90vw;
    max-width: none;
  }

  h1 {
    font-size: 2.2em;
  }

  #winner {
    font-size: 1.5em;
  }
}
