body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  border: 1px solid black;
  padding: 8px;
  text-align: left;
}
th {
  background-color: #f2f2f2;
}

input[type="text"] {
  width: 300px; /* Largeur plus grande */
}

.error-box {
  background-color: #ffdddd;
  color: #d8000c;
  padding: 10px;
  border: 1px solid #d8000c;
  margin-bottom: 10px;
  text-align: center;
}

/* Classes avec . */
.bodyDE {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f4f4f4;
}
.containerDE {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.inputDE {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.buttonDE {
  background-color: #007bff;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}
button:hover {
  background-color: #0056b3;
}

.image-box {
  position: relative;
  width: 100%;
  display: inline-block;
  overflow: hidden;
  margin-top: 20px; /* Space for the fixed navbar */
}

.image-box img {
  display: block;
  width: 100%;
  height: auto;
}

.image-box .text-overlay {
  white-space: pre-line;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px 20px;
  border-radius: 15px;
  text-align: center;
}

.navbar-brand {
  font-size: 200%;
  text-decoration: none; /* Supprime le soulignement */
  color: inherit; /* Hérite la couleur du texte du parent */
}

.navbar-nav {
  display: flex; /* Affichage en ligne */
  list-style: none; /* Supprime les puces */
  gap: 20px; /* Espacement entre les éléments */
}

.add-data {
  padding: 10px 20px;
}

.data-field {
  padding: 10px 20px;
}

.text-center {
  padding: 10px 20px;
  text-align: center;
}

.vignette {
  max-width: 2cm;
  max-height: 2cm;
  height: auto;
  width: auto;
  border: 1px solid red;
}

/* id avec # */
