html {
  /*background: url("th.jpg") no-repeat center;*/
  /*-webkit-background-size: 100% 100%;*/
  /*background-size: 100% 100%;*/
}

html, body {
  height: 100%;
}

body {
  background: #363795; /* Old browsers */
  background: -moz-linear-gradient(left, #363795 0%, #005b97 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #363795 0%, #005b97 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #363795 0%, #005b97 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#363795', endColorstr='#005b97', GradientType=1); /* IE6-9 */

  color: white;
  font-family: 'Lato', sans-serif;
  display: flex;
  flex-direction: column;
}

main {
  width: 50%;
  margin: auto 6.5%;
  padding: 100px;
}

main > div:first-child {
  float: left;
}

h1 {
  margin-bottom: 10px;
  font-size: 2.5em;
  font-weight: 300;
  letter-spacing: 3px;
}

h1 a {
  color: white;
  text-decoration: none;
}

h2 {
  font-family: 'Maven Pro';
  font-weight: bold;
  margin-bottom: 60px;
  font-size: 1.4em;
  letter-spacing: 1.6px;
}

/* Formulaire */
form {
  width: 100%;
  text-align: right;
}

form div:last-child {
  text-align: center;
}

input, textarea {
  padding: 17px 17px 17px 25px;
  width: 100%;
  border: none;
  margin-bottom: 25px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  resize: none;
  border-radius: 5px;
  font-family: 'Lato', sans-serif;
  font-size: 1.2em;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#3640a0+0,1656a1+100 */
  background: #3640a0; /* Old browsers */
  background: -moz-linear-gradient(left, #3640a0 0%, #1656a1 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #3640a0 0%,#1656a1 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #3640a0 0%,#1656a1 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3640a0', endColorstr='#1656a1',GradientType=1 ); /* IE6-9 */
  color: white;
}

input:focus, textarea:focus {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#6274ff+0,2a9cff+100 */
  background: #6274ff; /* Old browsers */
  background: -moz-linear-gradient(left, #6274ff 0%, #2a9cff 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #6274ff 0%,#2a9cff 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #6274ff 0%,#2a9cff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6274ff', endColorstr='#2a9cff',GradientType=1 ); /* IE6-9 */
  outline: none;
}

input[type=submit] {
  max-width: 35%;
  cursor: pointer;
  color: #3640a0;
  background: #fff;
}

/* Les réseaux sociaux */
.social {
  margin-top: 20px;
  float: right;
}

.social li {
  margin-left: 34px;
  position: relative;
  width: 50px;
  height: 50px;
  display: inline-block;
  background-color: #214ea1;
  text-align: center;
  -webkit-transition: background-color 0.2s ease;
  -moz-transition: background-color 0.2s ease;
  -ms-transition: background-color 0.2s ease;
  -o-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
  border-radius: 5px;
}

.social li:hover {
  background-color: #6274ff;
}

.social li a {
  width: 100%;
  height: 100%;
  display: block;
  line-height: 0;
  font-size: 0;
  color: transparent;
  position: absolute;
}

.social li.linkedin a + svg > * {
  fill: transparent;
}

.social li.linkedin a + svg path#bg {
  fill: white;
}

.social li svg {
  width: 25px;
  max-height: 25px;
  pointer-events: none;
  margin-top: 13px;
}

.social li a + svg path {
  fill: white;
}

.info {
  clear: both;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
}

@media only screen and (max-width:1600px) {
  h2 {
    margin-bottom: 30px;  
  }

  .social {
    float: none;
    clear:both;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
  }

  .social li {
    margin-left: 0;
  }
}

@media only screen and (max-width:860px) {
  main {
    width: 87.5%;
    padding: 0;
  }

  input[type=submit] {
    min-width: 160px;
  }
}