  /* glow de la souris*/

  .cursor-glow {
      position: fixed;
      width: 20px;
      height: 20px;
      background-color: rgba(245, 119, 192, 0.8);
      border-radius: 50%;
      box-shadow: 0 0 20px 10px rgba(255, 0, 150, 0.6);
      pointer-events: none;
      transform: translate(-50%, -50%);
      transition: transform 0.1s linear;

  }

  /* barre de nav */
  body {
      font-family: 'Arial', sans-serif;
      margin: 0;
      padding: 0;
      background-color: #f9f9f9;
      color: #000000;
  }

  header {
      background-color: #000000;
      padding: 10px 20px;
  }

  .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .navbar .logo {
      width: 150px;
  }

  .navbar .menu a {
      color: white;
      text-decoration: none;
      margin: 0 10px;
      font-size: 1rem;
      font-weight: bold;
      position: relative;
  }

  .navbar .menu a:hover {
      color: #ffbce4;
  }

  .navbar .menu a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -5px;
      width: 0;
      height: 2px;
      background: #ffbce4;
      transition: 0.3s;
  }

  .navbar .menu a:hover::after {
      width: 100%;
  }





  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

  body {
      font-family: Arial, sans-serif;
  }


@media screen and (max-width: 900px) {
    .parallax {
       
        height: 30vh; /* Ajuste la hauteur pour les petits écrans */
        
        margin-top: 0; /* Supprime tout espace au-dessus */
    }
}

/* Assure que le header (menu) ne crée pas d'espace supplémentaire */
header {
    margin-bottom: 0;
    padding-bottom: 0;
}


  .content {
      background-color: white;
      padding: 50px;
      text-align: center;
      font-size: 1.5rem;
      color: #333;
  }

  /* Pour Mon gros titre (découvrez..) */
  h1 {
      font-size: 2.5rem;
      margin-bottom: 20px;
      color: rgb(0, 0, 0);
  }

  p {
      font-size: 1.2rem;
      line-height: 1.5;

  }

  h1 {
      transition: text-shadow 0.3s ease;
      /* Pour une transition douce */
  }

  h1:hover {
      text-shadow: 0 0 10px rgb(238, 83, 150), 0 0 20px pink, 0 0 30px pink;
  }


  body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      background-color: #f4f4f4;
      text-align: center;
  }

  /* Pour mes catégories */
  .categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 50px;
}

.category {
    position: relative; /* Ajouté pour le ::after */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    border-radius: 10px;
    color: rgb(255, 255, 255);
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.category::after {
    content: ""; 
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Filtre noir semi-transparent */
    border-radius: 10px;
    top: 0;
    left: 0;
}

.category span {
    position: relative; /* Pour que le texte passe au-dessus du filtre */
    z-index: 1;
}

.category:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

#design {
    background-image: url('img/Designcateg.png');
}

#site-web {
    background-image: url('img/WebSitecateg.png');
}

#communication {
    background-image: url('img/Communicationcateg.png');
}

#audio-visuel {
    background-image: url('img/Audiovisuelcateg.png');
}

#divers {
    background-image: url('img/diverscateg.png');
}




  /* Styles pour la barre en bas */
  footer {
      background-color: #000000;
      color: white;
      text-align: center;
      padding: 20px;
      position: ;
      left: 0;
      bottom: 0;
      width: 100%;
  }

  footer a {
      color: #ffbce4;
      text-decoration: none;
  }

  footer a:hover {
      text-decoration: underline;
  }