body{
  margin:0;
  font-family: Arial, sans-serif;
}
a{
  text-decoration: none;
  color: black;
}

a:hover{
  color:aliceblue;
}
/*

nav{
  display: flex;
  gap: 50px;
  justify-content: center;
  background-color: orange;
  padding: 20px;
}
*/
/*
.container-fluid{
  background-color: orange !important;
  width: 100%;
  height: 80px;
}

.navbar.navbar-expand-lg.bg-body-tertiary{
  padding:0;
  width: 100%;
  height: 80px;
}

.navbar-collapse .collapse .show{
  background-color: orange !important;
}
*/

.picture{
  width: 100%;
}

.infos{
  display: flex;

}

.perso{
  width: 40%;
  height: 20%;
}
.logo{
  width: 100px;

}

.banniere{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items:center;
  background-color: #ffff;
  width: 100%;
}




.titre_baniere{
  font-size: 3em;
}


.img_banniere{
    width: 80%;
    
}

/*  _____________________________________    */
/* 
* {
  box-sizing: border-box;
}



.banner {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: url('view/img/banniere.jpg') no-repeat center center/cover;
  overflow: hidden;
}

.text-section {
  width: 50%;
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  clip-path: polygon(0 0, 90% 0, 70% 100%, 0% 100%);
}

.text-section h2 {
  font-size: 24px;
  color: #333;
}

.highlight {
  color: #E67E22;
  font-weight: bold;
}

.text-section p {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.btn {
  background: #E67E22;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

.image-section {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
}

.image-section img {
  height: 100%;
  object-fit: contain;
} */


form {
  display: grid;
  padding: 1em;
  background: #f9f9f9;
  border: 1px solid #c1c1c1;
  margin: 2rem auto 0 auto;
  max-width: 600px;
  padding: 1em;
}

/* __________________________________________ORDI_____________________________________ */

@media screen and (min-width: 577px){


  .banniere{
    /* display: flex;
    flex-direction: row;
    width: 100%; */
    position: relative;
    background-color: #ffff;
    height: 500px;
    z-index: -1;
  }
  
  

  .titre_baniere{
    font-size: 8em;
  }
  
  
  .img_banniere{
      width: 25%;
      position: absolute;
      left:100px;
      top:-8px;

  }



/*
  .container-fluid{
    background-color: orange !important;
  }
*/
/* ____________________________________Page listing______________________________ */

.conteneur{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.infos{
  display: flex;
  justify-content: center;
  width: 30%;
  height:50%
}




  .perso{
    width: 20%;
    height: auto;
  }
}


.card {
  display: flex;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  flex-direction: row;
  align-items: center;
  /*width: 400px;*/
  width: calc(33.333% - 20px);
  height: 250px;
  /*overflow: hidden;
  padding: 12px;
  margin:10px;*/
  height: 250px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.image-container {
  flex: 1;
  width: 150px;
  height: 100%;
}

.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info h2 {
  font-size: 18px;
  margin: 0 0 10px 0;
}

.info p {
  margin: 5px 0;
  color: #555;
  font-size: 14px;
}

.button {
  background: orange;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.container_liste{
  margin-top:30px;
  padding: 12px;
  display: flex;
  gap:20px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}


/* Media Queries pour la réactivité */
@media (max-width: 1200px) {
  .card {
    width: 300px; /* Réduire la taille des cartes pour des écrans plus petits */
    height: 200px;
  }
}

@media (max-width: 768px) {
  .card {
    width: 100%; /* Les cartes prennent toute la largeur sur les petits écrans */
    height: auto; /* Ajuster la hauteur pour s'adapter au contenu */
    margin-bottom: 20px;
  }

  .image-container {
    width: 100px; /* Réduire la taille de l'image sur les petits écrans */
  }

  .info {
    width: 100%; /* L'info prend toute la largeur de la carte sur les petits écrans */
  }
}

/* Media Query pour très petits écrans (ex : mobile portrait) */
@media (max-width: 480px) {
  .card {
    width: 100%; /* Carte pleine largeur */
    height: auto; /* Hauteur automatique */
    margin-bottom: 15px;
  }

  .avatar {
    width: 100px; /* Image plus petite sur les écrans très petits */
    height: 100px;
  }

  .info h2 {
    font-size: 16px; /* Réduire la taille du titre pour les petits écrans */
  }

  .info p {
    font-size: 12px; /* Réduire la taille du texte */
  }
}


/* __________________________banniere_________________________ */



.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(20%);
  z-index: 0;
}
/* 
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  z-index: -1;
} */

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 1;
}

.titre_baniere{
  padding-top:60%;
  font-size: 5em;
  top:40%;
}



/* NAV___________________ */

/*
.navbar>.container, .navbar>.container-fluid, .navbar>.container-lg, .navbar>.container-md, .navbar>.container-sm, .navbar>.container-xl, .navbar>.container-xxl{
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}
*/



/* nav___________________________________ */

/*
@media (max-width: 576px) { 
  .navbar-collapse {
    background-color: white; 
    position: absolute;
    width: 100%;
    left: 0;
    top: 100%; 
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center; 
  }

  .navbar-nav {
    background-color: white;
    border-radius: 5px;

  }

  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }

*/
.navbar-nav .nav-link {
  color: black !important; 
}
  

.footer{
	display: flex;
	justify-content: space-evenly;
	font-family: 'Times New Roman', Times, serif;
	align-items: center;
	height:20vh;
	margin-top: 15vh;
	font-size: 1em;
	border-top: 1px solid #ccc; 
	padding-top: 10vh;
	padding-bottom: 8vh;
  bottom: 0;

}


/*
  .navbar-collapse {
    bposition: absolute;
    width: 100%;
    left: 0;
    top: 100%; 
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
  }

  .navbar-nav {
    background-color: white;
    border-radius: 5px;

  }

  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }

  .navbar-nav .nav-link {
    color: black !important; 
  }

} 
  */

.footer{
	display: flex;
	justify-content: space-evenly;
	font-family: 'Times New Roman', Times, serif;
	align-items: center;
	height:20vh;
	margin-top: 15vh;
	font-size: 1em;
	border-top: 1px solid #ccc; 
	padding-top: 10vh;
	padding-bottom: 8vh;
  bottom: 0;

}

/* __________________________ Rechercher ___________________ */


form {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 300px;
}

label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: bold;
}

.envoyer-recherche {
  width: 100%;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

input:focus {
  border-color: #ff9800;
  outline: none;
}

.button {
  margin-top: 15px;
}

button {
  background-color: #ff9800;
  color: white;
  border: none;
  padding: 12px;
  font-size: 16px;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: #ff6600;
}

span {
  display: block;
  color: red;
  font-size: 14px;
  margin-top: 8px;
}



/*______________________________ADMIN_______________________________*/



.containeur{
  display: flex;
  justify-content: center;
  margin-top:90px;
}

.nav-admin{
  width: 500px;
  display: flex;
  list-style-type: none;
  justify-content: space-around;
  padding:0;
}

.nav-admin-li{
  color: #fff;
  background-color: #ff6600;
  padding: 20px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  margin: 10px;
  transition: background-color 0.3s ease;

}

.nav-admin-li:hover{
  background-color: #ff4500;

}






/*_____________________GESTION ___________________*/


.container-gestion{
  width: 80%;
  margin: 0 auto;
}

/* En-têtes */
.page-header-gestion {
  text-align: center;
  color: #fff;
  background-color: #1b1b1b;
  padding: 20px;
  border-radius: 8px;
}

.page-header-gestion h1 {
  font-size: 36px;
  margin: 0;
}

.page-header-gestion p {
  color: #f5a623;
  font-size: 18px;
  font-style: italic;
}

/* Liens */
.link-button-gestion {
  color: #fff;
  background-color: #ff6600;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  margin: 10px;
  transition: background-color 0.3s ease;
}

.link-button-gestion:hover {
  background-color: #ff4500;
}

/* Tableau */
.data-table-gestion {
  width: 100%;
  margin: 40px 0;
  border-collapse: separate;
  border-spacing: 0 10px; /* Ajoute de l'espace entre les lignes */
  background-color: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.data-table-gestion, .data-table-gestion th, .data-table-gestion td {
  padding: 12px;
  text-align: center;
  font-size: 16px;
  color: #333;
}

.data-table-gestion th, .data-table-gestion td {
  padding: 12px;
  text-align: center;
  font-size: 16px;
  color: #333;
}

.data-table-gestion th {
  background-color: #ff6600;
  color: white;
  font-size: 18px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.data-table-gestion td {
  background-color: #f9f9f9;
  border-radius: 8px;
}

.data-table-gestion tr:hover{
  background-color: #fff3e0; /* Couleur au survol de la ligne */
}

.data-table-gestion td a {
  color: #ff6600;
  font-weight: bold;
  text-decoration: none;
}

.data-table-gestion td a:hover {
  color: #fff;
}

.button-container-gestion-haut {
  margin-top: 20px;

}


.btn-haut{
  background-color: #ff6600;
  padding:10px;
  border-radius: 6px;
}

.btn-haut:hover{
  color:#fff;
}
hr {
  border: 0;
  border-top: 2px solid #ff6600;
  width: 100%;
  margin: 30px auto;
}




/*_____________________SUPPRIMER ___________________*/



.container-supprimer {
  width: 85%;
  margin: 0 auto;
  padding: 20px;
}

/* En-têtes */
.page-header-supprimer {
  text-align: center;
  background-color: #1b1b1b;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
}

.page-header-supprimer h1 {
  font-size: 36px;
  margin: 0;
}

.page-header-supprimer hr {
  border: 0;
  border-top: 2px solid #ff6600;
  width: 50%;
  margin: 20px auto;
}

.page-header-supprimer h2 {
  color: #ff6600;
  font-size: 20px;
  font-weight: bold;
}




a:hover {
  background-color: #ff4500;
}

/* Message de confirmation */
.confirmation-message {
  text-align: center;
  background-color: #fff;
  color: #333;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-size: 18px;
  margin-top: 40px;
}

/* Marges et espacement */
hr {
  margin: 30px 0;
}

.button-container-supprimer {
  text-align: center;
  margin-top: 30px;

  a {
    color: #fff;
    background-color: #ff6600;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
  }
}



/*_____________________AJOUTER ___________________*/



.container-ajouter {
  width: 85%;
  margin: 0 auto;
  padding: 20px;
}

/* En-têtes */
.page-header-ajouter {
  text-align: center;
  background-color: #1b1b1b;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
}

.page-header-ajouter h1 {
  font-size: 36px;
  margin: 0;
}

.page-header-ajouter p {
  font-size: 18px;
  color: #ff6600;
  font-weight: bold;
  margin-top: 10px;
}

.page-header-ajouter hr {
  border: 0;
  border-top: 2px solid #ff6600;
  width: 50%;
  margin: 20px auto;
}

/* Liens */
a {
  color: #fff;

  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

a:hover {
  background-color: #ff4500;
}

/* Formulaire */
form {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: 40px;


form label {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
  display: block;
}

form input[type="text"] {
  width: 100%;
  padding: 12px;
  margin-top:20px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  background-color: #fafafa;
  box-sizing: border-box;
}

form input[type="text"]:focus {
  outline: none;
  background-color: #fff;
}
/*
form input[type="submit"] {
  margin-top:20px;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
*/

.btn-ajouter {
  margin-top:20px;
  width: 100%;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

form input[type="submit"]:hover {
  background-color: #ff4500;
}

.envoyer{
  margin-top:20px;
}
}

/* Marges et espacement */
hr {
  margin: 30px 0;
}

input{
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
  
}



/*___________________________VALIDE_____________________________*/

.container-valide {
  width: 80%;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Style du titre principal */
.main-title-valide {
  text-align: center;
  font-size: 36px;
  color: #FF6A00;  /* Orange Haikyuu */
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Style du sous-titre */
.sub-title-valide {
  text-align: center;
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

/* Ligne de séparation */
hr {
  border: 1px solid #FF6A00;  /* Orange Haikyuu */
  margin: 20px 0;
}


/* Pour rendre la page plus mobile-friendly */
@media screen and (max-width: 768px) {
  .container-valide {
      width: 95%;
      padding: 15px;
  }

  .main-title-valide {
      font-size: 28px;
  }

  .sub-title-valide {
      font-size: 20px;
  }
}