.formulaire {
  background-color: #161616;
  display: flex;
}

.formulaire > div {
  width: 50%;
}

.formulaire > div:nth-child(2) {
  display: flex;
  justify-content: center;
  align-items: center;
}

.formelem {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 4em;
}

form {
  width: 60%;
  display: flex;
  flex-direction: column;
}

.contact-btn {
  align-self: center;
}

label {
  font-weight: bold;
}

form > div:nth-child(1) {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 20px;
}

input,
textarea {
  border: none;
  border-bottom: 1px solid #ffffff;
  background: none;
  transition: border-width 0.2s ease-in, padding-top 0.3s ease;
  caret-color: #ffffff;
  color: #ffffff;
  font-size: 18px;
  font-family: "Assistant", sans-serif;
}

input:focus,
textarea:focus {
  outline: none;
  border-bottom: 2px solid #ffffff;
  background: none;
  padding-top: 1.5em;
}

textarea {
  scrollbar-width: thin;
  scrollbar-color: #ffffff #0a0a0a;
  resize: vertical;
  overflow: auto;
}

/* Section infos */

.infos {
  display: flex;
  justify-content: space-around;
  padding-top: 6em;
  padding-bottom: 6em;
}

.info-item {
  display: flex;
  align-items: center;
}

.info-item > div:nth-child(1) {
  width: 80px;
  height: 80px;
  margin-right: 20px;
}

/* Section iframe */

.iframe {
  height: 80vh;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 1400px) {
  form > div:nth-child(1) {
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 0;
  }

  form {
    padding-bottom: 2em;
  }
}

@media (max-width: 1200px) {
  .infos {
    flex-direction: column;
    align-items: center;
    padding-top: 2em;
    padding-bottom: 2em;
  }

  .info-item {
    margin: 1em;
  }
}

@media (max-width: 900px) {
  .haut-de-page > div:nth-child(1) {
    width: 100%;
  }

  .haut-de-page > div:nth-child(1) > p {
    width: 60%;
  }

  .formulaire {
    display: block;
  }

  .formulaire > div {
    width: 100%;
  }

  form {
    width: 80%;
  }

  form > div:nth-child(1) {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 20px;
  }
}

@media (max-width: 700px) {
  form > div:nth-child(1) {
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 0;
  }
}

@media (max-width: 600px) {
  .haut-de-page > div:nth-child(1) > p {
    width: 80%;
  }
}

@media (max-width: 500px) {
  .info-item {
    flex-direction: column;
    align-items: center;
  }

  .info-item > div:nth-child(1) {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .info-item > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
