
* {
    overflow-x: clip;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
    list-style: none;
    overflow-x: clip;
}
h1 {
    font-family: 'limelight', sans-serif;
} 
p {
    font-family: 'inter', sans-serif;
}


.logo-nav img {
    max-width: 170px;

}

a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    
  }


header {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

}
header nav.black {
  background-color: black;

}


header {
  background: url(./image/photo\ voiture.jpg) fixed center/cover;
  color: rgb(255, 255, 255);
}
header::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
header nav {
  padding: 25px;
  text-align: left;
  background: transparent;
  position: relative;
  z-index: 1;
  justify-self: flex-start;
  align-self: flex-start;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

nav ul {
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-right: 5px;
  }


  nav li {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 0.9rem;
    cursor: pointer;
    position: relative;
    transition: 0.3s ease;
    /* padding: 20px 0; */
    color: white;
  }
  h3 {
    font-family: 'limelight', sans-serif;
  }

  h1 {
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 700;
    margin: 30px 0 35px;
    text-align: center;
    font-family: 'limelight', sans-serif;
  }

.main-header-text h3 {
    text-align: center;
    font-size: 1.3rem;
}

.main-header-text {
position: relative;
z-index: 1;
}
  nav li:first-child::before {
    content: "";
    width: 100%;
    height: 5px;
    position: absolute;
    background:rgb(255, 255, 255) ;
    transform: translateY(-20px);
  }
  nav li:hover:before {
    content: "";
    width: 100%;
    height: 5px;
    position: absolute;
    background:rgb(255, 255, 255) ;
    transform: translateY(-20px);
  }
  nav li:last-child::before {
    background: none;
  }
  nav li:hover {
 scale: 110%;
  }





/* ************************************************************************* */



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

footer {
    background-color: #191919;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 30px;
    height: 55vh;
    padding-top: 50px;
    
  }
  footer a {
    color: white;
    
  }
  
  footer li {
    padding-top: 30px;
  }
  
  .logobox {
    padding-top: 25px;
    
    
  }
  
  .logobox i {
    font-size: 25px;
    line-height: 20px;
    padding-right: 12px;
  }
  
  .copyright {
    position: absolute;
    align-self: flex-end;
    padding-bottom: 30px;
    font-size: 0.8rem;
  }
  
  .logofooter img {
    height: 70px;
  }
  .logofooter {
    padding: 60px 0 0 0 ;
  }
  
  i:hover {
    color: rgb(229, 211, 15);
    transition: 0.3s ease;
  
  }
  .footer-left li:hover {
    scale: 105%;
    transition: 0.3s ease;
    padding-left: 10px;
    }
    
  
  
/* ********************Véhicules**************************** */

.resumer{
    display: grid;
    grid-template-columns: 50% 50%;
    margin-bottom: 200px;
}
.collection_img img{
    height: 450px;
    border-radius: 50px; 
    margin-top: 100px;
}
.collection p{
    padding-left: 100px;
    margin-right: 25px;
    font-size: 1.5rem;
}
.collection h1{
    margin-top: 100px;
    padding-bottom: 50px;
    font-size: 5.5rem;
    padding-left: 100px;
}

@media screen and (max-width: 768px) {
    .collection_img img{
      height: 250px;
      margin-left: 100px;
    } 
    .resumer {
        display: block;
    }
    .collection p{
        margin: 20px 15px;
  } 
    .collection h1{
        font-size: 50px;
        margin-left: -100px;
    } 
}









.jaguar{
    display: grid;
    grid-template-columns: 100% ;
    margin-bottom: 100px;
    padding-bottom: 100px;
}
.texte_jag p{
    font-size: 1.5rem;
    padding-left: 100px;
    margin-right: 900px;
    margin-top: -50px;
}
.texte_jag h1{
    font-size: 6rem;
    padding-left: 100px;
    margin-bottom: 300px;
    margin-top: -390px;
}
.jaguar img{
    height: 450px;
    border-radius: 50px; 
    margin-bottom: -100px;
    padding-left: 600px;
}
@media screen and (max-width: 768px) {
    .jaguar img{
      height: 200px;
      margin-left: -600px;
      margin-bottom: -60px;
    } 
    .jaguar {
        display: block;
    }
    .texte_jag p{
        font-size: 20px;
        margin-right: 100px;
        margin-top: -150px;
        
  } 
    .texte_jag h1{
        font-size: 50px;
        padding-top: 200px;
        
        
        
    } 
}








.ferrari{
    margin-top: 100px;
    display: grid;
    grid-template-columns: 100%;
    margin-top: -150PX;
    margin-bottom: 100px;
}
.ferrari img{
    height: 450px;
    border-radius: 50px; 
    margin-top: -5px;
}
.ferrari p{
    padding-left: 200px;
    font-size: 1.5rem;
    margin-top: -200px;
    padding-left: 850px;
    margin-right: 50px;
}
.ferrari h1{
    font-size: 6rem;
    padding-left: 400px;
    padding-top: 20px;
    margin-top: 10px;
    margin-bottom: -120px;
}
@media screen and (max-width: 768px) {
    .ferrari {
        display: block;
    }
    .ferrari img{
      height: 200px;
      margin-top: 60px;
    } 
    .ferrari p{
        font-size: 20px;
        margin-left: -750px;
        padding-top: 180px;
        margin-bottom: -50px;
  } 
    .ferrari h1{
        font-size: 50px;
        margin-left: -280px;
    } 
}







.Coccinelle{
    display: grid;
    grid-template-columns: 100%;
    margin-bottom: -200px;
}
.Coccinelle img{
    height: 850px;
    border-radius: 50px; 
    margin-left: 550px;
    padding-left: 70px;
    margin-top: -150px;
}
.Coccinelle p{
    padding-left: 100px;
    margin-right: 900px;    
    font-size: 1.5rem;
    padding-top: 100px;
}
.Coccinelle h1{
    font-size: 7rem;
    padding-left: 200px;
    margin-top: -25px;
    padding-bottom: 80px;
    margin-top: -700px;
}
@media screen and (max-width: 768px) {
    .Coccinelle {
        display: block;
    }
    .coc_img img{
      height: 450px;
      margin-left: -20px;
      margin-top: 0px;
    
    } 
    .coc_p p{
        font-size: 20px;
        padding-left: 100px;
        padding-top: 170px;
        margin-right: 00px; 
        margin-top: 00px;


  } 
    .coc_texte h1{
        font-size: 50px;
        margin-left: -100px;
        margin-top: -430px;
        
      
    } 
}












.golf{
    margin-top: 150px;
    display: grid;
    grid-template-columns: 100%;
    margin-bottom: 100px;
}
.golf img{
    height: 600px;
    border-radius: 50px; 
    margin-top: -565px;
    margin-bottom: -280px;
}
.golf_p p{
    font-size: 1.5rem;
    padding-bottom: 200px;
    padding-left: 750px;
    margin-left: 140px;
    margin-right: 50px;
    padding-bottom: 100px;

}
.golf h1{
    font-size: 8rem;
    margin-bottom: -10px;
    margin-bottom: 50px;
    padding-left: 100px;
    padding-top: 100px;
    margin-bottom: 125px;
}
@media screen and (max-width: 768px) {
  .golf {
      display: block;
} 
  .golf img{
    height: 300px;
    margin-left: -100px;
    margin-bottom: 00px;
    margin-top: -200px;
}
  .golf_p{
      font-size: 20px;
      padding-left: -500px;
      margin-left: -800px;

  }
      
  .golf h1{
    font-size: 50px;
  } 
  footer {
    display: block;
    height: 105vh;
    text-align: center;
  
  }
  .footer-left {
    padding-bottom: 30px;
  }
  .copyright  {
    text-align: center;
    margin-left: 40px;
  }
  .logo-nav img {
    max-width: 110px;
  
  }
  .logofooter {
  margin-bottom: 20px;
  margin-top: -20px;
  
  }
} 
















.Porsche{
    margin-top: -200px;
    display: grid;
    grid-template-columns: 100%;
}
.Porsche img{
    height: 550px;
    border-radius: 50px; 
    margin-top: -5px;
    padding-left: 801px;
    margin-top: -330px;
    margin-bottom: 100px;
}
.Porsche p{
    font-size: 1.5rem;
    padding-left: 100px;
    margin-right: 770px;
    margin-bottom: -150px;
}
.Porsche h1{
    font-size: 8rem;
    padding-left: 100px;
    padding-top: 125px;
    padding-bottom: 200px;
}
@media screen and (max-width: 768px) {
  .Porsche {
      display: block;
} 
  .Porsche img{
    height: 300px;
    margin-left: -730px;
    margin-top: -500px;
    
  }
  .porsche_txt p{
      font-size: 20px;
      padding-left: 300px;
      margin-right: -800px;
      }
      
  .Porsche h1{
    font-size: 50px;
    margin-bottom: -730px;
} 
} 

