/*  https://blog.crea-troyes.fr/7061/formulaire-web-8-exemples-de-code-html-et-css-responsive/ */

.contact-form {
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 1rem;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  margin-left: 200px;
}

.contact-form label {
  margin-top: 1rem;
  font-weight: bold;
  color: #2f3640;
}

.contact-form input,
.contact-form textarea {
  margin-top: 0.5rem;
  padding: 0.5rem; /* org: 0.8rem */
  border: 2px solid #dcdde1;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 1.5rem;
  padding: 0.8rem;
  border: none;
  background-color: #40739e;
  color: white;
  font-size: 1rem;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #273c75;
}

/*form {
    max-width: 400px;
    margin: auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #45a049;
}
*/