*, ::before, ::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body{
  height: 100vh;
  font-family: 'Montserrat';
  background-color: #010101;
}

html{
  scroll-behavior: smooth;
}

h1{
  color: white;
  opacity: 100%;
}

.stxt{
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  padding-top: 10px;
  margin-bottom: 0;
  margin-right:70px;
  display: flex;
  justify-content: center;
  text-size-adjust: auto;

  color: white;
}

.btxt{
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-size: 50px;
  line-height: 61px;
  color: white;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  text-size-adjust: auto;
}

.navbar-nav {
  flex-direction: row;
}

.navbar-nav > li {
  margin-left: 20px;
  margin-right: 20px;
}

.nav-link {
  font-size: 16px;
  margin-left: 40px;
}

.navbar-brand {
  width: 300px;
  height: 100%;
  display: flex;
  justify-content: center;
}


/* CSS */
.button-9 {
  appearance: button;
  backface-visibility: hidden;
  background-color: #405cf5;
  border-radius: 6px;
  border-width: 0;
  box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset,rgba(50, 50, 93, .1) 0 2px 5px 0,rgba(0, 0, 0, .07) 0 1px 1px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-family: -apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Ubuntu,sans-serif;
  font-size: 100%;
  height: 44px;
  line-height: 1.15;
  margin: 50px 0 0;
  outline: none;
  overflow: hidden;
  padding: 0 25px;
  position: relative;
  text-align: center;
  text-transform: none;
  transform: translateZ(0);
  transition: all .2s,box-shadow .08s ease-in;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 20%;
}

.button-9:disabled {
  cursor: default;
}

.button-9:focus {
  box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset, rgba(50, 50, 93, .2) 0 6px 15px 0, rgba(0, 0, 0, .1) 0 2px 2px 0, rgba(50, 151, 211, .3) 0 0 0 4px;
}

@media screen and (max-width: 1596px){
  .nav-link{
      font-size: 20px;
  }

  .test{
      width: 70%;
  }



  
}

@media screen and (max-width: 1455px){
  .nav-link{
      font-size: 18px;
  }

  
}

@media screen and (max-width: 1361px){
  .nav-link{
      font-size: 17px;
  }
}

@media screen and (max-width: 1070px){
  .nav-link{
      font-size: 15px;
  }

  .test{
      width: 60%;
  }
}

@media screen and (max-width: 820px){
  .nav-link{
      font-size: 10px;
  }

  .test{
      width: 20%;
  }
}

.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/moutain.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 2;
}

.accueil{
  width: 100%;
  height: 100%;
  background: url("../images/fond.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
  z-index:1;
}

.accueil-txt{
  font-size: 3rem;
  color:white;
  font-weight: bold;
  opacity: 80%;
  display: flex;
  padding-top: 200px;
  margin-left:120px;
  margin-bottom: -10px;
  text-size-adjust: auto;
}

.accueil-btxt{
  font-size: 5rem;
  color:white;
  font-weight: bold;
  opacity: 80%;
  display: flex;
  margin-left:110px;
  margin-top: 0;
  text-size-adjust: auto;
}

.accueil-desc{
  font-size: 1rem;
  color:white;
  font-weight: bold;
  opacity: 80%;
  display: flex;
  margin-left:120px;
  margin-top: -20px;
  text-size-adjust: auto;
}

.linkedin{
  opacity: 80%;
  width: 50px;
  height: 50px;
  float:right;
  margin-right: 150px;
  margin-top: -250px;
  z-index: -1;
}

.linkedinclass{
  z-index: 3;
}

/* Responsive pour les médias */
@media screen and (max-width: 820px) {
  .accueil-txt {
    font-size: 9vw;
    padding-top: 200px;
    margin-left:0;
    margin-bottom: 0;
    padding-left: 5vw;
  }
  .accueil-btxt {
    font-size: 9vw;
    margin-left:0;
    padding-bottom: 2vw;
    padding-left: 5vw;
  }
  .accueil-desc {
    font-size: 4vw;
    margin-left:0;
    padding-left: 5vw;
  }

  .linkedin {
    width: 50px;
    height: 50px;
    margin-right: 10vw;
    margin-top: -15vh;
  }

  p{
    font-size: 3vw;
  }

  h1 {
    font-size: 6vw;
    text-align: center;
    margin: 2vh auto;
  }
}

@media screen and (max-width: 576px) {

  .accueil-txt {
    font-size: 9vw;
    padding-top: 200px;
    margin-left:0;
    margin-bottom: 0;
    padding-left: 5vw;
  }
  .accueil-btxt {
    font-size: 9vw;
    margin-left:0;
    padding-bottom: 2vw;
    padding-left: 5vw;
  }
  .accueil-desc {
    font-size: 4vw;
    margin-left:0;
    padding-left: 5vw;
  }

  .linkedin {
    width: 50px;
    height: 50px;
    margin-right: 10vw;
    margin-top: -15vh;
  }

  p{
    font-size: 3vw;
  }

  h1 {
    font-size: 6vw;
    text-align: center;
    margin: 2vh auto;
  }
}

.qjs{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 20px;
  height: 100vh;
  background-color: #010101;
  z-index: 4;
}

.profil img{
  width: 200px;
  height: 200px;
  border-radius: 50%;
  
}

.profil{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 50px;
}

.description{
  text-align: justify;
  width: 50%;
}

.video{
  margin: auto;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}




span{
  animation: blinker 1s linear infinite;
}

@keyframes blinker{
  50%{
    opacity: 0;
  }
}

.mp h1{
  text-align: center;
  margin: 50px;
}


.parcours {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: white;
  font-size: 20px;
  z-index: 5;
}

.parcours-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url("../images/fond2.png");
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.timeline {
  background: var(--primary-color);
  margin: 20px auto;
  padding: 20px;
}

/* Outer Layer with the timeline border */
.outer {
  border-left: 2px solid #333;
}

/* Card container */
.card {
  position: relative;
  margin: 0 0 20px 20px;
  padding: 10px;
  background: #333;
  color: gray;
  border-radius: 8px;
  max-width: 400px;
}

/* Information about the timeline */
.info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Title of the card */
.title {
  color: orangered;
  position: relative;
}

/* Timeline dot  */
.title::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 999px;
  left: -39px;
  border: 3px solid orangered;
}


.left {
  flex-basis: 50vw;
  position: absolute;
  left: 0;
  top: 25%;
  transform: translateY(-50%);
  width: 60%;
  text-align: center;
}

.left-2{
  flex-basis: 50vw;
  position: absolute;
  left: 0;
  top: 75%;
  transform: translateY(-50%);
  width: 60%;
  text-align: center;
  background-position: center;
}


.right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  text-align: center;
}

.left h3, .right h3 {
  font-size: 1vw;
}

.left h4, .right h4 {
  font-size: 0.8vw;
}

.competences{
  margin-top: 200px;
  text-align: center;
}
.galerie {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 80%;
  max-width: 1300px;
  margin: 70px auto 0;
  /* background: crimson; */
}
.item {
  width: 200px;
  height: 200px;
  margin: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;

}

.projets .item:hover img,
.projets .item:hover::after {
  filter: brightness(50%) sepia(100) saturate(100) hue-rotate(25deg);
}

.projets{
  margin-top: 200px;
  text-align: center;
}

.projets h2{
  margin-top: 70px;
}

.projets .item {
  transition: transform 0.5s ease-out;
}

.projets .item:hover {
  transform: translateY(-20px);
}

.competences div:hover::after{
  content: attr(data-comp);
  display: block;
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  border-radius: 5px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease-out;
}

.competences .item:hover {
  transform: translateY(-20px);
}

.competences .item {
  transition: transform 0.5s ease-out;
}

/* Style pour le texte du projet qui apparaîtra au survol */
.projets a:hover::after {
  content: attr(data-projet);
  display: block;
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  border-radius: 5px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease-out;
}

.projets a::after {
  content: attr(data-projet);
  display: block;
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  border-radius: 5px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
}

.projets a:hover::after {
  opacity: 1;
}


/* experiences */

.experiences{
  margin-top: 200px;
  text-align: center;
}

.experiences h2{
  margin-top: 70px;
}

.experiences .item {
  transition: transform 0.5s ease-out;
}

.experiences .item:hover {
  transform: translateY(-20px);
}

.experiences a:hover::after {
  content: attr(data-projet);
  display: block;
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  border-radius: 5px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease-out;
}

.experiences a::after {
  content: attr(data-projet);
  display: block;
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  border-radius: 5px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
}

.experiences a:hover::after {
  opacity: 1;
}


.contact{
  margin-top: 200px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.divContact{
  background-image: url("../images/fond3.png");
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.divContact h1{
  margin-top: 100px;
  color: black;
}


.divContact h2{
  display: block !important;
  color: white;
  text-shadow: 1px 1px 2px black;
}

.divContact a{
  color: white;
}

.contacts{
  margin: auto;
}

footer {
  background-color: #222;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

footer h4 {
  font-size: 20px;
  margin-bottom: 20px;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: #fff;
  text-decoration: none;
}

footer ul.social-media li {
  display: block;
  margin-right: 10px;
}

footer ul.social-media li a i {
  font-size: 24px;
}

footer p {
  margin: 0;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: #ccc;
}

@media only screen and (max-width: 768px) {
  .qjs{
    flex-direction: column;
    height: auto;
  }
  .profil, .description{
    margin-right: 0;
  }
  .profil img{
    width: 150px;
    height: 150px;
  }
}

.reveal{
  transform: translateX(-100px);
  opacity: 0;
  transition: all 2s ease;
}

.reveal.active{
  transform: translateX(0px);
  opacity: 1;
}


.reveal2{
  transform: translateY(-100px);
  opacity: 0;
}

.reveal3{
  transform: scale(0.5);
  opacity: 0;
}

.reveal4{
  transform: translateX(100px);
  opacity: 0;
}

.reveal5{
  transform: rotate(360deg);
  opacity: 0;
}

.reveal6{
  transform: scale(1.5);
  opacity: 0;
}

.reveal7{
  transform: translateY(100px);
  opacity: 0;
}



/* Barre de navigation */