body {
  background-color: #f0f8ff;
  color: #0000FF;
  font-family: 'Comic Sans MS', cursive, sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  background-image: url('https://via.placeholder.com/800x600.png?text=Fond+Anniversaire');
  background-size: cover;
  background-attachment: fixed;
}

.header {
  background-color: #ff69b4;
  padding: 15px;
  border-bottom: 5px solid #ff1493;
}

.header h1 {
  margin: 0;
  font-size: 2em;
  color: #fff;
  text-shadow: 2px 2px #ff1493;
}

.content {
  padding: 15px;
  margin-bottom: 60px;
}

.content img {
  border: 3px solid #ff69b4;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  margin: 5px;
}

.banner {
  border: 2px solid #ff69b4;
  padding: 10px;
  display: inline-block;
  margin-top: 10px;
  max-width: 100%;
}

.banner img {
  max-width: 100%;
  height: auto;
}

.container {
  padding: 20px;
  max-width: 100%;
  margin: 0 auto;
}

.button {
  background-color: #ff69b4;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.5em;
  border: 3px solid #ff1493;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin: 10px;
  min-width: 200px;
}

.button:hover {
  background-color: #ff1493;
}

.blink {
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@media screen and (max-width: 768px) {
  .header h1 {
    font-size: 1.5em;
  }

  .content {
    padding: 10px;
  }

  .button {
    font-size: 1.2em;
    padding: 12px 24px;
  }
}

@media screen and (max-width: 480px) {
  .header h1 {
    font-size: 1.2em;
  }

  .button {
    font-size: 1em;
    padding: 10px 20px;
    min-width: 160px;
  }

  .container {
    padding: 10px;
  }
}

.carousel {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.carousel-container {
  display: flex;
  justify-content: center;
}

.carousel-image {
  display: none;
  max-width: 100%;
}

.carousel-image.active {
  display: block;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 16px;
  cursor: pointer;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

/* Add these new styles at the end of the file */
.center-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fullscreen-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(45deg, #ff66cc, #ff0099);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1999; /* Juste en dessous du canvas */
    animation: slideOut 1s ease-in-out 4s forwards;
}

.animated-text {
    font-size: 3em;
    color: white;
    text-shadow: 2px 2px #800040;
    animation: scaleIn 3s ease-in-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
        display: none;
    }
}

#animationCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    pointer-events: none;
}