/* POur iframe vidéo ou jpg */
.framevideo {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
/* Bnadeau défilant */
  .texte-defilant {
      width: 100%;
      overflow: hidden;
      white-space: nowrap;
      box-sizing: border-box;
      background-color: #FFFFFF;
      padding: 1em;
      font-size: 1.2em;
      font-family: Arial, sans-serif;
    }

    .texte-defilant span {
      display: inline-block;
      padding-left: 100%;
      animation: defilement 20s linear infinite;
    }

    @keyframes defilement {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }

    /* Responsive font size */
    @media (max-width: 600px) {
      .texte-defilant {
        font-size: 1em;
        padding: 0.8em;
      }
    }

    @media (max-width: 400px) {
      .texte-defilant {
        font-size: 0.9em;
        padding: 0.6em;
      }
    }
/* icone instagram et you tube */
footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-icon {
  font-size: 30px;
  margin: 10px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icon.instagram:hover {
  color: #E1306C;
}

.social-icon.youtube:hover {
  color: #FF0000;
}

/* Joyeux Noel */
  /* Zone principale */
  .noel-animation {
    height: auto;
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    bbackground: #020817; 
  }

  /* Conteneur du texte + halo */
  .noel-container {
    text-align: center;
    position: relative;
    z-index: 10;
  }

  .noel-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(150px, 30vw, 260px);
    height: clamp(150px, 30vw, 260px);
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255,0,0,0.35), rgba(255,0,0,0) 70%);
    filter: blur(40px);
    z-index: 1;
    animation: haloPulse 4s ease-in-out infinite alternate;
  }

  @keyframes haloPulse {
    from { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    to   { opacity: 0.8; transform: translate(-50%, -50%) scale(1.15); }
  }

  /* Texte principal */
  .noel-texte {
    font-size: clamp(1.8rem, 6vw, 3.2rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ff3b3b;
    text-shadow: 0 0 10px rgba(255, 80, 80, 0.9);
    animation: glow 2.5s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
  }

  @keyframes glow {
    from { text-shadow: 0 0 8px #ff3b3b, 0 0 15px #ff0000, 0 0 25px #ff0000; }
    to   { text-shadow: 0 0 15px #ff6b6b, 0 0 30px #ffcc00, 0 0 45px #ffcc00; }
  }

  /* Sous-texte */
  .noel-sous-texte {
    margin-top: 0.5rem;
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    opacity: 0;
    animation: fadeIn 3s ease forwards 1.2s;
    position: relative;
    z-index: 2;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Flocons */
  .flocon {
    position: fixed;
    top: -10px;
    color: white;
    opacity: 0.8;
    animation-name: tomber;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    pointer-events: none;
    z-index: 5;
  }

  @keyframes tomber {
    0%   { transform: translateY(-10px) translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    50%  { transform: translateY(50vh) translateX(20px); }
    100% { transform: translateY(100vh) translateX(-20px); opacity: 0; }
  }

  /* Neige au sol */
  .neige-sol {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: clamp(60px, 10vw, 90px);
    background: linear-gradient(to top, rgba(255,255,255,0.95), rgba(255,255,255,0.7), transparent);
    z-index: 3;
  }

  /* Réduction des animations si l'utilisateur préfère */
  @media (prefers-reduced-motion: reduce) {
    .flocon,
    .noel-texte,
    .noel-container::before {
      animation: none !important;
    }
  }
