.fairtrade-content {
  background: url("../images/bg-wood.png");
  background-size: 40%;
  min-height: 100vh;
  overflow: hidden;
  padding: 4rem 1rem 30%;
  position: relative;
  background-position: top;
}

.fair-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
}

.fair-head {
  text-align: right;
  position: relative;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  flex-wrap: nowrap;
}

.fair-head .text-head {
  padding: 0px 2rem;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 600;
  color: #004722;
  background: #fff;
  border-radius: 50px;
  /* letter-spacing: 2px; */
  margin-bottom: 1rem;
}

.fair-head .logo-fairtrade img {
  width: 90px;
  margin-bottom: 1rem;
}

.fair-body {
  word-break: break-word;
  margin: 2rem 0 1rem;
  position: relative;
  z-index: 1;
}

.fair-body h4 {
  font-size: 18px;
  margin-bottom: 1rem;
}

.fair-body p {
  font-size: 14px;
}

.fair-body .fair-img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  margin-bottom: 1rem;
}

.fair-body .fair-detail img {
  width: 100% !important;
  height: auto !important;
}

.fair-body .fair-cert .img-cert {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
}

.fair-body .fair-cert .text-cert {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #004722;
  font-size: 18px;
  font-weight: 500;
  height: 100%;
  text-align: center;
  /* letter-spacing: 1px; */
}

.back-button {
  background: #6d4612;
  color: #fff !important;
  text-transform: uppercase;
  padding: 0 2rem;
  font-size: 20px;
  border-radius: 10px;
  position: absolute;
  z-index: 10;
  bottom: 3rem;
}

.fair-slide .item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 0 10%;
  height: 200px;
}

.fair-slide .owl-prev,
.fair-slide .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff !important;
  font-size: 45px !important;
  text-shadow: 2px 2px 5px rgb(0 0 0 / 50%);
  outline: unset !important;
}

.fair-slide .owl-prev {
  left: 0;
}

.fair-slide .owl-next {
  right: 0;
}

.fairtrade-content .footer-image {
  position: absolute;
  bottom: 0;
  right: 0;
  display: block;
  width: 100%;
  height: auto;
}

.cert-slide .owl-dots {
  text-align: center;
}

.cert-slide .owl-dot {
  background-color: #c4c4c4 !important;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin: 0 5px;
}

.cert-slide .owl-dot.active {
  background-color: #004722 !important;
}

@media screen and (min-width: 768px) {
  .fair-slide .item {
    height: 220px;
  }
  .fairtrade-content {
    padding: 4rem 5% 30%;
  }
  .fair-slide .owl-prev {
    left: 10%;
  }
  .fair-slide .owl-next {
    right: 10%;
  }
  .fair-head {
    position: absolute;
    right: 5%;
  }
  .fair-slide {
    margin-top: 5rem;
  }
  .fair-body .fair-img {
    width: 600px;
  }
  .fairtrade-content .footer-image {
    width: 80%;
  }
  .fair-head .text-head {
    font-size: 24px;
  }
  .fair-body h4,
  .fair-body .fair-cert .text-cert {
    font-size: 20px;
  }
  .fair-body p {
    font-size: 16px;
  }
  .fair-body .fair-detail img {
    width: 80% !important;
  }
  .back-button {
    font-size: 24px;
  }
}

@media screen and (min-width: 992px) {
  .fairtrade-content {
    padding: 9rem 10% 20%;
  }
  .fair-mask {
    width: 800px;
    top: unset;
  }
  .fair-slide .item {
    height: 300px;
  }
  .fair-head .text-head {
    font-size: 30px;
  }
  .fair-head .logo-fairtrade img {
    width: 110px;
  }
  .fair-slide .owl-prev {
    left: 10%;
  }
  .fair-slide .owl-next {
    right: 10%;
  }
  .fairtrade-content .footer-image {
    width: 800px;
  }
  .fair-body h4,
  .fair-body .fair-cert .text-cert {
    font-size: 24px;
  }
  .fair-body p {
    font-size: 18px;
  }
}

@media screen and (min-width: 1200px) {
  .fairtrade-content {
    padding: 9rem 15% 20%;
  }
  .fair-slide .item {
    height: 350px;
  }
  .fair-head {
    right: 10%;
  }
  .fair-slide .owl-prev {
    left: 15%;
  }
  .fair-slide .owl-next {
    right: 15%;
  }
  .fairtrade-content .footer-image {
    width: 1000px;
  }
  .fair-body .fair-detail img {
    width: 70% !important;
  }
}
