.home-page{
    height: 100vh;
    width: 100vw;
    /* background-color: aqua; */
    /* padding-top: 80px; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}


h1{
  position: relative;
    color: #272727;
    z-index: -49;
    font-size: 10rem;
    font-weight: 900;
    font-style: italic;
    line-height: 5rem;
}

.title-2{
    color: #60B02C;
    font-size: 4.3rem;
    text-transform: uppercase;
    font-weight: bold;
}

.voiture{
  position: absolute;
  z-index: -50;
  top: 100vh;
  left:100vw;
  transform: translate(-100%, -100%);
  overflow: hidden;
  width: 45vw;
  height: calc(45vw*0.75);
  /* background-color: #60B02C; */  
}

.image-voiture, .image-fond{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.image-voiture{
  animation: voiture-in 1.5s forwards ease;
  animation-delay: 1s; 
  opacity: 0;
}

@keyframes voiture-in {
  0%{
    opacity: 0;
    transform: translate(150px, -86px);
  }
  100%{
    opacity: 1;
    transform: translate(0px, 0px);
  }
}



.title-contain{
  /* background-color: #60B02C; */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  
  width: 65vw;
}

.left-contain{
  width: 100%;
}





h2{
  font-size: 3rem;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-style: italic;
  margin-bottom: 20px;
}

.presentation{

}

.presentation .droite,.presentation .gauche{
  width: 50%;
  padding: 30px;
}


.presentation .droite img{
  border-radius: 15px;
}

.presentation .gauche p{
  font-size: 1.1rem;

}
.presentation .gauche{

  display: flex;
  flex-direction: column;
  justify-content: space-between;


}

h3{
  font-size: 2.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-style: italic;
  text-transform: uppercase;
}

h4{
  font-size: 2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-style: italic;
  /* color: #60B02C; */

}


.statistiques{
  display: flex;
  gap: 50px;
  margin-top: 50px;
  width: 80%;
}

.stat{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  width: 33%;
}

.stat h3{
  font-size: 3.5em;
}

.stat p{
  font-size: 1.2rem;
  color: #757575;
  font-weight: bold;
  margin-top: 5px;
}

.reviews-list::-webkit-scrollbar {

  display: none;
}

.reviews-list{
  display: flex;
  /* height: 350px; */
  width: 100%;
  /* background-color: #60B02C; */
  overflow-x: scroll;
  padding: 100px 0;
  margin: -100px 0;
  
  align-items: stretch;
  height: fit-content;
  justify-content: center;
}

.review:hover{
  cursor: pointer;
}

.review{
  width: 33%;
  min-height: 250px;
  margin: 0 35px;
  display: flex;
  flex-direction: column;
  padding: 30px;

  border-radius: 24px;
background: linear-gradient(145deg, #ffffff, #e6e6e6);
box-shadow:  13px 13px 27px #dedede,
             -13px -13px 27px #ffffff;
}

.review .info{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review .gauche{
  display: flex;
  align-items: center;
  width: 50%;
}

.icon{
  border-radius: 100px;
  width: 10px;
  height: 10px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.review:nth-child(1) .icon
{
  background-color: #91cf68;
}
.review:nth-child(2) .icon
{
  background-color: #e7a1e1;
}
.review:nth-child(3) .icon
{
  background-color: #9cb2ce;
}



.icon p{
  color: white;
  /* font-weight: bold; */
  font-size: 1.5rem;
}

.nom{
  font-weight: bold;
  font-size: 1.2rem;
  margin-left: 10px;
  text-overflow: ellipsis;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.review .droite{
  display: flex;
  /* width: 170px; */
}

.review-text{
  margin-top: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 100%;
}


.articles-une-liste,.articles-liste{
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 50px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.article-une,.article-recent{
  width: 450px;
  height: 300px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: cover;

  background-position: center;
  background-size: cover;

}


.article-une h4, .article-recent h4{
  overflow: hidden;
  text-align: center;
  width: 100%;
  height: 25%;
  display: flex;
  font-size: 1.7rem;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.47);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10.6px);
-webkit-backdrop-filter: blur(10.6px);
transition: 0.3s;
}


.article-une:hover h4,.article-recent:hover h4{
  height: 100%;
  transition: 0.3s;
}

.articles-liste{
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.article-recent h4{
  font-size: 1.5rem;
}





#svg-info:hover{
  cursor: pointer;
}


.show-info{
  transition: 0.3s;
  opacity: 1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999999;

  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(61, 61, 61, 0.47);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10.6px);
-webkit-backdrop-filter: blur(10.6px);

}

.contain-info{
  background-color: white;
  padding: 100px;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}


table{
  border: solid #272727 1px;
  border-collapse: collapse;
  /* border-style: hidden; */
  text-align: center;
  margin-top: 50px;
}

table td, table th {
  border: 1px solid #272727;
}

td,th{
padding: 20px;
font-size: 1.2rem;
}

th{
  font-weight: bold;
}

th.th-hidden
{
  border-top: solid white 1px;
  border-left: solid white 1px;
}

.contain-info p {
  margin-top: 50px;
  text-decoration: underline;
  font-weight: bold;
  font-size: 1.2rem;
}

.contain-info p:hover {
  cursor: pointer;
}


.hide-info{
  display: none;
  transition: 0.3s;
  opacity: 0;
}

table.ligne{
  display: flex;
}

table.colonne{
  display: none;
}

.calculateur{
  border-radius: 50px;
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  -webkit-box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.23); 
box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.23);
  
  position: fixed;
  bottom: 0;
  right: 0;
  max-width: 450px;
  width: 80vw;
  /* height: 400px; */

  z-index: 9999;
  margin: 15px;
  padding: 50px 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  transform: translateX(465px);
  opacity: 0;

  animation: forwards popup 2s;
  animation-delay: 4s;
}

.calculateur h5{
  font-size: 1.5rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-style: italic;
}

.green{
  color: #60B02C;
  font-size: 1.5rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-style: italic;
}

.calculateur p{
  margin-top: 10px;
  font-weight: bold;
}
.calculateur .close{
  width: 20px;
  height: 20px;
  position: absolute;
  top: 20px;
  right: 30px;
  cursor: pointer;
}

@keyframes popup {

  0%{
      transform: translateX(465px);
      opacity: 0;
  }
  50%{
    opacity: 1;
    
  }
  100%{
    transform: translateX(0px);
    opacity: 1;
  }
  
}


@media screen and (max-width: 1500px) {
  
  .home-page{
    flex-direction: column;
    height: 70vh;
    margin-bottom: 10vh;
  }
  .title-contain{
    width: 100%;
    justify-content: flex-start;
  }
  .voiture{
    width: 55vw;
  height: calc(55vw*0.75);
  max-height: 500px;
  max-width: 750px;
  }
  .voiture{
    position: absolute;
    top: 90vh;
  }

  .show-info{
    /* margin: 20px; */
    /* padding: 20px; */
    width: 100%;
    overflow: hidden;
  }

  table.ligne{
    display: none;
  }

  table.colonne{
    display: flex;
  }


  
}

@media screen and (max-width: 1100px) {
  h1{
    font-size: 6rem;
    line-height: 5rem;
    text-align: center;
    margin-top: 100px;
  }
  .title-2{
    text-align: center;
    line-height: 0 ;
    font-size: 2.8rem;
  }
  .voiture{
    width: 90vw;
  height: calc(90vw*0.75);
}


.presentation{
  flex-direction: column;
}

.presentation .gauche,.presentation .droite{
  width: 100%;
}

h2{
  font-size: 2.5rem;
  text-align: center;
}

.statistiques{
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.stat{
  width: 100%;
}

h3{
  text-align: center;
}


.reviews-list{
  flex-direction: column;
  align-items: center;
}

.review{
  width: 70%;
  margin: 35px 0;
  min-height: 0;
}


.presentation{
  margin-top: 50px;
}


.article-recent:nth-child(4)
{
  display: none;
}
.article-recent:nth-child(5)
{
  display: none;
}
.article-recent:nth-child(6)
{
  display: none;
}




}


@media screen and (max-width: 767px) {
  h1{
    padding: 10px;
    font-size: 3.5rem;
    line-height: 2rem;
    text-align: center;
    margin-top: 100px;
  }
  .title-2{
    text-align: center;
    line-height: 0rem;
    font-size: 1.5rem;
  }
  .voiture{
    width: 80vw;
  height: calc(80vw*0.75);
  }

  .gradient-button{
    font-size: 1rem;
    padding: 15px 25px;
  }

  .info-h3{
    font-size: 1.2rem;
  }

  table,th,td{
    font-size: 0.8rem;
  }

  .review-text{
    font-size: .8rem;
  }

  .icon{
    width: 5px;
    height: 5px;
    padding: 10px;
  }

  .icon p{
    font-size: .8rem;
  }

  .nom{
    font-size: .9;
  }

  .droite svg{
    height: 15px;
  }

  .review{
    margin: 15px 0;
  }

  .article-une,.article-recent{
    width: 90%;
    height: 200px;
  }

  .article-une h4, .article-recent h4{
    font-size: 1.2rem;
  }

  
}

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

  h1{
    line-height: 3rem;
  }
}