/* style.css */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
  }

  .parallax-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: url('wallpaper.jpg'); /* Remplacez par votre image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Image reste fixe */
  }

  .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-family: Arial, sans-serif;
    z-index: 2;
  }

  .content h1 {
    display: inline-block;
    font-size: 3rem;
    /* animation: fadeIn 4s ease-out; /* Apparition progressive */
    /* transition: transform 0.3s ease-in-out; /* Transition douce */
  }

  .content h1:hover {
    animation: bounce 0.5s infinite; /* Animation rebond au survol */
  }

  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes bounce {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
  }

  .content p {
    font-size: 1.5rem;
    opacity: 0.8;
  }

  /* Optionnel : Gradient sombre pour améliorer la lisibilité */
  .parallax-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.375);
    z-index: 1;
  }
