.titleForm {
  position: relative;
  display: flex;
  height: 100px;
  text-align: center;
  background-color: var(--color4);
  width: 70%;
  margin: 200px auto 0;
}

.titleForm h1 {
  position: absolute;
  width: 100%;
  height: 130px;
  transform: translate(-50%, -50%);
  top: 60%;
  left: 50%;
  padding: 25px;
  font-weight: bold;
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--color1);
}

.consignes,
.info {
  width: 70%;
  height: fit-content;
  text-align: center;
  margin: 50px auto 0;
  font-size: 1rem;
}

.formulaire {
  display: flex;
  width: 70%;
  height: fit-content;
  justify-content: center;
  margin: 50px auto 0;
  background-color: var(--color1);
  border-left: 5px solid var(--color4);
}

form {
  width: 60%;
}

form div {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 80px;
  margin-top: 25px;
}

form div label {
  margin-bottom: 5px;
  font-size: 1.5rem;
  text-align: left;
  color: var(--color5);
}

form div input,
form div textarea {
  background-color: var(--color1);
  font-size: 1.2rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  resize: none;
  border: 2px solid var(--color2);
}

form input {
  height: 80px;
  padding-left: 15px;
}

form input:focus,
form textarea:focus {
  background-color: #ffffff;
  outline: none;
  border: 3px solid var(--color4);
}

form textarea {
  height: 80px;
  text-align: left;
  padding: 15px 0px 5px 15px;
}

form input::placeholder,
form textarea::placeholder {
  color: rgba(128, 128, 128, 0.523);
  font-size: 1.2rem;
}

form div:last-child {
  align-items: center;
  margin-top: 25px;
}

form button {
  width: 150px;
  height: 50px;
  font-size: 1.4rem;
  border: var(--color4) solid 2px;
  border-radius: 5px;
  color: var(--color5);
  background-color: var(--color1);
  cursor: pointer;
}

form button:hover {
  width: 145px;
  height: 45px;
  border: var(--color4) solid 3px;
  background-color: #ffffff;
}

/* Style pour la boîte de dialogue de succès */
#successMessage {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  font-size: 1.5rem;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: var(--color5);
  color: var(--color1);
  border-radius: 5px;
  text-align: center;
  z-index: 1000;
}

.step {
  width: 600px;
  height: 600px;
  margin: auto;
  background-image: url(./assets/soutien.webp);
  background-size: cover;
  background-position: center;
}

@media screen and (max-width: 650px) {
  .step {
    width: 500px;
    height: 500px;
  }
}

@media screen and (max-width: 550px) {
  .step {
    width: 400px;
    height: 400px;
  }
}

@media screen and (max-width: 450px) {
  .step {
    width: 300px;
    height: 300px;
  }
}

@media screen and (max-width: 350px) {
  .step {
    width: 280px;
    height: 280px;
  }
}
