/*
  burgundy: #790320
  beige: #E2C59D
*/


*{
  box-sizing: border-box;
  /* font-family: "DM Serif Text", serif; */
  font-family: 'Inter', serif ;
}


body{
  background-color: #f1f1f1;
}

p{
  font-size: 16px;
  text-align: justify-all;
}

/* HEADER */
nav{
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 25px;
  font-size: 16px;
  color: white;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: white;
  box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
  /*transition: right 300ms ease-out;*/
}

/* MENU */
nav ul{
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav ul li{
  height: 50px;
  list-style: none;
}
nav ul li a{
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: black;
  font-weight:550;
  transition: 0.2s ease-in-out;
}
nav ul li a:hover{
  color: #790320;
}
#logo:hover{
  background: white;
}

.sidebar{
  position: fixed;
  top: -15px;
  right: -100%;
  height: 100vh;
  width: 250px;
  z-index: 10;

  padding-top: 0;
  padding-bottom: 0;

  background-color: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0,0,0,0.1);

  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: 0.75s ease-out;
}
.sidebar ul{
  padding-left: -40px;
}
.sidebar li{
  width: 120%;
  margin-left: -40px;
}
.sidebar a{
  width: 100%;
  transition: 0.18s ease-in-out;
}
.sidebar a:hover{
  background-color: #e3e2e2;
  color: black;
}
.menu-button{
  display: none;
  /*position: fixed;*/
}
.close-button a:hover{
  background-color: rgba(255, 255, 255, 0.84);
}
#overlay{
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  display: none;
}

.content{
  width: 800px;
  margin: 0 auto;
}

/* WELCOME */
.welcome {
  width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 35px;
  text-align: center;
  color: #790320;
}
.welcome p{
  text-align: center;
  color: black;
}
#apropos-button{
  border: none;
  background-color: white;
  color: black;
  padding: 15px 32px;
  border-radius: 20px;
  font-size: 14px;
  transition: 0.18s ease-in-out;
}
#apropos-button:hover{
  background-color: #aaa5a5;
  color: black;
  cursor: pointer;
}

/* ANNONCES */
.annonces, .insta{
  width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  /*top: 100px;*/

}
.annonces h2 a{
  text-decoration: none;
  color: black;
}
.insta-posts{
  width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.afficher-plus{
  color: black;
}
.afficher-plus:hover{
  cursor: pointer;
}

/* INSCRIPTIONS */
.inscription{
  width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.inscription img{
  border-radius: 5px;
  margin-bottom: 20px;
}
#inscription-button{
  border: none;
  background-color: #790320;
  color: white;
  padding: 15px 32px;
  border-radius: 25px;
  font-size: 16px;
  transition: 0.18s ease-in-out;
}
#inscription-button:hover{
  background-color: rgba(121, 3, 32, 0.83);
  color: white;
  cursor: pointer;
}

/* BOUTIQUE */
.boutique {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.boutique .products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.boutique h2 a {
  text-decoration: none;
  color: black;
}

.product {
  display: flex;
  flex-direction: column;
  background-color: rgba(121, 3, 32, 0.93);
  border-radius: 20px;
  padding: 20px;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(121, 3, 32, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(121, 3, 32, 0.3);
}

.product-image {
  background: white;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}

.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.product-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.product-name {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}

.product-price {
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  margin: 0;
}


/* FOOTER */
.footer{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #E2C59D;
  padding: 0 20px;
  color: #f1f1f1;
}

.footer .icons{
  margin-right: 5%;
}
.footer ion-icon{
  color: #f1f1f1;
  width: 40px;
  height: 40px;
  margin-right: 5px;
  margin-left: 5px;
  transition: 0.2s ease-in-out;
}
.footer ion-icon:hover{
  color: #790320;
}

.footer h3{
  color: #790320;
}
.footer p{
  font-size: 16px;
}
.footer a{
  text-decoration: none;
  color: #f1f1f1;
}
.contact .maps{
  color: #065187;
}

.navigate ul{
  list-style: none;
  text-decoration: none;
  padding: 0;
}
.navigate ul li{
  padding-bottom: 3px;
}
.navigate ul li a{
  text-decoration: none;
  color: #f1f1f1;
  transition: 0.1s ease-in-out
}
.navigate ul li a:hover{
  text-decoration: none;
  color: #790320;
}

.loading{
  width: 100%;
  text-align: center;
}

/* MOBILE */
@media (max-width: 850px){
  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
  .content, .annonces, .insta, .inscription, .boutique, .footer{
    width: 100%;
  }
  .insta-posts{
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
}

@media (max-width: 800px){
  .product{
    padding: 14px 20px;
  }

}

@media (max-width: 600px) {
  .content, .welcome, .annonces, .insta, .inscription, .boutique, .footer{
    width: 100%;
  }
  .footer{
    display: flow;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  p{
    width: 300px;
  }
  .boutique .products{
    display: flex;
    flex-direction: column;
  }
  .product{
    width: 85%;
    max-width: 320px;
    margin: 20px auto;
    padding: 20px 30px;
  }
  .product-price{
    width: fit-content;
  }
}



