html {
  font-family: 'Source Sans Pro', sans-serif;
}
#social {
  text-align: right;
}
#linkedin {
  width: 2em;
}
#linkedin:hover {
  width: 3em;
}
header {
 /*Background for header*/
  background-image: linear-gradient(#3b4c56, #6f685d, #292725, #211c1a);
  /* LE dégradé de fond du header*/
  padding-right: 4em;
}
#profil {
  margin-top: 2em;
  height: auto;
  width: 200px;
}
#nom {
  color: white;
  font-size: 3em;
}
#under_title {
  color: #b8b6b1;
  font-size: 1.5em;
  font-family: 'Source Sans Pro';
  font-weight: 700;
}
nav {
  padding-top: 3em;
}
a {
  font-size: 1.3em;
}
a:active {
  color: chocolate;
  text-decoration: underline;
}
a:hover {
  color: chocolate;
}
h1, h2, h3, ul, li {
  color: #717171;
}
p {
  color: #858585;
}
hr {
  /* ligne between sections */
  margin: 3em auto;
  width: 85%;
  height: 2px;
  background-color: #efefef;
  border: none;
}
.category_title {
  text-align: center;
}
iframe {
  width: 100%;
  height: 450px;
}
#presentation p {}
@media all {
  #contact p {
    line-height: 1em;
  }
}
@media all and (min-width: 770px) {
  header {
    position: fixed;
    width: 22em;
    height: 100%;
    margin: -0.5em;
  }
  #position_header {
    text-align: right;
    /*Alignement du texte sur la droite*/
    padding-right: 1em;
    /*On met un padding pour éviter de coller le texte*/
  }
  #presentation {
    padding-top: 4em;
    /* On applique un padding top à la première section pour éviter que le texte soit coller en haut*/
  }
  /*On va éviter que les section passent en dessous du header en leur donnant une marge à gauche */
  section {
    margin-left: 29em;
    /* On met une marge légèrement plus forte que la taille du header*/
    margin-right: 5em;
    text-align: justify;
    line-height: 1.7em;
  }
}
@media all and (max-width: 770px) {
  header {
    text-align: center;
  }
  section {
    padding: 2em;
  }
}
a /* comme il n'y a que le menu qui présente une balise a on peut l'appliquer directement*/ {
  display: block;
  text-decoration: none;
  color: white;
  padding-bottom: 1em;
}
.competences {
  /* On applique une taille et un arrondi à chaque image*/
  width: 400px;
  border-radius: 10px;
  margin-top: 3em;
}
.competences:hover {
  transform: scale(1.05);
  /* Un petit effet de grossissement lorsque l'on passe sur les images.*/
}
#img_container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.under_container {
  display: block;
}