/** @format */

@font-face {
  font-family: "font1";
  src: url("../fonts/Rubik-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "font2";
  src: url("../fonts/ELEPHNT.TTF");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  height: 100%;
  margin: 0;
}

.nom {
  float: left;
  width: 85%;
  position: relative;
  left: 15%;
  color: #ff4d5a;
  font-family: font2;
  margin: 0;
}

.nom h1 {
  font-size: 70px;
}

.moi {
  float: left;
  width: 300px;
  position: relative;
  margin-left: 10%;
}

.détails {
  float: right;
  width: 40%;
  position: relative;
  border-left: 6px solid #ff4d5a;
  padding-left: 4%;
  margin-right: 8%;
}

.titre {
  font-family: font2;
  color: #ff4d5a;
  font-size: 35px;
  margin: 0;
}

.suite {
  font-family: font1;
  color: #072142;
  font-size: 25px;
  margin-top: 0;
  margin-bottom: 25px;
}

/* IMPRIMER */

.print {
  position: fixed;
  bottom: 3vw;
  left: 91.25vw;
  width: 20vw;
  transition: 0.4s;
  z-index: 99;
}

.print:hover {
  left: 84vw;
}

.print hr {
  height: 0.4vw;
  width: 100%;
  border: 0;
  border-radius: 100vw;
  background-color: #ff4d5a;
  margin: 0;
}

#print {
  color: #072142;
  font-family: font1;
  margin: 0;
  text-decoration: none;
  font-size: 1.75vw;
}

/* CHAPITRES */

.chapitres {
  font-family: font1;
  font-size: 1vw;
  width: 8vw;
  position: fixed;
  bottom: 2vw;
  left: 1vw;
  padding-left: 0.5vw;
  border-left: 0.3vw solid #ff4d5a;
  z-index: 99;
}

.chapitres a {
  text-decoration: none;
  color: #072142;
  transition: 0.3s;
}

.chapitres a:hover {
  color: #ff4d5a;
}

/* FORMATION */

.h1formation {
  float: left;
  width: 85%;
  font-family: font2;
  color: #ff4d5a;
  position: relative;
  margin-top: 100px;
  left: 10%;
}

.h1formation h1 {
  font-size: 50px;
}

.h1formation hr {
  height: 0.4vw;
  border: 0;
  border-radius: 100vw;
  background-color: #072142;
}

.h1formation .hr1 {
  width: 21vw;
  margin: 0;
}

.h1formation .hr2 {
  margin-top: 0.75vw;
  margin-left: 15vw;
  width: 15vw;
  float: left;
}

.timelineformation {
  float: left;
  width: 100%;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timelineformation h1 {
  color: #ff4d5a;
  font-family: font2;
  font-size: 40px;
}

.timelineformation h2 {
  color: #072142;
  font-family: font2;
}

.timelineformation p,
.timelineformation li {
  color: #072142;
  font-family: font1;
  font-size: 20px;
}

.timelineformation::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: #072142;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timelineformation .container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
}

.timelineformation .container.right {
  width: 40%;
}

.timelineformation .container.left {
  width: 43%;
}

.timelineformation .container::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -20px;
  background-color: #ff4d5a;
  border: 4px solid #ff4d5a;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timelineformation .left {
  left: 0;
}

.timelineformation .right {
  left: 50%;
}

.timelineformation .left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #ff4d5a;
}

.timelineformation .right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent #ff4d5a transparent transparent;
}

.timelineformation .right::after {
  left: -16px;
}

.timelineformation .content {
  padding: 20px 30px;
  background-color: white;
  border: solid 5px #ff4d5a;
  position: relative;
  border-radius: 15px;
}

@media screen and (max-width: 800px) {
  .timelineformation::after {
    left: 31px;
  }

  .timelineformation .container {
    padding-left: 70px;
    padding-right: 25px;
  }

  .timelineformation .container.right {
    width: 75%;
  }

  .timelineformation .container.left {
    width: 75%;
  }

  .timelineformation .container::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  .timelineformation .left::after,
  .timelineformation .right::after {
    left: 15px;
  }

  .timelineformation .right {
    left: 0%;
  }
}

/* EXPERIENCE PROFESSIONNELLE */

.h1xp {
  text-transform: uppercase;
  float: left;
  width: 85%;
  font-family: font2;
  color: #ff4d5a;
  position: relative;
  margin-top: 100px;
  left: 10%;
}

.h1xp h1 {
  font-size: 50px;
}

.timelinexp {
  float: left;
  width: 100%;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timelinexp h1 {
  color: #ff4d5a;
  font-family: font2;
  font-size: 40px;
}

.timelinexp h2 {
  color: #072142;
  font-family: font2;
}

.timelinexp p,
.timelinexp li {
  color: #072142;
  font-family: font1;
  font-size: 20px;
}

.timelinexp::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: #072142;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timelinexp .container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
}

.timelinexp .container.right {
  width: 40%;
}

.timelinexp .container.left {
  width: 43%;
}

.timelinexp .container::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -22px;
  background-color: #ff4d5a;
  border: 4px solid #ff4d5a;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timelinexp .left {
  left: 0;
}

.timelinexp .right {
  left: 50%;
}

.timelinexp .left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #ff4d5a;
}

.timelinexp .right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent #ff4d5a transparent transparent;
}

.timelinexp .right::after {
  left: -16px;
}

.timelinexp .content {
  padding: 20px 30px;
  background-color: white;
  border: solid 5px #ff4d5a;
  position: relative;
  border-radius: 15px;
}

@media screen and (max-width: 1000px) {
  .timelinexp .container::after {
    right: -5px;
  }
  .timelineformation .container::after {
    right: -5px;
  }
}

@media screen and (max-width: 800px) {
  .h1formation,
  .h1xp {
    font-size: 3vw;
  }

  .timelinexp::after {
    left: 31px;
  }

  .timelinexp .container {
    padding-left: 70px;
    padding-right: 25px;
  }

  .timelinexp .container.right {
    width: 75%;
  }

  .timelinexp .container.left {
    width: 75%;
  }

  .timelinexp .container::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  .timelinexp .left::after,
  .timelinexp .right::after {
    left: 15px;
  }

  .timelinexp .right {
    left: 0%;
  }
}

/* COMPETENCES INFORMATIQUES */

.cititre {
  float: left;
  width: 85%;
  font-family: font2;
  color: #ff4d5a;
  position: relative;
  margin-top: 100px;
  left: 10%;
}

.cititre h1 {
  font-size: 50px;
  text-transform: uppercase;
}

.cititre hr {
  height: 0.4vw;
  border: 0;
  border-radius: 100vw;
  background-color: #072142;
}

.cititre .hr1 {
  margin: 0;
  width: 57vw;
  float: left;
}

.cititre .hr2 {
  margin-top: 0.75vw;
  margin-left: 45vw;
  width: 36vw;
  float: left;
}

.ci {
  float: left;
  width: 100%;
  position: relative;
  font-family: font1;
}

.titrecompetence {
  float: left;
  width: 30%;
  margin-left: 20%;
}

.ci h2 {
  margin: 0;
}

.ci .niveau {
  float: left;
  width: 50%;
  margin-bottom: 25px;
}

.ci .progress {
  margin-left: 10%;
  background-color: #072142;
  width: 300px;
  height: 50px;
  border-radius: 100vw;
  position: relative;
}

.ci .progressbarHTML,
.ci .progressbarPRO,
.ci .progressbarPHP,
.ci .progressbarSQL,
.ci .progressbarC,
.ci .progressbarJAVA,
.ci .progressbarSHELL {
  background-color: #ff4d5a;
  height: 36px;
  border-radius: 100vw;
  position: relative;
  top: 7px;
  left: 7px;
}

.ci .progressbarHTML {
  width: 75%;
}

.ci .progressbarPRO {
  width: 75%;
}

.ci .progressbarPHP {
  width: 75%;
}

.ci .progressbarSQL {
  width: 75%;
}

.ci .progressbarC {
  width: 60%;
}

.ci .progressbarJAVA {
  width: 20%;
}

.ci .progressbarSHELL {
  width: 40%;
}

/* SYSTEMES D'EXPLOITATION */

.setitre {
  float: left;
  width: 85%;
  font-family: font2;
  color: #ff4d5a;
  position: relative;
  margin-top: 100px;
  left: 10%;
  text-transform: uppercase;
}

.setitre h1 {
  font-size: 50px;
}

.se {
  float: left;
  position: relative;
  width: 75%;
  margin-left: 25%;
}

.se img {
  width: 175px;
  float: left;
  position: relative;
  z-index: 47;
}

.se h2 {
  float: right;
  font-family: font1;
  color: #072142;
  font-size: 50px;
  position: relative;
  right: 35%;
  text-align: right;
  width: 65%;
  border-bottom: 6px solid #ff4d5a;
  z-index: 45;
}

.se .windows {
  float: left;
  width: 100%;
  margin-bottom: 150px;
}

.se .linux {
  float: left;
  width: 100%;
}

/* LOISIRS */

.loisirstitre {
  float: left;
  width: 85%;
  font-family: font2;
  color: #ff4d5a;
  position: relative;
  margin-top: 100px;
  left: 10%;
  text-transform: uppercase;
}

.loisirstitre h1 {
  font-size: 50px;
}

.loisirs {
  float: left;
  position: relative;
  width: 100%;
}

.loisirs img {
  width: 400px;
  position: relative;
  z-index: 47;
}

.loisir1,
.loisir2 {
  float: left;
  width: 90%;
  margin-bottom: 100px;
}

.loisir1 {
  margin-left: 10%;
}

.loisir2 {
  margin-right: 10%;
}

.loisirs .loisir1 img {
  float: left;
}

.loisirs .loisir2 img {
  float: right;
}

.loisirs h2 {
  width: 50%;
  font-family: font2;
  font-size: 35px;
  color: #072142;
  position: relative;
}

.loisirs .loisir1 h2 {
  float: left;
  margin-left: 2%;
  margin-top: 100px;
}

.loisirs .loisir2 h2 {
  float: right;
  margin-right: 2%;
  margin-top: 100px;
}

.space {
  float: left;
  width: 100%;
}

.hesite {
  float: left;
  width: 100%;
  font-size: 65px;
  font-family: font2;
  color: #072142;
  text-align: center;
}

.mecontacter {
  text-decoration: none;
  color: #ff4d5a;
  border-bottom: 5px solid #ff4d5a;
  padding-bottom: 2px;
  transition: 0.4s;
}

.mecontacter:hover {
  color: #072142;
  padding-bottom: 10px;
}

.totop {
  position: fixed;
  bottom: 7vw;
}

@media screen and (max-width: 1024px) {
  .topnav {
    top: -0px;
  }

  .loisir1,
  .loisir2 {
    text-align: center;
    margin: 0;
    width: 98%;
    margin-bottom: 50px;
  }

  .loisirs .loisir1 h2,
  .loisirs .loisir2 h2 {
    margin-top: 10px;
  }

  .loisirs .loisir2 h2 {
    margin-right: 0;
  }

  .loisirs h2 {
    width: 100%;
  }

  .loisir2 {
    margin-right: 0;
  }

  .loisirs .loisir2 img {
    float: left;
  }

  .loisirs img {
    margin-left: 33%;
  }
}

@media screen and (max-width: 900px) {
  .moi {
    margin-left: 33%;
  }

  .détails {
    float: left;
    width: auto;
    margin-top: 6%;
    margin-right: 0;
    padding: 0;
    text-align: center;
    border-left: 0px;
    border-top: 6px solid #ff4d5a;
    position: relative;
    left: 27.5%;
    padding-top: 2%;
  }

  .loisirs img {
    margin-left: 28%;
  }

  .titrecompetence {
    margin-left: 15%;
  }
}

@media screen and (max-width: 800px) {
  .loisirstitre h1,
  .h1formation h1,
  .h1xp h1,
  .cititre h1,
  .setitre h1 {
    font-size: 30px;
  }

  .se {
    margin-left: 10%;
    width: 85%;
  }

  .se h2 {
    width: 70%;
    right: 10%;
  }
}

@media screen and (max-width: 700px) {
  .se .windows,
  .se .linux {
    width: auto;
  }

  .se h2 {
    width: auto;
    right: 0%;
  }

  .loisirs img {
    margin-left: 15%;
    width: 70%;
  }
}

@media screen and (max-width: 650px) {
  .ci {
    width: 75%;
    margin-left: 20%;
  }

  .titrecompetence {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .hesite {
    font-size: 45px;
  }
  .moi {
    width: 70%;
    margin-left: 15%;
  }
  .détails {
    left: 0;
    padding-left: 10%;
  }
}

@media screen and (max-width: 500px) {
  .se .windows,
  .se .linux {
    margin-left: 20%;
    width: 60%;
  }
  .se h2 {
    float: left;
    margin-top: 0;
    text-align: center;
    border-bottom: 0;
  }

  .h1xp,
  .h1formation,
  .cititre,
  .setitre,
  .loisirstitre {
    left: 2%;
  }

  .ci {
    margin-left: 10%;
  }
}

@media screen and (max-width: 450px) {
  .nom h1 {
    margin-top: 50px;
    font-size: 50px;
  }
}

@media screen and (max-width: 400px) {
  .ci {
    margin-left: 0%;
  }

  .moi {
    width: 250px;
    margin-left: 10%;
  }

  .cititre h1,
  .h1formation,
  .h1xp h1 {
    font-size: 250%;
  }

  .cititre h1 {
    font-size: 150%;
  }

  .setitre h1 {
    font-size: 150%;
  }
}
