@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/Montserrat-Regular.ttf");
}

body {
  font-family: "Montserrat";
  background-color: #f1f1f175;
  padding: 0;
  margin: 0;
  margin-bottom: 2rem;
}

a {
  color: #363636;
  text-decoration: none;
}

#header {
  width: 100%;
  box-sizing: border-box;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

#header #logo {
  width: 10rem;
}

#menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 1.1rem;
  flex-wrap: wrap;
}

.sticky-header {
  background: white;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 10000;
  transition:
    opacity 1s ease,
    transform 1s ease,
    display 1s allow-discrete;
}

#mobile-category-title {
  display: none;
  font-weight: 500;
  font-size: 1.5rem;
  align-items: center;
  justify-content: center;
  color: #99710b;
  padding: 1.25rem;
}

.sticky-header #logo {
  display: none;
}

#menu a {
  font-weight: bold;
}

#menu a.active {
  color: #99710b;
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-thickness: 0.15rem;
}

#body {
  max-width: 1240px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  margin-top: 1rem;
}

#body .category {
  box-shadow: 0px 0px 2px 1px rgba(185, 184, 184, 0.15);
  -webkit-box-shadow: 0px 0px 2px 1px rgba(185, 184, 184, 0.15);
  border-radius: 0.1rem;
  padding: 1rem;
  width: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.category .category-title {
  font-size: 2rem;
  color: #99710b;
}

.category-products {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.product {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product img {
  height: 15rem;
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-name {
  font-size: 18px;
  font-weight: bold;
  color: #46600a;
}

.product-description {
  font-size: 14px;
  line-height: 1.2rem;
}

.single-product-category {
  display: flex;
  align-items: center;
  justify-content: center;
}

.h-50 {
  height: 50px !important;
}

.h-80 {
  height: 80px !important;
}

.h-90 {
  height: 90px !important;
}

.h-100 {
  height: 100px !important;
}

.h-120 {
  height: 120px !important;
}

.h-25r {
  height: 25rem !important;
}

.contact-channels {
  display: flex;
  gap: 3rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-infos {
  background: url("../img/contact-image.png") no-repeat;
  background-size: cover;
  position: relative;
  min-height: 30rem;
}

.contact-text {
  isolation: isolate;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 0.5rem;
  width: 75%;
  position: absolute;
  left: 1rem;
  bottom: 1rem;
}

@media screen and (max-width: 1024px) {
  .contact-channels {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-text {
    width: fit-content;
  }
}

@media screen and (max-width: 1240px) {
  #body {
    padding: 2rem;
    box-sizing: border-box;
  }
  .category-products {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  .contact-infos {
    background: url("../img/contact-image-sq.png") no-repeat;
  }

  .single-product-category .product {
    flex-direction: column;
  }

  .category-products {
    grid-template-columns: 1fr;
  }

  .product {
    flex-direction: column;
    border-bottom: 1px solid rgb(237, 237, 237);
    padding-bottom: 1rem;
    justify-content: center;
  }

  .product:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .product img {
    height: 12rem;
  }

}
