* {

padding: 0;
margin: 0;


}
body a {

    margin-left: 30px;
}
nav { 
    width: 100%;
    background-color: black;
    height: 100px;

 }

 h1{
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
 }

 .nav-link {
   
    background-color:black;
    text-decoration: none;
    width: 100%;
    position: relative;

    display: flex;
    top: 0;
    left: 0;
    list-style: none;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
    margin-bottom: 100px;
 }

 nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 200;
    padding: 0 10px;
    font-size: 30px;

    
 }
 nav li {
    padding: 0 10px;
 }

 .nav-link a {

    color: white;

 }
 a {
    text-decoration: none;
    display: flex;
 }


li {

    text-decoration: none;
    list-style: none;

}

footer {
    display: flex;
    position: relative;
    background-color: blue;
    bottom: 100%;
}

footer a {
    color: red;
}


table {
    border: 1px;
}
*{
   padding: 0;
   margin: 0;
 }
 #catalogue {

     width: 70%;
     margin: 0 auto;
     justify-content: space-between;
     flex-wrap: wrap;
     gap: 25px;
     margin-bottom: 120px;
 }p {
     margin-top: 10px;
     
 }
 article {
     position: relative;
     border-radius: 50px;
     width: 370px;

     margin: 0 auto;
 }
 .photo {

     height: 250px;
  

 }
 .photo>img {
   max-width: 150px;
     height: 100%;
     object-fit: cover;

 }
 .flex {
     display: flex;
     justify-content: space-between;
 }
 .texte_presentation {
     margin-left: 15px;
     margin-right: 5px;
     position: relative;
 }

 .font-size {
     font-size: 14px;
 }
 
 .texte_presentation {
   margin-left: 50px;
   margin-right: 5px;
   position: relative;
   flex-wrap: wrap;
  flex-direction: column;
  height: 200px;

}
.texte_presentation p {

 margin-left: 15px
}


@media screen and (max-width:700px) {
   nav ul {
       width: 95%;
   }
}
@media screen and (max-width:560px) {
   .flex {
       flex-direction: column;
   }
   article {
       height: 500px;
       width: 300px;
   }
   .flex div {

       flex-wrap: wrap;
   }
   .barcode {
       left: -17%;
   top: 0px;
   margin: 0 auto;
   }
   .photo {
       width: 200px;
       height: 200px;
       margin: 0 auto;
       margin-top: 15px;
       margin-left: 0;
   }
}

h1 {
    position: relative;
    text-align: center;
}


.button-container {
    text-align: center; /* Centre le contenu horizontalement */
  }


  
  .my-button {
    background-color: #432ae4; /* Couleur de fond */
    border: none; /* Supprime les bordures */
    color: white; /* Couleur du texte */
    padding: 10px 20px; /* Espacement intérieur (haut/bas, gauche/droite) */

    text-align: center; /* Alignement du texte */
    text-decoration: none; /* Supprime les soulignements */
    display: inline-block; /* Affiche en tant que bloc */
    font-size: 16px; /* Taille de la police */
    margin: 20px auto; /* Marge extérieure (haut/bas) et centrer horizontalement */
    cursor: pointer; /* Curseur de la souris */
    border-radius: 10px; /* Arrondi des coins */
    transition-duration: 0.4s; /* Durée de transition au survol */
  }
  
  .my-button:hover {
    background-color: #8486ee; /* Couleur de fond au survol */
    padding: 20px 40px;
  }
  

  
  .card:not(:last-child) {
    margin-bottom: 30px; /* Espace supplémentaire entre les cartes sauf pour la dernière carte */
  }
  
  .photo img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;

  }
  
  #championnat{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    gap: 4em;
  }
  .content {
    padding: 20px;
  }
  
  .content p {
    margin: 5px 0;
  }
  
  .content p strong {
    font-weight: bold;
  }

 
  
  .card {
    display: flex;
    flex: 0 1 calc(30% - 20px); /* Calcul de la largeur de chaque carte avec une marge de 20px */
    margin-bottom: 20px;
  border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    justify-content: center;
    align-items: center;
  }
  
  .card .photo img {
    display: flex;
    width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

 

  }
  
  @media (max-width: 768px) {
    .card {
      flex: 0 1 calc(50% - 20px); /* Pour les écrans plus petits, afficher deux cartes par ligne */
    }
  }
  /* Style du conteneur */
.container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

/* Style des liens */
.container a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    margin: 0 20px;
    padding: 10px 20px;
    border: 2px solid #333;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Effet au survol */
.container a:hover {
    background-color: #333;
    color: #fff;
}


/* Style pour le corps de la page */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

/* Style pour le titre */
h1 {
    text-align: center;
    margin-top: 50px;
    color: #333;
}

/* Style pour le formulaire de recherche */
form {
    text-align: center;
    margin-top: 20px;
}

/* Style pour le champ de recherche */
input[type="text"] {
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 16px;
}

/* Style pour le bouton de recherche */
input[type="submit"] {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Effet au survol du bouton */
input[type="submit"]:hover {
    background-color: #555;
}


.banner {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.banner img {
    width: 100%;

}

.banner h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 36px;
}

.button-container {
    text-align: center;
}

.my-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.my-button:hover {
    background-color: #555;
}


@media screen and (max-width: 700px) {
    /* Réduire la taille de la police lorsque l'écran devient plus petit */
    .nav-brand {
        font-size: px;
    }
    
    .nav-link a { 
        font-size: 20px;
        transition: font-size 1s ease; /* Ajoute une transition fluide à la modification de la taille de la police */
    }


    .nav-item {
        font-size: 14px; /* Réduire la taille de la police */
    }
}


