@media screen and (min-width: 700px) {
#formulaire {
  height: auto;
  width: 40vw;
  margin: 7vw auto 10vw 30vw;
  padding-top: 3vw;
}

form {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
}

input {
  width: 30vw;
  font: 2vw "Helvetica Neue Thin";
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--mainColor);
  margin-bottom: 2vw;
}
input:focus, textarea:focus {
  border-bottom: 5px solid var(--thirdColor);
}

span {
  position: relative;
  height: 3vw;
  will-change: opacity;
}
span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  height: 1vw;
  width: 0%;
  display: inline-block;
  transition: 0.3s ease;
  background-color: var(--thirdColor);
  mix-blend-mode: difference;
  pointer-events: none;
}
span:hover::before, span:focus::before {
  width: 100%;
}

#submit {
  border: none;
  width: 10vw;
  height: 3vw;
  transition: 0.5s ease;
  will-change: opacity;
  color: var(--mainColor);
  font: 2vw "Helvetica Neue Regular";
}
#submit:hover, #submit:focus {
  cursor: pointer;
  padding-left: 20px;
}
#submit:focus {
  color: #323232;
  outline: none;
}

textarea {
  min-width: 30vw;
  max-width: 30vw;
  min-height: 10vw;
  max-height: 30vw;
  resize: vertical;
  font: 2vw "Helvetica Neue Thin";
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--mainColor);
  margin-bottom: 4vw;
}

p {
  font: 2vw "Helvetica Neue Regular";
}

#contactEvan {
  height: 3vw;
  width: 40vw;
  margin: 10vw auto 5vw 30vw;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  font: 2vw "Helvetica Neue Thin";
}

#mailEvan, #phoneEvan {
  height: 3vw;
  width: 20vw;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
}

#contactEvan a {
  color: inherit;
  text-decoration: none;
  position: relative;
  will-change: opacity;
}
}































@media screen and (max-width: 700px) {
#form {
  height: auto;
  width: 60vw;
  margin: auto auto 10vw auto;
  padding-top: 3vw;
}

form {
  margin-top: 20vw;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
}

input {
  width: 60vw;
  font: 5vw "Helvetica Neue Thin";
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--mainColor);
  margin-bottom: 80px;
}
input:focus, textarea:focus {
  border-bottom: 5px solid var(--thirdColor);
}

span {
  position: relative;
  height: 3vw;
  
}

#submit {
  border: none;
  width: 80vw;
  height: 15vw;
  transition: 0.5s ease;
  will-change: opacity;
  color: var(--mainColor);
  font: 50px "Helvetica Neue Regular";
}

textarea {
  min-width: 60vw;
  max-width: 60vw;
  min-height: 10vw;
  max-height: 30vw;
  resize: vertical;
  font: 5vw "Helvetica Neue Thin";
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--mainColor);
  margin-bottom: 80px;
}

p {
  font: 40px "Helvetica Neue Regular";
  margin: -30px auto 30px auto;
}

#contactEvan {
  height: 30vw;
  width: 100vw;
  margin: 20vw auto 5vw auto;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-justify-content: space-around;
  justify-content: space-around;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  flex-direction: column;
  font: 30px "Helvetica Neue Thin";
}

#mailEvan, #phoneEvan {
  height: 10vw;
  width: 60vw;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
}

#contactEvan a {
  color: inherit;
  text-decoration: none;
  position: relative;
  will-change: opacity;
}
}