/* Contact */

#contact{
   font-size: Roboto, Cambria, sans-serif;
}

#contact h1{
 font-size: 2em;
 margin: 20px;
 text-align: center;
}

#contact p{
   font-size: 1em;
   margin: 20px;
   padding :10px;
}

#image_contact{
   width: 25%;
   height: 25%;
   margin-top: 60px;
}

/* Rajout du formulaire */

form{
  margin: auto;
  width: 1000px;
  padding: 20px;
  background-color: #DDD;
  border: 2px solid #EEE;
  border-radius: 30px;
}


form{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2em;
}

p, h1{
  margin: 20px;
  font-family: Cambria, Georgia, sans-serif;
}

label{
  text-align: left;
  margin-bottom: 10px;
  font-family: Roboto, Cambria, serif;
  color: black;
  font-weight: bold;
}

input, select{
  margin-bottom: 30px;
  border-radius: 5px;
  height: 40px;
  width: 500px;
  font-family: Roboto, Cambria, serif;
  padding-left: 4px;
  font-size: 20px;
  color: black;
}

select{
  height: 40px;
  width: 500px;
}

input{
   padding: 10px;
   font-weight: 100;
}

input:focus{
   border: 0;
}

textarea{
  width: 500px;
  height: 400px;
  font-family: Roboto, Cambria, serif;
  font-size: 20px;
  padding: 10px;
}

input[type="submit"]{
  height: 60px;
  width: 400px;
  margin-top: 30px;
  color: white;
  background-color: red;
  border: 2px #bf2702 solid;
  box-shadow: -2px 2px 2px gray, -2px 2px 2px black;

}

input[type="submit"]:hover{
  background-color: #6fd1f0;
  border: 2px solid #2e8bd4;
}

input[type="submit"]:active{
  background-color: #2e8bd4;
  border: 2px solid #6fd1f0;
}

[placeholder]{
  color: gray;
  font-style: italic;
}

@media all and (max-width: 2000px){

   body{
       font-size: 15px;
   }
   
   form{
       width: 600px;
   }
  
}

@media all and (max-width: 1200px){

   body{
       font-size: 12px;
   }

   form{
       width: 500px;
       padding: 20px;
   }
   
   input{
       width: 70%;
   }
   
   textarea{
       width: 400px;
   }
   
   select{
       width: 400px;
   } 
  
}

@media all and (max-width: 800px){
   form{
       width: 450px;
       padding: 20px;
   }
}

@media all and (max-width: 600px){

   form{
       width: 300px;
       padding: 20px;
       font-size: 9px;
   }
   
   select option:focus{
       font-size: 9px;
   }
   
   input, input[type=submit]{
       width: 80%;
   }
   
   textarea{
       width: 80%;
   }
   
   select{
       width: 80%;
   } 
   
  
}

