* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    font-size: 62.5%;
  }
  
  p,
  a,
  span,
  li,
  label,
  input,
  div {
    font-size: 1.6rem;
  }

  body{
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: 'OpenSans', sans-serif;
  }
  
/**********************HEADER***********************/

  header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(255, 250, 235);
    position: fixed;
    width: 100%;
    padding: 30px 100px 30px 100px;
    z-index: 100;
  }

  header h1{
    color: rgb(33, 33, 33);
    font-size: 30px;
    letter-spacing: 5px;
    text-shadow: 0px 4px 4px rgb(155, 152, 152);
  }

  header h1 b{
    color: rgb(232, 184, 72);
  }

  nav ul{
    list-style: none;
    display: flex;
  }

  header nav ul a{
    text-decoration: none;
    color: rgb(16, 42, 66);
    margin: 20px;
    letter-spacing: 2px;
    font-weight: 700;
    transition: color 0.5s ease;
  }

  header nav ul a:hover{
    color: rgb(232, 184, 72);
  }

  .menu{
    color: rgb(232, 184, 72);
    display: none;
    width: 25px;
    height: 25px;
  }

/**********************Section presentation***********************/

  .presentation{
    display: flex;
    width: 100%;
    padding: 150px 50px 0 50px;
    background-color: rgb(255, 250, 235);
  }

  .presentation 
  .container{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0 100px 100px;
  }

  .presentation 
  .container h1{
    font-size: 64px;
    color: rgb(16, 42, 66);
    letter-spacing: 4px;
  }

  .presentation 
  .container h1 b{
    color: rgb(16, 42, 66);
    letter-spacing: 4px;
    border-top: solid 4px  rgb(232, 184, 72);
  }

  .presentation 
  .container p{
    color: rgb(98, 126, 153);
    font-weight: 700;
    letter-spacing: 4px;
    margin-top: 5px;
  }

  .presentation 
  .container button{
    width: 30%;
    margin: 30px 0 30px 0;
    background-color: rgb(232, 184, 72);
    border: 0px;
    border-radius: 5px;
    padding: 10px 0 10px 0;
    color: rgb(82, 60, 6);
    letter-spacing: 4px;
    font-weight: 700;
  }

  .presentation 
  .container
  nav ul i{
    margin: 20px;
    color: rgb(16, 42, 66);
  }
  
  .presentation 
  .container-img{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

    .presentation
  .container-img
  .border-img{
    width: 50%;
    height: 90%;
    border: solid 4px  rgb(232, 184, 72);
    border-radius: 5px;
  }  

  .presentation
  .container-img
  img{
    position: absolute;
    top: 0px;
    right: 180px;
    width: 300px;
    height: 400px;
    border-radius: 5px;
  }

/**********************Section A propos***********************/

.a-propos{
    display: flex;
    width: 100%;
    padding: 50px;
    background-color: white;
}

.a-propos .container{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 100px 120px 50px ;
  }

.a-propos .container-img{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

.a-propos .container-img img{
    position: absolute;
    top: 80px;
    left: 180px;
    width: 300px;
    height: 400px;
    border-radius: 5px;
}

.a-propos .container-img
  .border-img{
    width: 50%;
    height: 65%;
    border: solid 4px  rgb(232, 184, 72);
    border-radius: 5px;
  }

  .a-propos 
  .container h1{
    font-size: 50px;
    color: rgb(16, 42, 66);
    letter-spacing: 4px;
    margin-bottom: 20px;
  }

  .a-propos 
  .container h1 b{
    color: rgb(16, 42, 66);
    letter-spacing: 4px;
    border-bottom: solid 4px  rgb(232, 184, 72);
  }

  .a-propos 
  .container p{
    color: rgb(98, 126, 153);
    margin-top: 5px;
    word-spacing: 5px;
    font-weight: 500;
    line-height: 25px;
  }

  .a-propos
  .container button{
    width: 30%;
    margin: 30px 0 30px 0;
    background-color: rgb(232, 184, 72);
    border: 0px;
    border-radius: 5px;
    padding: 10px 0 10px 0;
    color: rgb(82, 60, 6);
    letter-spacing: 4px;
    font-weight: 700;
  }

/**********************Section services***********************/

.services{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(240, 244, 247);
    width: 100%;
    padding: 40px;
}

.services h1{
    font-size: 40px;
    color: rgb(16, 42, 66);
    letter-spacing: 4px;
}

.services h3{
    font-size: 20px;
    color: rgb(16, 42, 66);
    letter-spacing: 3px;
    margin: 16px;
}

.services .container p{
    color: rgb(98, 126, 153);
    margin-top: 30px;
    word-spacing: 3px;
    line-height: 20px;
  }

.services .trait{
    border: solid 2px rgb(232, 184, 72);
    width: 100px;
}

.services .container .trait{
    border: solid 1px rgb(232, 184, 72);
    width: 80px;

}

  .services .container{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
  
  .services .container .service{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 50px 20px 50px 20px;
    background-color: white;
    border-radius: 5px;
    padding: 80px 20px 80px 20px;
    width: 350px;
    transition: background-color 1s ease;
}

.services .container .service:hover{
    color: white;
    background-color: rgb(232, 184, 72);
    h3{
        color: white;
    }
    .trait{
        border: solid 1px white;
    }
    p{
        color: white;
    }
}

/**********************Section anciens projets***********************/

.latest-works{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 100%;
    padding: 80px;
}

.latest-works h1{
    font-size: 40px;
    color: rgb(16, 42, 66);
    letter-spacing: 4px;
    padding-bottom: 10px;
}

.latest-works  .work-p{
    color: rgb(98, 126, 153);
    margin-top: 30px;
    margin-bottom: 30px;
    word-spacing: 3px;
    width: 50%;
    text-align: center;
    line-height: 20px;
  }

.latest-works .trait{
    border: solid 2px rgb(232, 184, 72);
    width: 100px;
}

.latest-works .container{
    width: 100%;
    display: flex;
    justify-content: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 15px;
}

.latest-works .container .img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.img1{
   grid-column: span 1;
   grid-row: span 2;
   background-image: url(../images/project-1.jpeg);
   background-size: cover;
   display: flex;
    align-items: center;
    justify-content: center;
}

.img2{
    grid-column: span 2;
    background-image: url(../images/project-2.jpeg);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img3{
    grid-column: span 1;
    background-image: url(../images/project-3.jpeg);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img4{
    grid-column: span 1;
    background-image: url(../images/project-4.jpeg);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orange{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: all 1s ease;
}

.work{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80%;
  height: 80%;
  color: white;
  border: solid 4px white;
  border-radius: 10px;
  display: none;
  transition: all 1s ease;
}

.container .img:hover{
  .orange{
    background-color: rgb(232, 184, 72);
    opacity: 0.75;
  }
  .work{
    display: flex;
  }
}

/**********************Section contact***********************/

.contact{
  width: 100%;
  position: relative;
}

video{
  width: 100%;
  clip-path: polygon(0% 10%, 0% 90%, 50% 100%, 100% 90%, 100% 10%, 50% 0%);
  background-color: white;
  opacity: 0.5;
}

.contact .container{
  position: absolute;
  top: 15%;
  left: 25%;
  width: 50%;
  height: 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10% 5% 15% 5%;
  background-color: rgb(255, 250, 235);
  clip-path: polygon(0% 0%, 0% 75%, 50% 75%, 75% 100%, 75% 75%,100% 75%, 100% 0%);
}

.contact h1{
  font-size: 40px;
  color: rgb(16, 42, 66);
  letter-spacing: 4px;
  padding-bottom: 10px;
}

.contact p{
  color: rgb(98, 126, 153);
  margin-top: 30px;
  word-spacing: 3px;
  text-align: center;
  line-height: 20px;
}

.contact .trait{
  border: solid 2px rgb(232, 184, 72);
  width: 100px;
}

.contact button{
    width: 30%;
    margin: 30px 0 30px 0;
    background-color: rgb(232, 184, 72);
    border: 0px;
    border-radius: 5px;
    padding: 10px 0 10px 0;
    color: rgb(82, 60, 6);
    letter-spacing: 4px;
    font-weight: 700;
}

/**********************Section skills***********************/

.skills{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgb(252, 239, 197);
  padding: 80px;
}

.skills h1{
  font-size: 40px;
  color: rgb(16, 42, 66);
  letter-spacing: 4px;
  padding-bottom: 10px;
}

.skills .trait{
  border: solid 2px rgb(232, 184, 72);
  width: 80px;
}

.skills .container{
  display: flex;
  width: 100%;
}

.progress p{
  font-size: 15px;
  color: rgb(82, 67, 10);
  font-weight: 500;
  line-height: 30px;
}

.progress h2{
  color: rgb(82, 67, 10);
  font-weight: 600;
  letter-spacing: 5px;
  margin-bottom: 15px;
}

.progress1{
  display: flex;
  flex-direction: column;
  width: 50%;
  padding: 80px 40px 20px 40px;
}

.progress2{
  display: flex;
  flex-direction: column;
  width: 50%;
  padding: 80px 40px 20px 40px;
}

.progress-container{
  margin: 10px 0 10px 0;
}

.progress-info1{
  display: flex;
  justify-content: space-between;
  width: 50%;
}

.progress-info2{
  display: flex;
  justify-content: space-between;
  width: 70%;
}

.progress-info3{
  display: flex;
  justify-content: space-between;
  width: 80%;
}

.progress-bar{
  width: 100%;
  height: 15px;
  border-radius: 10px;
  background-color: white;
}
.progression1{
  width: 50%;
  height: 15px;
  border-radius: 10px;
  background-color: rgb(232, 185, 74);
}
.progression2{
  width: 70%;
  height: 15px;
  border-radius: 10px;
  background-color: rgb(232, 185, 74);
}
.progression3{
  width: 80%;
  height: 15px;
  border-radius: 10px;
  background-color: rgb(232, 185, 74);
}

/**********************Section Timeline***********************/

.timeline{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px;
}

.timeline h1{
  font-size: 40px;
  color: rgb(16, 42, 66);
  letter-spacing: 4px;
  padding-bottom: 10px;
}

.timeline h3{
  font-size: 16px;
  color: rgb(16, 42, 66);
  letter-spacing: 4px;
  padding-bottom: 10px;
}

.timeline p{
  font-size: 16px;
  color: rgb(103, 127, 145);
  font-weight: 500;
  line-height: 25px;
}

.timeline .trait{
  border: solid 2px rgb(232, 184, 72);
  width: 80px;
  margin-bottom: 60px;
}

.an{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  margin-bottom: -2px;
}

.an2020{
  margin-left: 45px;
  padding: 60px 30px 60px 10px;
  border-right: 2px dashed rgb(232, 184, 72);
  border-bottom: 2px dashed rgb(232, 184, 72);
  border-radius: 0 0 30px 0;
  position: relative;
}

.an2019{
  padding: 60px 10px 60px 30px;
  border-left: 2px dashed rgb(232, 184, 72);
  border-bottom: 2px dashed rgb(232, 184, 72);
  border-radius: 30px 0 0 30px;
  position: relative;
}

.an2018{
  padding: 60px 30px 60px 10px;
  margin-left: 45px;
  border-right: 2px dashed rgb(232, 184, 72);
  border-bottom: 2px dashed rgb(232, 184, 72);
  border-radius: 0 30px 30px 0;
  position: relative;
}

.an2017{
  padding: 60px 10px 60px 30px;
  border-left: 2px dashed rgb(232, 184, 72);
  border-bottom: 2px dashed rgb(232, 184, 72);
  border-radius: 30px 0 0 30px;
  position: relative;
}

.an2016{
  padding: 60px 30px 60px 10px;
  margin-left: 45px;
  border-right: 2px dashed rgb(232, 184, 72);
  border-bottom: 2px dashed rgb(232, 184, 72);
  border-radius: 0 30px 30px 0;
  position: relative;
}

.an2015{
  padding: 60px 10px 60px 30px;
  border-left: 2px dashed rgb(232, 184, 72);
  border-radius: 30px 0 0 0;
  position: relative;
}

.number0{
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(232, 184, 72);
  color: rgb(82, 67, 10);
  right: -15px;
}

.number{
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(232, 184, 72);
  color: rgb(82, 67, 10);
  left: -15px;
}

/**********************Section blog***********************/

.blog{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px;
  background-color: rgb(240, 244, 247);
}

.blog h1{
  font-size: 40px;
  color: rgb(16, 42, 66);
  letter-spacing: 4px;
  padding-bottom: 10px;
}

.blog h3{
  font-size: 16px;
  color: rgb(16, 42, 66);
  letter-spacing: 4px;
  padding-bottom: 10px;
}

.blog p{
  font-size: 16px;
  color: rgb(103, 127, 145);
  font-weight: 500;
  line-height: 25px;
}

.blog .trait{
  border: solid 2px rgb(232, 184, 72);
  width: 80px;
  margin-bottom: 60px;
}


.grid-container{
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 15px;
}

.grid-container .elt{
  width: 350px;
  height: 450px;
  background-color: white;
  border-radius: 10px;
}

.container-img img{
  width: 100%;
  height: 225px;
  border-radius: 10px 10px 0 0;
}

.container-text{
  padding: 20px;
}

.profile{
  display: flex;
  padding: 15px 0 15px 0;
  justify-content: space-between;
  align-items: center;
}

.profile img{
  width: 30px;
  height: 30px;
  border-radius: 30px;
}

.profile p{
  font-size: 16px;
  color: rgb(232, 184, 72);
}

/********************** footer ***********************/

footer{
  background-color: rgb(33, 33, 33);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 0 50px 0;
}

footer p{
  font-size: 20px;
  color: rgb(90, 107, 148);
}

footer nav ul li i{
  color: rgb(232, 184, 72);
  margin: 25px;
}


/*******************************media 900*******************************/

@media (width < 1100px) {
  .presentation .container-img, 
  .presentation .container-img .border-img{
    display: none;
  }

  .presentation .container{
    width: 100%;
  }
  .a-propos{
    flex-direction: column;
  }

  .a-propos .container-img .border-img{
    display: none;
  }

  .a-propos .container-img{
    width: 100%;
  }

  .a-propos .container-img img{
    position: static;
  }

  .a-propos .container{
    width: 100%;
  }

  .latest-works .container{
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 200px 200px ;
  }

  .img{
    grid-column: span 1;
    grid-row: span 1;
  }

  .services .container .service{
    width: 45%;
    padding: 40px 20px 40px 20px;
    margin: 10px 10px 10px 10px;
  }

  .services .trait{
    margin-bottom: 30px;
    
}

.contact .container{
  top: 15%;
  left: 10%;
  width: 80%;
  height: 80%;
  padding: 20% 5% 25% 5%;
}

.contact .container button{
  margin-top: 0;
}

.timeline .an{
  width: 70%;
}

.grid-container{
    grid-template-columns: 1fr 1fr;
}

.grid-container .elt{
  width: 100%;
}
}


/*******************************media 768*******************************/

@media (width < 768px) {
  .menu{
    display: block;
  }
  header nav{
    display: none;
  }
  .presentation .container-img, 
  .presentation .container-img .border-img{
    display: none;
  }

  .presentation .container{
    width: 100%;
  }
  .a-propos{
    flex-direction: column;
  }

  .a-propos .container-img .border-img{
    display: none;
  }

  .a-propos .container-img{
    width: 100%;
  }

  .a-propos .container-img img{
    position: static;
  }

  .a-propos .container{
    width: 100%;
  }

  .latest-works .container{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px ;
  }

  .img{
    grid-column: span 1;
    grid-row: span 1;
  }

  .services .container .service{
    width: 45%;
    padding: 40px 20px 40px 20px;
    margin: 10px 10px 10px 10px;
  }

  .services .trait{
    margin-bottom: 30px;
    
}

.contact .container{
  top: 15%;
  left: 10%;
  width: 80%;
  height: 80%;
  padding: 20% 5% 25% 5%;
}

.contact .container button{
  margin-top: 0;
}

.skills .container{
  flex-direction: column;
}

.skills .container .progress{
  width: 100%;
}

.timeline .an{
  width: 100%;
}

.grid-container{
    grid-template-columns: 1fr;
}

.grid-container .elt{
  width: 100%;
}
}

/*******************************media 680*******************************/

@media (width < 680px) {
  .menu{
    display: block;
  }
  header nav{
    display: none;
  }

  .presentation {
   padding: 150px 50px 50px 50px;
  }

  .presentation .container-img, 
  .presentation .container-img .border-img{
    display: none;
  }

  .presentation .container h1{
    font-size: 40px;
  }

  .presentation .container{
    width: 100%;
    padding: 30px 10px 30px 10px;
  }
  .a-propos{
    flex-direction: column;
  }

  .a-propos .container, .a-propos{
    padding: 50px;
  }

  .a-propos .container-img .border-img{
    display: none;
  }

  .a-propos .container-img{
    width: 100%;
  }

  .a-propos .container-img img{
    position: static;
  }

  .a-propos .container{
    width: 100%;
  }

  .latest-works .container{
    grid-template-columns: 1fr;
    grid-template-rows: 200px 200px 200px 200px;
  }

  .img{
    grid-column: span 1;
    grid-row: span 1;
  }

  .services .container .service{
    width: 100%;
    padding: 40px 20px 40px 20px;
    margin: 20px 0 20px 0;
  }


.contact .container{
  top: 15%;
  left: 10%;
  width: 80%;
  height: 80%;
  padding: 20% 5% 25% 5%;
}

.contact .container button{
  margin-top: 0;
}

.skills .container{
  flex-direction: column;
}

.skills .container .progress{
  width: 100%;
}

.timeline .an{
  width: 100%;
}

.grid-container{
    grid-template-columns: 1fr;
}

.grid-container .elt{
  width: 100%;
}
}
