/* COMMUN
–––––––––––––––––––––––––––––––––––––––––––––––––– */
* {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: black;
  color: white;
}
/* Supprimer le superflux horizontal */
main {
  overflow-x: hidden;
}

/* Lien hypertexte dans les p */
p a {
  text-decoration: none;
  color: #64c0d7;
}
p a:hover {
  text-decoration: underline;
}
/* Background Section */
.bgSection {
  background-image: url(../imgs/headerBackground.png);
  background-position: 50% 70%;
  background-repeat: no-repeat;
  background-size: cover;
  transition: background-image 0.3s ease;
}
/* HEADER
–––––––––––––––––––––––––––––––––––––––––––––––––– */
header {
  width: 100%;
  background-image: url(../imgs/headerBackground.png);
  background-position: 50% 70%;
  background-repeat: no-repeat;
  background-size: cover;
  transition: background-image 0.3s ease;
}
header nav {
  position: relative;
  display: flex;
  width: auto;
  padding: 1.5vh;
  height: 4vh;
  background-color: rgba(57, 57, 57, 0.5);
  transition: background-color 0.2s ease;
}
header ul li {
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
}
header ul li a {
  text-decoration: none;
  color: white;
  display: block;
  padding: 10px 0;
  width: 100%;
}

/* Survol du logo en haut à gauche */
.navLogoPhone {
  display: block;
}
.navLogoPhoneBleu {
  display: none;
}
.acceuilLogo:hover .navLogoPhone {
  display: none;
}
.acceuilLogo:hover .navLogoPhoneBleu {
  display: block;
}

/* Titre header */
.conteneurTitre {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Paragraphe première section
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.pPremiereSection {
  display: flex;
  flex-flow: column;
  align-items: center;
}

.premiereSection h2,
.h2Blue h2,
.timeline h2 {
  font-size: 4vh;
  margin-bottom: 20px;
  color: #64c0d7;
}

/* FOOTER
–––––––––––––––––––––––––––––––––––––––––––––––––– */
footer {
  width: 100%;
  background-color: #1a1a1a;
  display: flex;
  flex-flow: wrap;
  padding: 2vh 0;
  font-size: 12px;
}
footer div {
  height: 1vh;
  width: 1vh;
  border-radius: 50%;
  background-color: #64c0d7;
  margin: 0 10px;
}
footer ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
footer nav a {
  text-decoration: none;
  color: white;
}
footer nav a:hover {
  color: #64c0d7;
}
footer nav,
footer ul {
  width: 100%;
  margin-bottom: 0.8vh;
}

.activePage {
  color: #64c0d7;
}

/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline * {
  box-sizing: border-box;
  color: #fff;
}

.timeline ul {
  padding: 50px 0;
}

.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 6px;
  margin: 0 auto;
  padding-top: 50px;
  background: #fff;
}

.timeline ul li::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: inherit;
  z-index: 1;
}

.timeline ul li div {
  position: relative;
  bottom: 0;
  width: 400px;
  padding: 15px;
  background: #64c0d7;
}

.timeline ul li div::before {
  content: "";
  position: absolute;
  bottom: 7px;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline ul li:nth-child(odd) div {
  left: 45px;
}

.timeline ul li:nth-child(odd) div::before {
  left: -15px;
  border-width: 8px 16px 8px 0;
  border-color: transparent #64c0d7 transparent transparent;
}

.timeline ul li:nth-child(even) div {
  left: -439px;
}

.timeline ul li:nth-child(even) div::before {
  right: -15px;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #64c0d7;
}

time {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.timeline ul li::after {
  transition: background 0.5s ease-in-out;
}

.timeline ul li.in-view::after {
  background: #64c0d7;
}

.timeline ul li div {
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.timeline ul li:nth-child(odd) div {
  transform: translate3d(200px, 0, 0);
}

.timeline ul li:nth-child(even) div {
  transform: translate3d(-200px, 0, 0);
}

.timeline ul li.in-view div {
  transform: none;
  visibility: visible;
  opacity: 1;
}

.timeline h2 {
  width: 100%;
  text-align: center;
  color: #64c0d7;
}

.timeline p {
  width: 60%;
  margin: auto;
  text-align: center;
  font-size: 2.8vh;
}

/* Animation timeline */
@keyframes scaleAnimation {
  0% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.25);
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}

/* Page Carrière
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.careerSection article {
  position: relative;
  background-color: #1a1a1a;
  border-radius: 20px;
  padding: 3vh;
  margin-bottom: 3vh;
}

.careerSection h3 {
  margin-right: 18vh;
  font-size: 3vh;
  color: #64c0d7;
}

.careerSection h4,
.careerSection time {
  margin-right: 55px;
  font-size: 2.5vh;
  font-weight: normal;
}

.careerSection time {
  color: #ccc;
}

.careerSection ul {
  list-style: none;
  font-size: 2.5vh;
}

.careerSection li:before {
  content: "- ";
}

.careerSection img {
  position: absolute;
  top: 2.6vh;
  right: 2.6vh;
  height: 5vh;
}
/* Page Mentions légales / Plan du site
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.legalPage,
.planPage {
  padding: 100px 0;
  width: 60%;
  margin: auto;
}
.legalPage h2,
.planPage h2 {
  font-size: 3vh;
  padding: 20px 0;
  color: #64c0d7;
}
.legalPage p {
  font-size: 2.5vh;
}
.planPage li {
  font-size: 2.5vh;
  margin: 50px 0;
}
.planPage a {
  text-decoration: none;
  color: #fff;
}

.planPage a:hover {
  color: #64c0d7;
}

/*PAGE A PROPOS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.aboutPage {
  width: 80%;
  margin: auto;
  margin: 20vh auto;
}

.aboutMeSection img {
  height: 30vh;
  border-radius: 50%;
  margin: auto;
}

.aboutMeSection div {
  display: flex;
  flex-flow: column wrap;
  width: 60%;
  margin: auto;
}

.aboutMeSection p,
.aboutMeSection h2 {
  margin-bottom: 2.7vh;
}

.aboutMeSection h2 {
  font-size: 4vh;
}

.aboutMeSection p {
  font-size: 2.5vh;
}

.aboutSocials {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.aboutSocials img {
  height: 10vh;
  margin: 0 6vh;
  transition: 0.5s;
}

.aboutSocials img:hover {
  transform: scale(1.2);
}

/*PAGE COMPETENCES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.skillsPage {
  width: 80%;
  display: flex;
  flex-flow: wrap column;
  align-items: center;
  margin: 15vh auto;
}

.skillsIntro {
  width: 80%;
  margin-bottom: 7.5vh;
}

.skillsIntro h2 {
  font-size: 4vh;
  margin-bottom: 1.5vh;
  color: #64c0d7;
}

.skillsIntro p {
  font-size: 2.5vh;
}

.skillsList {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-flow: wrap row;
}

.skillsContain {
  display: flex;
  width: 40%;
  flex-flow: wrap;
  justify-content: space-between;
  margin: 1.5vh 3vh;
}

.skillsContain p {
  font-size: 2.5vh;
}

.skillsContainer {
  margin: 1.5vh 0;
  background-color: #ccc;
  height: 0.8vh;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.skillsJauge {
  width: var(--width);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 8px;
  background-color: #64c0d7;
  transition: all 0.4s ease;
}

.skillsPourcent {
  color: #ccc;
}

/* PAGE PROJETS 
-----------------------------------------------*/
.projectsSection {
  padding: 5vh 8vw;
}

.projectsSection h2 {
  font-size: 4vh;
  margin-bottom: 2vh;
  color: #64c0d7; /* Titre principal */
}

.projectCard {
  background: #111111;
  border: 2px solid transparent;
  border-radius: 2vh;
  padding: 4vh 3vw;
  margin-bottom: 5vh;
  transition: border 0.4s ease, transform 0.3s ease;
}

.projectCard:hover {
  transform: translateY(-1vh);
  border: 2px solid #64c0d7;
}

.projectCard h3, h4 {
  font-size: 2.7vh;
  margin-bottom: 2vh;
  color: #CCCCCC; 
}

.projectCard h4 {
  font-weight: normal;
}

.projectCard p {
  font-size: 2.5vh;
  color: #FFFFFF;
  line-height: 1.6;
}

.pageProjets {
  padding-top: 4vh;
}

.projectButton {
  display: inline-block;
  padding: 1.5vh 2vw;
  margin-top: 1.5vh;
  margin-right: 0.3vw;
  font-size: 2.5vh;
  font-weight: 600;
  color: #64c0d7;
  text-decoration: none;
  border: 3px solid #64c0d7;
  background-color: transparent;
  border-radius: 0.5vh;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.projectButton:hover {
  background-color: #64c0d7;
  color: #FFFFFF;
}


/*––––––––––––––––––––––––––––––––––––––––––––––––––
  RESPONSIVE PC
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (min-width: 700px) {
  /*COMMUN PC
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  .not_pc {
    display: none;
  }

  /* effet parallax */
  header,
  .bgSection {
    background-attachment: fixed;
  }
  /* Background Section */
  .bgSection {
    padding: 100px 0;
  }
  .h2Blue h2 {
    text-align: center;
  }
  /* Première section Logo + Ligne + Paragraphe */
  .premiereSection {
    display: flex;
    align-items: center;
    margin: auto;
    padding: 20vh 0;
    justify-content: center;

    & h2 {
      width: 100%;
    }
  }

  /* PAGE PARCOURS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  .careerSection {
    margin: auto;
    width: 80%;
    display: flex;
    flex-flow: wrap;
    justify-content: center;

    & article {
      margin: 2.7vh;
      width: 55vh;
      transition: 0.25s;

      &:hover {
        box-shadow: 0 0.5em 0.5em -0.4em #64c0d7;
        transform: translateY(-0.25em);
      }
    }
    & img {
      height: 9vh;
    }
  }

  /* HEADER
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  /* barre de navigation */
  header nav {
    justify-content: center;
    align-items: center;
  }
  header ul {
    display: flex;
  }
  header ul li {
    margin-left: 3.5vh;
    list-style-type: none;
  }
  header ul li a {
    font-size: 2.3vh;
  }
  /* mettre en bleu au survol du menu */
  header ul li a:hover {
    color: #64c0d7;
  }

  /* Titre header */
  .conteneurTitre {
    flex-flow: wrap column;
    padding: 15vh 0;

    /* Titre */
    & h1 {
      text-transform: uppercase;
      font-weight: 800;
      font-size: 9vh;
      margin-bottom: 3.5vh;
    }
    & p {
      margin-bottom: 30px;
      text-align: center;
      width: 40%;
      font-size: 2.5vh;
    }
  }
  /* FOOTER
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  footer {
    font-size: 2.3vh;
  }
  /* ANIMATION DEVELOPPEMENT
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  .developpement {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .developpementButton {
    height: 200px;
    width: 600px;
    font-size: 60px;
    font-weight: bold;
    background-color: #64c0d7;
    position: relative;
    animation-name: developpement;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    transition: 1s;
  }
  .developpementButton:hover {
    transform: scale(0.8);
  }
  /* Animation bouton developpement */
  @keyframes developpement {
    0% {
      left: -100px;
    }
    50% {
      left: 100px;
    }
    100% {
      left: -100px;
    }
  }

  /* PAGE ACCEUIL
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  .ligneBleu {
    width: 0.5vh;
    height: 35vh;
    margin: 0 90px;
    background-color: #64c0d7;
  }
  .pPremiereSection1 {
    width: 40%;
    font-size: 2.5vh;
  }
  .pPremiereSection2 {
    width: 60%;
    font-size: 2.5vh;
  }

  /* Troisième section */
  .troisiemeSection {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3vh;
    text-align: center;
    padding: 100px 0;
  }
  /* Image citation */
  .troisiemeSection img {
    margin-right: 40px;
    align-self: flex-start;
  }
  .troisiemeSection h2 {
    margin-top: 30px;
  }
  /* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  .timeline {
    margin-top: 100px;
  }
  /*PAGE A PROPOS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  .aboutMeSection {
    width: 80%;
    background-color: #64c0d7;
    clip-path: polygon(0 0, 98% 5%, 100% 100%, 2% 95%);
    padding: 9vh;
    color: #000;
    margin: auto;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    margin-bottom: 15vh;
    border: 7px solid #1a8cff;
  }

  .aboutMeSection2 {
    clip-path: polygon(5% 5%, 100% 0, 95% 95%, 0 100%);
    padding: 10vh 9vw 8vh 7vw;
  }
}

/*––––––––––––––––––––––––––––––––––––––––––––––––––
  RESPONSIVE MOBILE
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 700px) {
  /*COMMUN MOBILE
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  .not_mobile {
    display: none;
  }
  /* annulation du background */
  .bgSection {
    padding: 50px 0;
    background: none;
  }
  .careerSection .premiereSection {
    padding: 0 0 0 0;
  }

  /*HEADER
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  /* barre de navigation */
  header nav {
    max-width: 700px;
    justify-content: right;
  }
  /* Changement couleur fond menu navigation */
  header.open nav {
    background-color: rgba(28, 28, 28, 1);
  }
  /* Menu de navigation */
  header ul {
    background: rgb(28, 28, 28);
    position: absolute;
    width: 100%;
    left: 0;
    top: 100%;
    padding: 10px 0;
    transform: scaleY(0);
    transform-origin: center top;
    transition: all 0.3s ease;
  }
  /* Ouverture du menu de navigation */
  header ul.open {
    transform: scaleY(1);
  }
  /* mettre en bleu au survol du menu */
  header ul li a:hover {
    background-color: #64c0d7;
  }

  /* Burger et animation du burger */
  #burger {
    width: 25px;
    height: 4px;
    background: white;
    display: inline-block;
    position: relative;
  }
  #burger::before,
  #burger::after {
    content: "";
    width: 25px;
    height: 4px;
    background: white;
    display: inline-block;
    position: absolute;
    transform-origin: center;
    transition: all 0.3s ease;
  }
  #burger::before {
    top: -8px;
  }
  #burger::after {
    top: 8px;
  }
  #burger.open {
    background: transparent;
  }
  #burger.open::before {
    transform: rotate(45deg);
    top: 0;
  }
  #burger.open::after {
    transform: rotate(-45deg);
    top: 0;
  }

  @keyframes developpement {
    0% {
      left: -50px;
    }
    50% {
      left: 50px;
    }
    100% {
      left: -50px;
    }
  }

  /* Paragraphe Titre et Première section */
  .conteneurTitre p,
  .premiereSection p,
  .timeline p {
    width: 80%;
    font-size: 14px;
    text-align: center;
  }

  /* Titre header */
  .conteneurTitre {
    flex-flow: wrap;
    padding: 50px 0;
  }
  /* Titre */
  .conteneurTitre h1 {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 20px;
  }
  /* ANIMATION DEVELOPPEMENT
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  .developpement {
    height: 65vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .developpementButton {
    color: black;
    margin-top: 100px;
    height: 100px;
    width: 200px;
    font-size: 20px;
    font-weight: bold;
    background-color: #64c0d7;
    position: relative;
    animation-name: developpement;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    transition: 1s;
  }
  /* PAGE ACCEUIL
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  /* Première section */
  .premiereSection {
    display: flex;
    flex-flow: column wrap;
    padding: 50px 0 0 0;
    align-items: center;
  }

  /* Ligne bleu entre logo et paragraphe */
  .ligneBleu {
    margin: 50px 0;
    width: 60%;
    height: 4px;
    background-color: #64c0d7;
  }

  /* responsive slider */
  .slider {
    height: 400px;
  }

  /* Troisieme section */
  .troisiemeSection {
    padding: 0 0 60px 0;
    margin: auto;
    width: 80%;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
  }
  .troisiemeSection h2 {
    font-size: 14px;
    text-align: center;
  }
  .troisiemeSection img {
    align-self: flex-start;
    margin-bottom: 5px;
  }

  /* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  .timeline ul li {
    margin-left: 20px;
  }
  .timeline ul li div {
    width: calc(100vw - 91px);
  }
  .timeline ul li:nth-child(even) div {
    left: 45px;
  }
  .timeline ul li:nth-child(even) div::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent #64c0d7 transparent transparent;
  }
  /* PAGE PARCOURS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  .careerSection,
  .h2Blue {
    display: flex;
    align-items: center;
    flex-flow: column wrap;
    width: 100%;
  }
  .careerSection h3 {
    font-size: 16px;
  }
  .careerSection h4,
  .careerSection time {
    font-size: 14px;
  }
  .careerSection ul {
    font-size: 14px;
  }
  .careerSection article {
    width: 80%;
  }
  /* Page Mentions légales / Plan du site
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  .legalPage,
  .planPage {
    padding: 50px 0;
    width: 80%;
  }
  /* Page Contact
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  .wrapperContact {
    margin-top: 50px;
    background: #171717;
    border: 10px solid #5fb7cd;
  }
  .wrapperContact .innerContact {
    padding: 27px 20px 37px;
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    -o-box-shadow: none;
  }
  .wrapperContact p {
    font-size: 14px;
    padding: 0;
  }
  .wrapperContact h3 {
    font-size: 38px;
  }
  #pContact {
    margin: 20px 0 50px 0;
  }
  /* PAGE PROJETS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

  .pageProjets {
    padding-top: 20px;
  }

  .pageProjets h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    color: #64c0d7;
  }
  /*PAGE A PROPOS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  .aboutMeSection {
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 50px;
  }
  .aboutMeSection h2 {
    color: #64c0d7;
  }
  .aboutMeSection div {
    display: flex;
    flex-flow: column wrap;
    width: 100%;
    margin: auto;
  }
  .aboutPage {
    margin: 50px auto;
  }
  .aboutSocials img {
    margin: 10px 40px;
  }
  /*PAGE COMPETENCES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  .skillsPage {
    margin: 50px auto;
    width: 100%;
  }
  .skillsIntro h2 {
    font-size: 24px;
  }
  .skillsIntro p {
    font-size: 18px;
  }
  .skillsContain {
    width: 100%;
    font-size: 16px;
    flex-flow: column wrap;
  }
}