@font-face {
	font-family:"Black Chancery";
	src:url("./Ressources/black_chancery/CHANCERY.eot") format("eot"),
	url("./Ressources/black_chancery/CHANCERY.woff") format("woff"),
	url("./Ressources/black_chancery/CHANCERY.ttf") format("truetype"),
	url("./Ressources/black_chancery/CHANCERY.svg#BlackChancery") format("svg");
	font-weight:normal;font-style:normal;
}

p{
	font-family: 'Alice', sans-serif;
	font-size: 25px;
	padding: 10px;
	
	@media screen and (max-width: 600px){
	    font-size: 20px;
    }
}

.item-list ul li{
	font-family: 'Alice', sans-serif;
	font-size: 25px;
	list-style: inside;
	text-align: left;
	
	@media screen and (max-width: 600px){
	    font-size: 20px;
    }
}

h1 {
	font-family: "Black Chancery";
	font-size: 40px;
}

body {
	font-family: 'Alice', sans-serif;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	background-image: url('./Images/leather-gfbc94b024_1920.webp');
}

main {
	background-color: rgba(184,161,147, 0.7);
	border: 2px double #6c584c;
	border-radius: 10px;
	/*display: flex;
	flex-direction: column;*/
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	text-align: center;
	margin: 20px 100px;

  @media screen and (max-width: 600px){
    padding: 10px 10px;
    margin: 20px 20px;
  }
}



a {
	color:black;
}

a:hover{
    background: #d19d3c;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0px;
	text-align: center;
	position: relative;
	flex-direction: column;
}

.banner img {
    width: 100%;
    height: auto;
}

button {
	background-color: #6c584c;
	font-size: 25px;
	padding : 15px;
	margin: 10px;
	border-radius : 20px;
}

select, option {
  font-size: 15px;
	border-radius : 10px;
}

table, th, td {
	width: 100%;
	border: 1px solid black;
	border-collapse: collapse;
	font-size: 25px;
	border-radius : 10px;
  background-color: #6c584c;
}

.prix-total, .prix-livraison {
  background-color: #6c584c;
  color: white;
  border-radius: 10px;
  text-align: right;
  padding: 10px;
  font-size: 15px;
}

/*---------------------------------             Menus          ------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Alice', sans-serif;
}
nav{
  /*position: fixed;*/
  z-index: 99;
  width: 100%;
  
  background: #5c8868;
}
nav .wrapper{
  position: relative;
  max-width: 1300px;
  padding: 0px 30px;
  height: 120px;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wrapper .logo a{
  color: #f2f2f2;
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;

}
.wrapper .nav-links{
  display: inline-flex;
}
.nav-links li{
  list-style: none;
}
.nav-links li a{
  color: #f2f2f2;
  text-decoration: none;
  font-size: 25px;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
  line-height: normal;
  margin: 20px 0px;
}
.nav-links li a:hover{
  background: #d19d3c;
}
.nav-links .mobile-item{
  display: none;
}
.nav-links .drop-menu{
  position: absolute;
  background: #d19d3c;
  width: 180px;
  line-height: 45px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box{
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}
.drop-menu li a{
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}
.mega-box{
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0 30px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
}
.mega-box .content{
  background: #6c584c;
  padding: 25px 20px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.mega-box .content .row{
  width: calc(25% - 30px);
  line-height: 35px;
}
.content .row img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content .row header{
  color: #f2f2f2;
  font-size: 20px;
  font-weight: 500;
}
.content .row .mega-links{
  margin-left: -40px;
  border-left: 1px solid rgba(255,255,255,0.09);
}
.row .mega-links li{
  padding: 0 20px;
}
.row .mega-links li a{
  padding: 0px;
  padding: 0 20px;
  color: #d9d9d9;
  font-size: 17px;
  display: block;
}
.row .mega-links li a:hover{
  color: #f2f2f2;
}
.wrapper .btn{
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
}
.wrapper .btn.close-btn{
  position: absolute;
  right: 30px;
  top: 10px;
}

@media screen and (max-width: 970px) {
  .wrapper .btn{
    display: block;
  }
  .wrapper .nav-links{
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: #6c584c;
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
  }
  /* custom scroll bar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #242526;
  }
  ::-webkit-scrollbar-thumb {
    background: #3A3B3C;
  }
  #menu-btn:checked ~ .nav-links{
    left: 0%;
  }
  #menu-btn:checked ~ .btn.menu-btn{
    display: none;
  }
  #close-btn:checked ~ .btn.menu-btn{
    display: block;
  }
  .nav-links li{
    margin: 15px 10px;
  }
  .nav-links li a{
    padding: 0 20px;
    display: block;
    font-size: 20px;
  }
  .nav-links .drop-menu{
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }
  #showDrop:checked ~ .drop-menu,
  #showMega:checked ~ .mega-box{
    max-height: 100%;
  }
  .nav-links .desktop-item{
    display: none;
  }
  .nav-links .mobile-item{
    display: block;
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .nav-links .mobile-item:hover{
    background: #d19d3c;
  }
  .drop-menu li{
    margin: 0;
  }
  .drop-menu li a{
    border-radius: 5px;
    font-size: 18px;
  }
  .mega-box{
    position: static;
    top: 65px;
    opacity: 1;
    visibility: visible;
    padding: 0 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .mega-box .content{
    box-shadow: none;
    flex-direction: column;
    padding: 20px 20px 0 20px;
  }
  .mega-box .content .row{
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .mega-box .content .row:nth-child(1),
  .mega-box .content .row:nth-child(2){
    border-top: 0px;
  }
  .content .row .mega-links{
    border-left: 0px;
    padding-left: 15px;
  }
  .row .mega-links li{
    margin: 0;
  }
  .content .row header{
    font-size: 19px;
  }
}
nav input{
  display: none;
}

.body-text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  padding: 0 30px;
}
.body-text div{
  font-size: 45px;
  font-weight: 600;
}





/*------------------------------------------footer-------------------------------------------*/
footer{
	background-color: #5c8868;

  footerTitle{
    font-weight: bold;
    font-size: 25px;
    font-family: 'Alice', sans-serif;
  }
}

.footer-container {
	display: flex;
	justify-content: space-between;
	padding: 0px;
	background-color: #5c8868;
	flex-wrap: wrap;
	border: 2px solid #6c584c ;
}

.footer-section {
	flex: 1;
	padding: 10px;
}

.footer-section ul {
	list-style: none;
	padding: 0;
}

.footer-section li {
	text-decoration: none;
	padding: 3px 10px;
}

.footer-section ul li a {
	text-decoration: none;
}

.footer-container p{
	font-size:18px;
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
		border: 2px solid #6c584c ;
    }
}


/*-----------------------------Contact form-----------------------------*/
.contact-section {
	width: 100%;
	max-width:45rem;
	margin-left: auto;
	margin-right: auto;
	padding: 3rem 1rem;
  }
  
  .contact-intro > * + * {
	margin-top: 1rem;
  }
  
  .contact-title {
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 700;
  }
  
  .contact-description {
	color: black;
  }
  
  .form-group-container {
    display: block;
    gap: 1rem;
    margin-top: 2rem;
    font-size:20px;
    max-width: 500px;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    font-size:20px;
    max-width: 500px;
  }
  
  .form-label {
    font-size:20px;
	  margin-bottom: 0.5rem;
  }
  
  .form-input,
  .form-textarea {
	padding: 0.5rem;
	border: 1px solid #e5e7eb;
	display: flex;
	height: 4rem;
	width: 100%;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
  }
  
  .form-input::placeholder,
  .form-textarea:focus-visible {
	color: #6b7280;
  }
  
  .form-input:focus-visible,
  .form-textarea:focus-visible {
	outline: 2px solid #d19d3c;
	outline-offset: 2px;
  }
  
  .form-textarea {
	min-height: 300px;
  }
  
  .form-submit{
	width: 100%;
	margin-top: 1.2rem;
	background-color: #6c584c;
	color: #fff;
	padding: 13px 5px;
	border-radius: 0.375rem;
  }

  .form-captchaElement {
    display:block;
  }
  

/*----------------------------------------------Fil d'actualité-----------------------------------------------------------*/
@import url("https://pro.fontawesome.com/releases/v6.0.0-beta1/css/all.css");
@import url("https://fonts.googleapis.com/css2?family=Jura:wght@500;600;900&display=swap");

.actu-container {
	text-decoration:none;
}

.actu-container *,
.actu-container *::before,
.actu-container *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.actu-container ul {
  --col-gap: 2rem;
  --barH: 1rem;
  --roleH: 2rem;
  --flapH: 2rem;

  width: min(60rem, 100%);
  margin-inline: auto;

  display: flex;
  flex-wrap: wrap;

  gap: var(--col-gap);
  padding-inline: calc(var(--col-gap) / 2);

  justify-content: center;
  align-items: flex-start;
  list-style: none;
}
.actu-container ul li {
  width: 10em;
  display: grid;
  grid-template:
    "role"
    "icon"
    "title"
    "descr";
  align-items: flex-start;
  gap: 1rem;
  padding-block-end: calc(var(--flapH) + 1rem);
  text-align: center;
  background: var(--accent-color);
  background-image: linear-gradient(
    rgba(0, 0, 0, 0.6) var(--roleH),
    rgba(0, 0, 0, 0.4) calc(var(--roleH) + 0.5rem),
    rgba(0, 0, 0, 0) calc(var(--roleH) + 0.5rem + 5rem)
  );
  clip-path: polygon(
    calc(var(--col-gap) / -2 - 5px) 0,
    calc(100% + var(--col-gap) / 2 + 5px) 0,
    calc(100% + var(--col-gap) / 2 + 5px ) calc(100% - var(--flapH)),
    50% 100%,
    calc(var(--col-gap) / -2 - 5px) calc(100% - var(--flapH))
  );
}

/* bar */
.actu-container ul li::before {
  content: "";
  grid-area: role;
  height: var(--barH);
  width: calc(100% + var(--col-gap));
  margin-left: calc(var(--col-gap) / -2);
  margin-top: calc(var(--roleH) / 2 - var(--barH) / 2);
  background: grey;
  z-index: -1;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.2) 30%,
    rgba(255, 255, 255, 0.1) 40%,
    rgba(0, 0, 0, 0.1) 60%,
    rgba(0, 0, 0, 0.2) 70%,
    rgba(0, 0, 0, 0.4)
  );
}

/* role */
.actu-container ul li::after {
  content: "";
  grid-area: role;
  background: var(--accent-color);
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.2) 30%,
    rgba(255, 255, 255, 0.1) 40%,
    rgba(0, 0, 0, 0.1) 60%,
    rgba(0, 0, 0, 0.2) 70%,
    rgba(0, 0, 0, 0.4)
  );
  height: var(--roleH);
}

.actu-container ul li .icon,
.actu-container ul li .title,
.actu-container ul li .descr {
  padding-inline: 1rem;
  color: white;
  text-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.5);
}

.actu-container ul li .icon {
  font-size: 3rem;
}
.actu-container ul li .title {
  font-size: 1.25rem;
  font-weight: 700;
}

.actu-container ul li .descr {
  font-size: 0.9rem;
}

.actu-container .credits {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
}
.actu-container .credits a {
  color: var(--color);
}

/*----------------------------------------carousel----------------------------------------*/
#slider {
  position: relative;
  width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  background-color:#6c584c;
  
  display: inline-flex; /*inline block*/
  justify-content: space-evenly;
  
  border-radius: 20px;
}

#precedent,
#suivant {
  cursor: pointer;
  transition: opacity 0.3s ease;
  opacity: 0;
  position: absolute;
  font-size: 100px;
  color: #d19d3c;
  background-color: #3b3732;
  padding: 10px;
  border-radius: 20px;
  margin: 200px;
}

#precedent {
  left: 0;
}

#suivant {
  right: 0;
}

#slider:hover #precedent,
#slider:hover #suivant {
  opacity: 1;
}

#slider img{
  max-height: 480px;
  border-radius: 20px;
}

/* Responsive carousel */
@media screen and (max-width: 1500px) {

  #slider {
    position: relative;
    width: 900px;
    margin: auto;
    display: flex;
    align-items: center;
    background-color:#6c584c;
    display: inline-flex; /*inline block*/
	justify-content: space-evenly;
  }

  #slider:hover #precedent,
  #slider:hover #suivant {
    opacity: 1;
  }

  #slider img{
    max-height: 400px;
  }
  
  #precedent,
  #suivant {
    border-radius: 20px;
    margin: 100px;
  }
}

@media screen and (max-width: 1200px) {

  #slider {
    position: relative;
    width: 500px;
    margin: auto;
    display: flex;
    align-items: center;
    background-color:#6c584c;
    display: inline-flex; /*inline block*/
	justify-content: space-evenly;
  }

  #slider:hover #precedent,
  #slider:hover #suivant {
    opacity: 1;
  }

  #slider img{
    max-height: 300px;
  }
  
  #precedent,
  #suivant {
    border-radius: 20px;
    margin: 0px;
	padding: 5px;
  }
}

@media screen and (max-width: 768px) {

  #slider {
    position: relative;
    width: 200px;
    margin: auto;
    display: flex;
    align-items: center;
    background-color:#6c584c;
    display: inline-flex; /*inline block*/
	justify-content: space-evenly;
  }

  #slider img{
    max-height: 200px;
  }
  
  #precedent,
  #suivant {
    border-radius: 20px;
    margin: 0px;
	padding: 0px;
	font-size: 50px;
  }
}

/*----------------------------------------Produits-------------------------------------*/
.produit-container {
  display: inline;
}

.produit {
    border: 3px double #6c584c;
    background-color: rgba(92, 136, 104, 0.7);
    border-radius: 10px;
    padding: 15px;
    margin: 10px;
    width: 400px;
    height: 400px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.produit:hover {
  background-color: rgba(209, 157, 60, 0.7);
}

.produit-image {
    width: 100%;
    height: auto;
    max-height: 270px;
    object-fit: cover;
    border-radius: 10px;
}

.produit-nom {
    font-size: 25px;
    margin: 10px 0 5px;
}

.produit-prix {
    font-weight: bold;
    color: #3b3732;
    font-size : 20px;
}

@media screen and (max-width: 600px) {
  .produit {
      border: 3px double #6c584c;
      background-color: rgba(92, 136, 104, 0.7);
      border-radius: 10px;
      padding: 15px;
      margin: 5px;
      width: 200px;
      height: 200px;
      vertical-align: top;
      text-align: center;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .produit-image {
      width: 100%;
      height: auto;
      max-height: 120px;
      object-fit: cover;
      border-radius: 10px;
  }

  .produit-nom {
      font-size: 15px;
      margin: 5px 0 2px;
  }

  .produit-prix {
      font-weight: bold;
      color: #3b3732;
      font-size : 15px;
  }
}

/*----------------------------------------Détails du produit---------------------------------------------*/
.gallery {
  display: flex;
  margin: 10px auto;
    width: 900px fixed;
    min-width:500px;
    height: 500px;
    position: relative;
    background-color:#6c584c;
    border-radius: 10px;
    padding-top: 250px;
    
    align-items: center;

    @media screen and (max-width: 1000px){
      padding-top: 350px;
      min-width:500px;
      height: 620px;
    }
    
    @media screen and (max-width: 800px){
      padding-top: 270px;
      min-width:400px;
      height: 520px;
    }

    @media screen and (max-width: 700px){
      min-width:200px;
    }
}

.gallery__selector {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

.gallery__img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  max-height:75%;
  max-width: 100%;
  min-width: 500px;
  /*width:auto;
  height: auto;*/
  display:block;
  align-items: center;
  padding:20px;
  border-radius: 10px;

  @media screen and (max-width: 1000px){
    min-width:500px;
  }

  @media screen and (max-width: 800px){
    min-width:400px;
  }

  @media screen and (max-width: 700px){
    min-width:200px;
  }

  @media screen and (max-width: 400px){
    min-width:200px;

  }
}

.gallery__selector:checked + .gallery__img {
  opacity: 1;
  align-items: center;
}

.gallery__thumb {
  position:relative;
  bottom:8px;
  display: inline-block;
  align-items: center;
  padding: 2px;
  margin: 150px 6px 6px 6px;
  border-radius: 10px;
  border-radius:10px;
}

.gallery__thumb img{
  max-width: 100%;
  max-height:100px;
  /*max-width:120px;*/
  height:auto;
  width:auto;
  display: block;
  align-items: center;
  border-radius:10px;
}

.gallery__selector:checked ~ .gallery__img > img {
  box-shadow: 0 0 0 10px #0be2f6;
}


.gallery__thumb img:hover {
  cursor: pointer;
  transform: scale(1.05);
  transition: transform 0.2s;

}

.gallery__item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.ajout-panier{
  background-color:#6c584c;
  width:fit-content;
  padding: 20px;
  margin: 10px;
  border-radius:10px;
  align-items: center;
}

.ajout-panier a{
  color: white;
	font-size: 25px;
  text-decoration: none;
}

.fiche-produit{
  display:flex;
  flex-direction: line;
}

@media screen and (max-width: 1000px){
  .fiche-produit{
    display:flex;
    flex-direction: column;
  }
}

.fiche-produit {
  h1, h2, p{
  align-items: left;
  text-align: left;
  padding-top: 20px;
}
}

.description-produit{
  padding-left: 30px;
}

/*---------------------------------------panier-------------------------------*/

.panier{
  display:block;
  margin: 20px;
  padding: 20px;

  table, td, tr{
    background-color: #6c584c;
    border: 3px simple black;
    padding:5px;
  }

  @media screen and (max-width: 800px){
    margin: 5px;
    padding: 5px;

    table, td, tr{
      padding: 2px;
      font-size: 15px;
    }
  }
}

.numberInCart{
  font-size: 20px;
  background-color:#d19d3c;
  margin:10px;
  padding:8px;
  border-radius: 10px;
}

/*-------------------------------reparation------------------------------*/
.item-repa{
    display: flex; 
    text-align: justify; 
    flex-direction: line;
    vertical-align:middle;
    
    @media screen and (max-width: 800px){
        flex-direction: column;
    }
}

.hide-image{
    @media screen and (max-width: 800px) {
    display: none;
  }
}

/*-----------------------------------------détail produit, affichage des images en grand au clic----------------------------------*/

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox.hidden {
  display: none;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}