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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans";
}

html {
  font-size: 16px;
}
body {
  font-family: sans-serif;
}

section img {
  width: 40px;
  border-radius: 10px;
}

.image-back {
  display: flex;
  width: 100%;
  height: 40vh;
  color: #ffffff;
  padding: 0 2em;
  background-image: url(images/header-img.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-direction: column;
}

.image-back:before {
    background: url(images/wave_white.png) 50% 100% repeat-x;
    content: "";
    position: absolute;
    height: 40vh;
    left: 0;
    right: 0;
    z-index: 3;
}


nav {
  width: 100%;
  height: 30%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.toggle {
  display: none;
}

.menu {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  list-style: none;
  width: 500px;
}

.menu li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-family: "Merriweather" sans-serif;
  font-weight: bold;
  line-height: 24px;
}

.menu li a:hover {
  color: #21b6ff;
}

.breadcrumbs li:not(:last-child)::after {
  display: inline-block;
  margin: 0 0.25rem;
  content: "»";
}

.breadcrumbs {
  list-style: none;
  display: flex;
  z-index: 10;
}

.breadcrumbs li a {
  font-size: 16px;
  font-weight: 900;
}

.breadcrumb-main {
  display: flex;
  flex-direction: column;
}

.breadcrumb-main h1 {
  color: #21b6ff;
  font-size: 60px;
  font-weight: bolder;
}

/* product styles form */
.all-products {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  background: #fff;
}

.product {
  overflow: hidden;
  background: #ffffff;
  text-align: center;
  width: 311.33px;
  height: 580px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 1.2rem;
  margin: 2rem;
  box-sizing: border-box;
  cursor: pointer;
  box-shadow: 0 0 7px rgba(18, 18, 18, 0.5);
  transition: box-shadow 0.3s ease-out;
}

.product span {
  font-size: 24px;
  color: #21b6ff;
  font-weight: 700;
}

.product ins span {
  font-size: 24px;
  color: #aec556;
  font-weight: 700;
  margin-left: 5px;
}

.product:hover img {
  scale: 1.1;
}

.product p {
  font-size: 14px;
  line-height: 1.4em;
  margin: 5px 0 15px;
}
.product-title {
  color: #112c91;
  font-size: 24px;
  text-align: center;
  text-transform: none;
  padding: 0.5em 0;
  margin: 0;
  font-family: "Merriweather";
  font-weight: 900;
}

.product-title:hover {
  color: #21b6ff;
}

.product:hover {
  box-shadow: 15px 15px 25px #d6eaf8;
}

.product img {
  width: 300px;
  height: 300px;
  padding: 20px 15px;
  border-radius: 3rem;
  transition: all 0.5s;
}

.product a:link,
.product a:visited {
  color: #ececec;
  display: inline-block;
  text-decoration: none;
  background-color: #2c3e50;
  padding: 1.2rem 3rem;
  border-radius: 1rem;
  margin-top: 1rem;
  font-size: 14px;
  transition: all 0.2s;
}

.product a:hover {
  transform: scale(1.1);
}
/* product styles form */

/* footer content */
footer {
  color: #fff;
  background: #3498db;
  padding-top: 40px;
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
}

.socials {
  list-style: none;
  display: grid;
  align-items: center;
  justify-content: center;
  place-items: center;
}

.background {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.social-media-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  outline: 0.5px solid #21b6ff;
  cursor: pointer;
  transition: all 0.3s;
  display: grid;
  place-items: center;
  background: #ffffff;
}

.social-media-icon:hover {
  outline-offset: 1px;
  background: #21b6ff;
  transition: all 0.3s ease-in-out;
}

.social-media-icon .fa {
  text-decoration: none !important;
  padding: 2px;
  font-size: 26px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-content h3 {
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: capitalize;
  line-height: 3rem;
}

.footer-content p {
  max-width: 500px;
  margin: 10px auto;
  line-height: 28px;
  font-size: 14px;
}

.footer-bottom {
  background: #000080;
  width: 100%;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  word-spacing: 2px;
  text-transform: capitalize;
}

.footer-bottom span {
  text-transform: uppercase;
  opacity: 0.4;
  font-weight: 200;
}

.logo {
  max-width: 270px;
  max-height: 47px;
  border-radius: 10px;
}
/* footer content */

@media all and (max-width: 991px) {
  .toggle {
    display: block;
  }

  .menu {
    display: none;
    position: absolute;
    background: #f44336;
    height: 50vh;
    width: 230px;
    top: 0;
    left: 0;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }

  .menu.open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .menu li {
    margin: 10px 0;
  }

  nav .fa {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
    text-align: right;
  }

  nav .fa.ouvrir {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
    text-align: right;
  }

  nav .fa.fermer {
    display: none;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
    text-align: right;
  }

  nav.open .fa.ouvrir {
    display: none;
  }

  nav.open .fa.fermer {
    display: block;
  }

  .breadcrumbs {
    flex-direction: column;
    align-items: flex-start;
  }

  .breadcrumb-main {
    align-items: flex-start;
  }

  .breadcrumb-main h1 {
    text-align: left;
  }
}
