@import url("https://fonts.googleapis.com/css2?family=Satisfy&display=swap");

:root {
  --primary-color: #3b2db6;
  --secondary-color: rgb(195, 179, 161);
  --dark-color: #000;
  --light-color: #fff;
  --p-color: rgb(222, 231, 233);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Satisfy", cursive;
}
body {
  background-color: var(--primary-color);
  color: var(--p-color);
  font-size: 1.2rem;
  line-height: 1.6;
  font-family: "Satisfy", cursive;
}
/*  debut du css header */
header {
  width: 100%;
  background-color: var(--secondary-color);
  margin: 0 0 100px 0;
}
#header-logo {
  background-image: url("./images/logo-confiserie.png");
  background-size: cover;
  width: 200px;
  height: 190px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  box-shadow: 2px 2px 4px #0a0a0a8c;
  margin: 20px auto 0 20px;
}
.ingredient img {
  display: none;
}

.ingredient-lavande img {
  width: 150px;
  height: 150px;
}
.header-title {
  display: flex;
  text-align: center;
  color: var(--primary-color);
}

.header-logo--up {
  font-size: 1.9rem;
  margin: 100px auto 0 auto;
}

.header-title--img {
  display: none;
}

.menu {
  margin: 0 auto;
  padding: 30px;
  display: flex;
  flex-direction: column;
  text-align: center;
  list-style: none;
  margin-bottom: 20px;
}
.menu ul {
  display: flex;
  justify-content: space-evenly;
  text-align: center;
  list-style: none;
}

.menu ul li a {
  text-decoration: none;
  margin: 20px auto 20px auto;
  text-align: center;
  font-size: 0.8rem;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px #4006f08c;
  transition: transform 0.5s ease;
}
.menu a:hover {
  font-size: 2rem;
  color: var(--light-color);
  transform: scale(1.2);
}

/* fin du css header */
/* debut du container présentation */
main {
  width: 80%;
  margin: 0 auto;
}
.container {
  background-image: url("/images/background.png");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  max-width: 700px;
  max-height: 500px;
  overflow: auto;
  scrollbar-width: none;
  margin: 20px auto;
  padding: 30px;
  border-radius: 4px;
  border: 20px solid var(--secondary-color);
}

.container::-webkit-scrollbar {
  display: none;
}
#whois h2 {
  font-size: 1.3rem;
  line-height: 1.5;
  font-family: "Satisfy", cursive;
  text-align: center;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px #590a71;
  margin-bottom: 40px;
}
.container p {
  font-size: 1.6rem;
  line-height: 1.2;
  font-family: "Satisfy", cursive;
  color: var(--p-color);
  text-shadow: 2px 2px 4px #000000;
  text-align: center;
}

/*  fin du container presentation */
/* debut section products */

#text-present {
  width: 80%;
  margin: 60px auto;
  padding: 10px;
  text-align: center;
  font-size: 1.3rem;
  color: var(--primary-color);
  text-shadow: 2px 2px 2px #4006f08c;
  background-color: rgba(255, 255, 255, 0.729);
  border: 2px solid #f8f8f98c;
  border-radius: 3px;
  box-shadow: 2px 2px 4px #0909098c;
}
.products h2 {
  width: 100dvw;
  background-color: var(--secondary-color);
  text-decoration: none;
  text-align: center;
  color: var(--secondary-color);
  font-size: 2rem;

  box-shadow: 2px 2px 4px #0909098c;
}
.products {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  margin: 40px auto;
  
}

.left {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 20px auto;
  padding: 20px;
  color: var(--dark-color);
}
.left-up {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
margin-bottom: 40px;
  color: var(--dark-color);
}
.left-up img {
    border-radius: 50%;
  width: 60px;
  height: 50px;
}
.left img {
  width: 60px;
  height: 50px;
}
.right {
  display: flex;
  align-items: center;
}
.right img {
  width: 50px;
  height: 50px;
}

.products h2 {
  text-shadow: 2px 2px 4px #000000ac;
  font-size: 2rem;
  width: 100vw;
  background-color: var(--secondary-color);
  text-decoration: none;
  text-align: center;
  color: var(--primary-color);
  font-size: 2rem;
  box-shadow: 2px 2px 4px #0909098c;
}
.products-title {
  grid-area: title;
  display: flex;
  align-items: center;
  margin: 20px auto;
  padding: 20px;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  box-shadow: 2px 2px 4px #0909098c;
}
.products-fruits {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "title title title"
    " img1 img2 img3"
    "img4 img5 img6"
    "img7 img8 img9";
  gap: 10px;
  margin: 30px auto;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
  background-color: rgba(255, 255, 255, 0.729);
  border: 8px solid var(--light-color);
  border-radius: 3px;
}
.products-fruits img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
  box-shadow: 2px 2px 4px #0909098c;

  border-radius: 8px;
}
.zoomable {
  transition: transform 0.3s ease;
}
.zoomable:hover {
  transform: scale(1.8);
  z-index: 1;
}

/* fin section products */

/*  debut de la section contact */

.contact {
  background-color: #f9f9fcc4;
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  padding: 30px;
  margin: 80px auto;
  font-size: 2rem;
  text-align: center;
  list-style: none;
  box-shadow: 2px 2px 4px #0e0138;
}
#contact-map {
  font-size: 1.5rem;
  color: var(--dark-color);
}
.contact a {
  text-decoration: none;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px #4a4747;
}

.contact-list {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  color: var(--dark-color);
  text-align: center;
  font-size: 1.5rem;
  list-style: none;
}
.contact iframe {
  width: 100%;
  height: 100%;
  border: 3px solid #0b0b0bee;
  box-shadow: 2px 2px 4px #060c22;
  border-radius: 5px;
  margin: 20px auto;
}
.contact-adress {
  color: var(--dark-color);
  text-shadow: 2px 2px 4px #4a4747;
}
.contact-phone {
  text-shadow: 2px 2px 4px #4a4747;
  color: var(--dark-color);
}
.contact p {
  text-shadow: 2px 2px 4px #4a4747;
  font-size: 1.5rem;
  color: var(--dark-color);

  margin: 20px auto;
}
label {
  font-size: 1.5rem;
  text-decoration: underline;
  color: rgb(6, 93, 242);
  text-shadow: 2px 2px 4px #fefdfd;
  margin: 40px auto 10px auto;
}
.contact p span {
  color: var(--light-color);
  font-weight: bolder;
}
.contact-mail {
  margin-bottom: 20px;
}
.contact-mail a {
  font-size: 1rem;
  text-decoration: none;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px #beb7b7;
}
.contact-mail h3 {
  font-size: 1.5rem;
  color: var(--dark-color);
  text-shadow: 2px 2px 4px #4a4747;
  margin: 20px auto;
}
.reseaux{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 20px auto;

}

footer {
  display: flex;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  text-align: center;
  padding: 20px;
  bottom: 0;
  width: 100%;
}
footer p {
  margin: auto;
  text-shadow: 2px 2px 4px #fffcfc;
  font-size: 0.8rem;
}
footer a {
  text-decoration: none;
  color: var(--dark-color);
  text-shadow: 2px 2px 4px #fffcfc;
  font-size: 0.8rem;
}


.footer-social {
  margin-top: 20px;
  text-align: center;
}

.social-icon {
  display: inline-block;
  margin: 0 20px;
  font-size: 24px;
  color: #333;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #f39c12; /* Change to your theme color */
}
/* ... existing code ... */

@media screen and (min-width: 768px) {
  #header-logo {
    max-width: 200px; /* Remplacez 200px par la largeur maximale que vous voulez pour votre logo */
    max-height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .ingredient img {
    display: block;
    width: 150px;
    height: 150px;
    box-shadow: 2px 2px 4px #0a0a0a8c;
    border-radius: 50%;
    margin-top: 150px;
  }
  .header-title--img {
    display: block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: block;
    margin: 40px auto;
    box-shadow: 2px 2px 4px #0a0a0a8c;
  }
 
  .header-logo--up {
    font-size: 2.8rem;
  }

  #products {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }
  .products {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 auto;
  }
  .products-fruits img {
    width: 150px;
    height: 150px;
    box-shadow: 2px 2px 4px #0a0a0a8c;

    margin: 20px auto;
  }
  .products h1 {
    font-size: 3rem;
  }
  #text-present {
    font-size: 2rem;
  }

  .left-up {
    display: flex;
    flex-direction: row;
  }
  .left-up img {
    width: 150px;
    height: 150px;
  }

  #contact-map {
    font-size: 3rem;
  }
  .contact-mail a {
    font-size: 2rem;
  }

  .contact iframe {
    width: 400px;
    height: 300px;
    border: 3px solid #0b0b0bee;
    box-shadow: 2px 2px 4px #060c22;
    border-radius: 5px;
    margin: 20px auto;
  }
  .menu ul li a {
    font-size: 2rem;
  }
}
