.Sujet {
  font-size: 30px;
  background-color: #81AE6E;
  text-align: center;
  border: 3px solid;
  border-color: #688d58;
  border-radius: 5px;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 500px;
}

/*Ligne du temps*/

* {
  box-sizing: border-box;

}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.container {
  padding: 5px 15px;
  position: relative;
  background-color: inherit;
  width: 450px;
}

.container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -42px;
  background-color: white;
  border: 4px solid #FF9F55;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: -250px;
}

.right {
  left: 250px;
}

.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 6px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 6px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

 .right::after {
  left: -40px;
} 

.content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
}

p {
  font-size: 15px;
  display: block;
  margin-left: 10px;
  margin-right: 10px;
  line-height: 25px;
}


h2 {
  line-height: 5px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

h3 {
  font-size: 20px;
  font-weight: lighter;
  text-decoration: underline;
  margin-top: 20px;
  margin-bottom: 15px;
  text-indent: 15px;
  line-height: 5px;
}

div.h2 {
  display: inline;
}

.container2 {
  width: auto;
  background-color: #ddd;
  margin-left: 10px;
  margin-right: 10px;
}

.skills {
  text-align: right;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 10px;
  color: white;
}

.texte {
  width: 75%;
  background-color: #0ccc09;
}

.tableur {
  width: 25%;
  background-color: #0ccc09;
}

.presentation {
  width: 75%;
  background-color: #0ccc09;
}

.canva {
  width: 10%;
  background-color: #0ccc09;
}

.figma {
  width: 10%;
  background-color: #0ccc09;
}

.html {
  width: 20%;
  background-color: #0ccc09;
}

.css {
  width: 10%;
  background-color: #0ccc09;
}

.fr {
  width: 90%;
  background-color: #186717;
}

.en {
  width: 25%;
  background-color: #186717;
}


/*Cases sports et hobbies*/
.etudes {
  background-color: #ffffff61;
  border-radius: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 5px;
  width: 300px;
  display: inline-block;
}

/*Bouton retour en haut*/

.bouton {
  position: fixed;
  bottom: 10px;
  right: 20px;
  font-size: 20px;
  text-decoration: none;
  border-radius: 50%
}

img:hover {
  -ms-transform: scale(1.25);
  /* IE 9 */
  -webkit-transform: scale(1.25);
  /* Safari 3-8 */
  transform: scale(1.25);
}




@media screen and (max-width: 1200px) {
  /* For mobile phones: dimensions : 430 x 932 - Iphone 14 pro max */

  p {
    font-size: 9px;
    display: block;
    margin-left: 10px;
    margin-right: 10px;
    line-height: 25px;
  }

  .Sujet {
    font-size: 20px;
    background-color: #81AE6E;
    text-align: center;
    border: 3px solid;
    border-color: #688d58;
    border-radius: 5px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    width: auto;
  }

  h2 {
    font-size: 11px;
    line-height: 5px;
    text-decoration: underline;
    text-decoration-thickness: 2px;
  }

  h3 {
    font-size: 20px;
    font-weight: lighter;
    text-decoration: underline;
    margin-top: 20px;
    margin-bottom: 15px;
    text-indent: 15px;
    line-height: 5px;
  }

  div.h2 {
    display: inline;
  }

  .etudes {
    background-color: #ffffff61;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
    width: 300px;
    display: inline-block;
  }

  /*Ligne du temps*/

  * {
    box-sizing: border-box;
  }

  .timeline {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
  }

  .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: white;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
  }

  .container {
    padding: 5px 15px;
    position: relative;
    background-color: inherit;
    width: 200px;
  }

  .container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -35px;
    background-color: white;
    border: 4px solid #FF9F55;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
  }

  .left {
    left: -120px;
  }

  .right {
    left: 28%;
  }

  .left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 6px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
  }

  .right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 6px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  .right::after {
    left: -30px;
  }

  .content {
    padding: 5px 10px;
    background-color: white;
    position: relative;
    border-radius: 6px;
  }

  .container2 {
    width: auto;
    background-color: #ddd;
    margin-left: 10px;
    margin-right: 10px;
  }

  .skills {
    text-align: right;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    color: white;
  }

  .texte {
    width: 75%;
    background-color: #0ccc09;
  }

  .tableur {
    width: 25%;
    background-color: #0ccc09;
  }

  .presentation {
    width: 75%;
    background-color: #0ccc09;
  }

  .canva {
    width: 10%;
    background-color: #0ccc09;
  }

  .figma {
    width: 10%;
    background-color: #0ccc09;
  }

  .html {
    width: 20%;
    background-color: #0ccc09;
  }

  .css {
    width: 10%;
    background-color: #0ccc09;
  }

  .fr {
    width: 90%;
    background-color: #186717;
  }

  .en {
    width: 25%;
    background-color: #186717;
  }

  /*Bouton retour en haut*/

  .bouton {
    position: fixed;
    bottom: 10px;
    right: 20px;
    font-size: 20px;
    text-decoration: none;
    border-radius: 50%
  }

  img:hover {
    -ms-transform: scale(1.25);
    /* IE 9 */
    -webkit-transform: scale(1.25);
    /* Safari 3-8 */
    transform: scale(1.25);
  }
}
