
/*Nav-bar & mise en page fin*/

/*format d'écriture*/
hr {
  opacity:100%;
  border:0.6px solid black;
  background-color:black;
  color: black;
}

.little-space h2 {
  padding-bottom: 15px;
}

h1 {
  font-size: 1.44rem;
  font-weight: bold;
}

h2 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 32px;
}

h2:first-child {
  margin-top: 0px;
}

a {
  text-decoration: none;
  color: black;
}

a.underline {
  text-decoration: underline;
}

p {
  hyphens: auto;
}

/*format d'écriture fin*/


.unbreakable {
  hyphens: none;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px;
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h2 {
  color: #333;
  font-size: 28px;
  margin-bottom: 10px;
}

.form-header p {
  color: #666;
  font-size: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: #4A90E2;
  outline: none;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.error-message {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

/* .btn {
  background-color: #4A90E2;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: block;
  width: 100%;
  font-weight: bold;
} */

.required:after {
  content: " *";
  color: #e74c3c;
}

.form-group {
  margin-bottom: 1.8rem; /* espace suffisant entre les groupes */
  position: relative;
}

.char-counter {
  font-size: 12px;
  color: #888;
  text-align: right;
  user-select: none;
  margin-top: 4px;
  padding-right: 4px;
}

.success-message {
  display: none;
  background-color: #dff0d8;
  color: #3c763d;
  padding: 15px 25px;
  border-radius: 4px;
  margin-top: 20px;
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}


@media screen and (max-width: 480px) {
  .container {
      padding: 20px;
  }
}
