*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: Arial , monospace;
    /* font-weight: 900; */
}

body,html{
    width:100%;
}

header:nth-child(1){
    display: flex;
    background-color: #282828;
    color:#AAA;
    padding: 5px 0;
    align-items: center;
}
#section a{
  text-decoration: none;
  color:white;
}
header section:nth-child(1) i{
    border:1px solid #888;
    font-size: 0.8em;
    height: auto;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 10px;
    transition: background-color 0.1s ease-in,color 0.1s ease-in;
}
header section:nth-child(1) i:first-child{
  padding: 5px 12px;
}
header section:nth-child(1) i:hover{
    background-color: rgb(0,0,255);
    color: #FFF;
    cursor: pointer;
}
header section:nth-child(1){
    /* background-color: #3e3e3e; */
    height: auto;
    margin-left: 100px;
    margin-right: 100px;
    width:200px;
    padding: 10px;
    text-align: center;
}
header section:nth-child(2) span{
    /* background-color: red; */
    /* color: red;
    cursor: pointer; */
    transition: color 0.1s ease-in;
}
header section:nth-child(2) span:hover{
    /* background-color: red; */
    color: rgb(0,0,255);
    cursor: pointer;
}

header:nth-child(2) section{
    display: flex;
    align-self: center;
    margin-right: 30px;
    border: 1px solid rgb(209, 204, 204);
    cursor:pointer
}

header:nth-child(2) section:hover{
    border: 1px solid black
}

header:nth-child(2){
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    padding-left: 30px;
}

.no-flex {
    /* Override flex properties */
    flex: 0 0 auto; /* This makes it act like a regular block element */
    /* Other styling */
  }


  .link{
    transition: transform 0.3s ease-in;
  }
  .link:hover{
    transform: scale(1.1);
  }

  #panier a{
    background-color: rgba(255,0,0,0.7);
    padding: 5px 10px;
    color:white;
    border-radius: 10px;
    margin: 20px 10px;
    text-decoration: none;
    /* transition: transform 0.1s ease-in; */
  }

  #panier a:hover{
     /* transform: scale(1.1); */
     background-color: rgb(0,0,255); 
  }

  #panier hr{margin-bottom: 10px;}
  #form label{
    color:rgb(75, 74, 74);
  }
  #form input[type='text'],#form input[type='email'],#form input[type='tel']{
    width:80%;
    height: 30px;
    border: 1px solid rgba(196, 192, 192, 0.9);
    padding-left: 5px;
  }
  #form input[type='submit']{
    /* width:70%; */
    /* height: 30px; */
    border: 1px solid rgba(196, 192, 192, 0.9);
    background-color: #ff2d37;
    color: white;
    padding: 10px 20px;
    /* text-align:right; */
    border-radius: 10px;
  }
  #form input[type='submit']:hover{
    /* width:70%; */
    /* height: 30px; */
    /* border: 1px solid rgba(196, 192, 192, 0.9); */
    background-color: rgba(255, 45, 55,0.9);
    cursor: pointer;
    /* color: white; */
    /* padding: 10px 20px; */
    /* text-align:right; */
    /* border-radius: 10px; */
  }
  #form input:focus{
    border:none;
    outline:none;
  }

  .drop #panier {
    position: absolute;
    top:30px;
    width:300px;
    max-height: 200px;
    background-color: white;
    box-shadow: 0 2px 2px gray;
    text-align: center;
    display: none;
    overflow: auto;
    padding-bottom: 20px;
    padding-top: 20px;
    z-index:10;
}

.drop:hover #panier{
    display: block;
}

.drop{
    position: relative;
}
.pneu:hover{
  border: none;
  cursor: pointer;
}

.topnav {
    overflow: hidden;
    background-color: rgb(0,0,255);
    margin-top: 10px;
    padding-left: 50px;
  }
  
  .topnav a {
    float: left;
    display: block;
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
  }
  
  .active {
    background-color: #04AA6D;
    color: white;
  }
  
  .topnav .icon {
    display: none;
  }
  
  .dropdown {
    float: left;
    overflow: hidden;
  }
  
  .dropdown .dropbtn {
    font-size: 17px;    
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 360px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .topnav a:hover, .dropdown:hover .dropbtn {
    /* background-color: #555; */
    color: white;
    cursor: pointer;

  }
  .topnav >a:hover, .dropbtn:hover{
    background-color: #333;
  }
  
  .dropdown-content a:hover {
    background-color: #ddd;
    color: black;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  @media screen and (max-width: 600px) {
    .topnav a:not(:first-child), .dropdown .dropbtn {
      display: none;
    }
    .topnav a.icon {
      float: right;
      display: block;
    }
  }
  
  @media screen and (max-width: 600px) {
#car > img{
	margin-bottom:20px;
}
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
    .topnav.responsive .dropdown {float: none;}
    .topnav.responsive .dropdown-content {position: relative;}
    .topnav.responsive .dropdown .dropbtn {
      display: block;
      width: 100%;
      text-align: left;
    }
  }

  #client{background-color:rgb(45, 43, 43);}


  #hero{
    width:90%;
    height: 460px;
    position: relative;
    margin: 30px auto;
    padding-top: 10px;
    /* text-align: center; */
    background-image: url('./desktopphoto.jpg');
    background-size: cover;
    background-position: center;
  }
  #hero img{
    width:100%;
    /* min-height: 400px; */
    object-fit: cover;
  }
   /* #hero #para{
    position: absolute;
  } */
  #para{
    width:100%;
    margin: 20px auto;
  }

.dropb{
  padding: 10px 20px;
  margin-right: 50px;
  width: 250px;
  background-color: white;
  border: none;
  outline: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

 #dropp{
  display: flex;
  justify-content: center;
  margin-top: 15px;
 }

 .faj{
  border: 1px solid rgb(0,0,255);
  border-radius: 50%;
  padding: 5px;
  color: rgb(0,0,255);
  margin-left: 5px;
 }

 .dropbtn {
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}


.dropdow {
  position: relative;
  display: inline-block;
}

.content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 250px;
  margin-top: 10px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  padding: 10px;
  max-height: 200px;
}

.content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdow a:hover {background-color: #ddd;}

.show {display: block;}


#adresse{
  display: flex;
  width:90%;
  margin: auto;
  justify-content: space-around;

}

/* #adresse div{
  flex:1;
} */

#produit::after{
  content: ".";
  color: rgb(0,0,255);
  font-size: 50px;
  position: relative;
  bottom:10px;
}

#produit::before{
  content: ".";
  position: relative;
  bottom:10px;
  color: rgb(0,0,255);
  font-size: 50px;
}

#spans span:not(:nth-child(1)):hover {
  background-color: #ff2d37;
  color: white;
  cursor: pointer;
  /* border: none; */
}

#spans span:not(:nth-child(1)) {
  border: 1px solid rgba(128, 128, 128,0.4);
  margin-left: 15px;
  font-weight: bold;
  transition: background-color 0.1s ease-in,color 0.1s ease-in;
}

#spans{
  margin-bottom: 15px;
}

#spans span{
  cursor: pointer;
}

.slick-slider
{
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
            user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;
    display: block;
}
.slick-track:before,
.slick-track:after
{
    display: table;
    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;
    height: auto;
    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}

.slick-slide {
  margin: 0px 20px;
}

#slider .slick-slide {
  width:250px;
  height: 400px;
}

.slick-slide img {
  width: 100%;
}

 .slider {
      width: 80%; /* Adjust width as needed */
      margin: 20px auto; /* Center align the carousel */
    }
    

footer{
  background-image: url('footer.jpg');
  width: 100%;
  /* aspect-ratio: 16/12; */
  height: auto;
  background-size: cover;
  

  /* margin-bottom: 20px; */
  overflow: hidden;
}
#section{
  display: flex;
  justify-content: space-evenly;
  padding-top: 20px;
  padding-left: 40px;
}

#section div{
  flex:1;
}

#section div a:hover,#section div span:hover{
  transform: translateX(10px);
  color:rgb(0,0,255);
  cursor: pointer; /* Déplace l'élément de 100 pixels vers la droite au survol */
}

#section div a,#section div span{
  transform: translateX(0); /* Position initiale */
  transition: transform 0.2s ease; /* Animation de transition sur transform */
  margin-bottom: 20px;
}



.te:hover{
  color:rgb(0,0,255);
}

.te{
  transition: color 0.2s ease-in;
  cursor: pointer;
}

#aws i{
  color:gray;
  background-color: white;
  padding: 10px;
  margin-right: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease-in,color 0.2s ease-in;
}*

#aws i:first-child{
  color:gray;
  background-color: white;
  padding: 10px 12xpx;
  margin-right: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease-in,color 0.2s ease-in;
}

#aws i:hover{
  background-color: rgb(0,0,255);
  color:white;
}

#arrow{
  display: none; /* Hidden by default */
  cursor: pointer;
  background-color: rgb(0,0,255);
  color:white;
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index:99;
  padding: 15px;
  border-radius: 5px;
  font-weight: bold;
}

h2{
  margin-bottom:10px;
}

.breadcrumbs {
  font-size: 14px;
  margin-bottom: 10px;
  margin-left: 100px;
  margin-top: 10px;
}
.breadcrumbs a {
  text-decoration: none;
  color: #333;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs span {
  color: #999;
  margin: 0 5px;
}

.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 400px;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
  display: block;
}

.active, .accordion:hover {
  background-color: #ccc; 
}

.panel {
  padding: 20px 18px;
  display: none;
  background-color: white;
  overflow: hidden;
  width:400px;
}

#lut{
  text-align:center;
  display:flex;
  width:90%;
  margin:50px auto;
  flex-wrap:wrap;
  align-items: center;
    justify-content: center;
}
.pneu{
  /* border:1px solid #AAA; */
  box-shadow: 0 10px 10px gainsboro;
  padding:30px 20px;
  width:20%;
  display: flex; 
  flex-direction:column;
  margin: 20px;
  justify-content: center; 
  align-items: center;
}
@media screen and (max-width:850px){
  .pneu{
    width:250px;
  }
}
@media only screen and (max-width: 1200px) {
   #hero{
    background-image: url('./mobilephoto.png');
    padding: 0;
  }
  #adresse{
    flex-direction: column;
  }
  .slick-track img{
    width:150px;
  }
  #lut{
    text-align:center;
    display:flex;
    width:90%;
    margin:50px auto;
    flex-wrap:wrap;
    justify-content: center;
  }
  #dropp {
    flex-direction: column;
    align-items: center;
    /* margin: auto; */
  }
  .dropdow{
    margin-bottom: 10px;
  }
  #hero{
    width:100%;
    height: auto;
    padding-bottom: 10px;
    background-size: cover;
  }
  .dropb{
    margin: auto;
  }
  .topnav{
    padding-left: 0;
  }
  .breadcrumbs {
    margin-left: 10px;
  }
  #car{
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 50px auto;
  }
  .paiment{
    text-align: center;
    margin-left: 10px;
  }
  #section{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding-top: 20px;
    padding-left: 40px;
  }
}

#car{
  display: flex;
  width: 60%;
  justify-content: space-around;
  align-items: center;
  margin: 50px auto;
}

.paiment{
  text-align: center;
  /* margin-left: 10px; */
  font-weight: 900;
}

