/* {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  border: 8px solid #929cc8;
}*/
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 0;
  margin: 0;
  font-size: 12px;
  letter-spacing: 2px;
  text-align:center;
}
#container {
  margin: 0 auto;
  width: 980px;
}
h1 {
  display: none;
}
#logo {
  margin-top: 20px;
  width: 180px;
  height: auto;
}
header {
  height: 170px;
}
nav {
  margin-top: 20px;
}
nav ul {
  padding-left: 0;
}
nav ul li {
  display: inline-block;
  vertical-align: top;
  list-style-type: none;
}
nav ul li a {
  text-decoration: none;
  color: #000;
}
nav ul li a{
  border: 1px solid #4e65c8;
  color: #4e65c8;
  margin: 10px 0; /* espace les liens d'1 px */
  padding: 8px 20px; /* marges internes pour aérer */
  background: #FFF;
  text-decoration: none; /* on vire le soulignement */
  text-align: center;
  /* on définit la transition pour les navigateurs */
  -webkit-transition: all .5s; /* Chrome/Safari */
  -moz-transition: all .5s; /* Firefox (plus trop nécessaire) */
  transition: all .5s; /* syntaxe officielle */
}
nav ul li a:hover,
nav ul li a:focus {
  border: 1px solid #fff;
  background: #929cc8;
  color: #fff;
  transform: scale(1.02);
	-ms-transform: scale(1.02);
	-webkit-transform: scale(1.02);
	-o-transform: scale(1.02);
	-moz-transform: scale(1.02);
  /* décalage du contenu de 10px vers la droite (30-20 = 10) */
}
footer {
  font-size: 10px;
  color: grey;
}
article {
  position: relative;
}
#profil {
  opacity: 0.8;
  margin: 60px 10px 50px 10px;
  width: 50%;
  height: auto;
  box-shadow: 0 0 5px 0 #929cc8;
  padding: 10px;
}
#presentation-haut, #presentation-bas {
  position: absolute;
  left: 265px;
  width: 450px;
  margin-top: 70px;
  display: inline-block;
  vertical-align: top;
  text-align: center;
}
#presentation-haut {
  font-size: 12px;
  top:40px;
  font-weight: bold;
}
#presentation-bas {
  line-height: 20px;
  bottom: 60px;
}
#resume {
  margin-top: 10px;
}
span {
  font-weight: bold;
  font-style: italic;
}
#mail {
  font-style: normal;
  color: black;
  text-decoration: none;
  border-bottom: 1px dotted black;
}

@media screen and (max-width: 900px){
  #container {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  #profil {
    display: none;
  }
  article {
    position: inherit;
  }
  #presentation-bas, #presentation-haut {
    position: inherit;
    width: 70%;
    height: auto;
  }
  #presentation-bas {
    margin: 20px 0;
  }
  #resume {
    padding-bottom: 20px;
    border-bottom: 1px solid black;
  }
}
