header {
  padding-bottom: 0;
}

main {
  /* background-image: url('../images/parchemin.png'); */
  /* background-size: 100% 173%;
  background-position: center;
  background-repeat: no-repeat; */
  box-sizing: border-box;
  margin-bottom: 20px;
}

section {
  display: flex;
  justify-content: center;
  margin: 0;
}

.container {
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  width: 70vw;
  height: 55vh;
  /* background-color: silver; */
}

.container-form {
  display: flex;
  justify-content: space-around;
}

.container-form-info,
.container-form-message {
  display: flex;
  flex-direction: column;
  width: 43%;
}

.container h1 {
  margin-top: 0;
  padding-bottom: 7px; 
  font-size: 1.5em;
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

label {
  color: #000;
  font-size: 0.9em;
  text-shadow: 0.5px 0.75px 0 rgba(0, 0, 0, 1);
}

input,
input[type="text"],
input[type="email"],
input[type="tel"] {
  border: none;  /* supprime les bordures existantes */
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);  /* ligne fine en bas */
  outline: none;
  font-size: 14pt;
  font-family: 'Parisienne', cursive;
  font-weight: 500;
  line-height: 1.5em;
  padding: 0.1em 0;  /* espace vertical pour le texte */
  width: 100%;
  box-sizing: border-box;
}

/* input[type="text"] {
  margin-bottom: 10px;
} */

input[name="nom"] {
  font-weight: bold;
}

.textarea-container {
  position: relative;
  width: 100%;
}

textarea::-webkit-scrollbar {
  width: 0;
}

/* div {
  border: 1px solid red;
} */

textarea {
  resize: none;
  width: 96%;
  height: 22vh;  /* hauteur fixe */
  border: none;
  border-radius: 10px;
  outline: none;
  font-size: 1.5em;  /* taille du texte */
  line-height: 1.5em;  /* correspond exactement à l’espacement des lignes */
  font-family: 'Parisienne', cursive;
  padding: 0.5em;
  box-shadow: none;
  text-align: justify;
  font-weight: 500;

  /* Fond ligné qui suit le texte */
  background:
    repeating-linear-gradient(to bottom,
      transparent 0,
      transparent 1.46em,      /* zone transparente = line-height */
      rgba(0, 0, 0, 0.15) 1.46em,      /* début ligne */
      rgba(0, 0, 0, 0.15) 1.5em      /* fin ligne = delta de 0.1em */
    );
  background-attachment: local;  /* lignes défilent avec le texte */
}

input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[name="nom"] {
  border-bottom: 1px dotted rgba(0, 0, 0, 0.25);
  font-family: 'Parisienne', cursive;
  padding-left: 0.5em;
}

.button-group {
  display: flex;
  justify-content: center;
}

button {
  outline: none;
  background-color: transparent;
  border: none;
  color: #000;
  padding: 10px 15px;
  font-size: 12pt;
  cursor: pointer;
  margin-top: 20px;
  margin-right: 10px;
  text-shadow: 0.5px 0.75px 0 rgba(0, 0, 0, 1);
}

button:hover {
  color: red;
}