@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --body: #fff;
}

body,
html {
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: #e9f6df;
}

::-webkit-scrollbar-thumb {
  background-color: #43721e;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
}

.tran {
  transition: all 0.2s linear;
}

.css-box {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.mobile-menu-overlay {
  transition: all 0.4s;
  visibility: hidden;
  opacity: 0;
  background-color: #191919bf;
}

.mobile-menu-overlay.active {
  visibility: visible;
  opacity: 1;
}

.hoverme_search {
  position: relative;
  overflow: hidden;
  transition: all 0.4s linear;
}

.hoverme_search:hover {
  margin-left: 10px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.product_pdf span {
  transition: all 0.3s linear;
}

.product_pdf:hover span {
  text-decoration: underline;
}

.product_pdf:hover span svg {
  color: #791f1f;
}

.agrovita_slider .swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  left: 0px !important;

  display: flex;
  justify-content: start;
  align-items: center;
  padding: 40px 100px;
}

.agrovita_slider .swiper-pagination-bullet {
  background-color: #5c5656;
  width: 20px;
  height: 6px;
  border-radius: 5px;
}

.agrovita_slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #5d9733;
  width: 50px;
  height: 6px;
  border-radius: 5px;
}

.activemenu {
  background-color: #e9f6df;
}

.activemenu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background-color: #5d9733;
}

.sorted_shadow {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.shops_images .swiper-pagination-bullet {
  background-color: #5d9733;
  outline: 2px solid #c5cee0;
  padding: 5px;
  z-index: 100;
  width: 13px;
  height: 13px;
}

.shops_images .swiper-horizontal > .swiper-pagination-bullets,
.shops_images .swiper-pagination-bullets.swiper-pagination-horizontal {
  padding: 10px 30px;
  align-items: center;
  justify-content: center;
}

.shops_images_span::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background: #0000008a;
  width: 100%;
  height: 50px;
  z-index: 8;
}

/* .next-loader {
  width: 85px;
  height: 85px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-between;
  animation: loading-rotate 3s linear infinite;
}

.next-item {
  width: 40px;
  height: 40px;
  display: block;
  box-sizing: border-box;
}

.next-item:nth-of-type(1) {
  background-color: #60c910;
  border-radius: 20px 20px 0 20px;
  border-left: #ffffff 4px solid;
  border-top: #f7f7f7 4px solid;
}

.next-item:nth-of-type(2) {
  background-color: #5D9733;
  border-radius: 20px 20px 20px 0;
  border-right: #ffffff 4px solid;
  border-top: #f7f7f7 4px solid;
}

.next-item:nth-of-type(3) {
  background-color: rgb(0, 255, 55);
  border-radius: 20px 0 20px 20px;
  border-left: #ffffff 4px solid;
  border-bottom: #f7f7f7 4px solid;
}

.next-item:nth-of-type(4) {
  background-color: rgb(32, 182, 32);
  border-radius: 0 20px 20px 20px;
  border-right: #ffffff 4px solid;
  border-bottom: #f7f7f7 4px solid;
} */

/* @keyframes loading-rotate {
  0% {
    transform: scale(1) rotate(0);
  }

  20% {
    transform: scale(1) rotate(72deg);
  }

  40% {
    transform: scale(0.5) rotate(144deg);
  }

  60% {
    transform: scale(0.5) rotate(216deg);
  }

  80% {
    transform: scale(1) rotate(288deg);
  }

  100% {
    transform: scale(1) rotate(360deg);
  }
} */

.next-loadering .frame {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -200px;
  margin-left: -200px;
}

.next-loadering .center {
  position: absolute;
  width: 220px;
  height: 220px;
  top: 90px;
  left: 90px;
}

.next-loadering .dot-1 {
  position: absolute;
  z-index: 3;
  width: 30px;
  height: 30px;
  top: 95px;
  left: 95px;
  background: #bfeba0;
  border-radius: 50%;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: jump-jump-1 2s cubic-bezier(0.21, 0.98, 0.6, 0.99) infinite
    alternate;
  animation: jump-jump-1 2s cubic-bezier(0.21, 0.98, 0.6, 0.99) infinite
    alternate;
}

.next-loadering .dot-2 {
  position: absolute;
  z-index: 2;
  width: 60px;
  height: 60px;
  top: 80px;
  left: 80px;
  background: #8cdf52;
  border-radius: 50%;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: jump-jump-2 2s cubic-bezier(0.21, 0.98, 0.6, 0.99) infinite
    alternate;
  animation: jump-jump-2 2s cubic-bezier(0.21, 0.98, 0.6, 0.99) infinite
    alternate;
}

.next-loadering .dot-3 {
  position: absolute;
  z-index: 1;
  width: 90px;
  height: 90px;
  top: 65px;
  left: 65px;
  background: #5d9733;
  border-radius: 50%;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: jump-jump-3 2s cubic-bezier(0.21, 0.98, 0.6, 0.99) infinite
    alternate;
  animation: jump-jump-3 2s cubic-bezier(0.21, 0.98, 0.6, 0.99) infinite
    alternate;
}

.tran-1 {
  transition: all 0.5s ease;
}

.search-loader {
  display: flex;
  justify-content: center;
}

.search-loader .bar {
  width: 7px;
  height: 12px;
  margin: 0 9px;
  border-radius: 10px;
  animation: loading_5192 1s ease-in-out infinite;
  background-color: #fff;
}

.search-loader .bar:nth-child(1) {
  animation-delay: 0.01s;
}

.search-loader .bar:nth-child(2) {
  animation-delay: 0.09s;
}

.search-loader .bar:nth-child(3) {
  animation-delay: 0.19s;
}

.search-loader .bar:nth-child(4) {
  animation-delay: 0.29s;
}

@keyframes loading_5192 {
  0% {
    transform: scale(1);
  }

  20% {
    transform: scale(1, 2.5);
  }

  40% {
    transform: scale(1);
  }
}

@keyframes jump-jump-1 {
  0%,
  70% {
    box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, 0.2);
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  100% {
    box-shadow: 10px 10px 15px 0 rgba(0, 0, 0, 0.3);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes jump-jump-2 {
  0%,
  40% {
    box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, 0.2);
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  100% {
    box-shadow: 10px 10px 15px 0 rgba(0, 0, 0, 0.3);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes jump-jump-3 {
  0%,
  10% {
    box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, 0.2);
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  100% {
    box-shadow: 10px 10px 15px 0 rgba(0, 0, 0, 0.3);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.box-shadow-component {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.shadow-contact {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.homeProducts .css-1et4dee[aria-selected="true"].css-1et4dee::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 100%;
  background: #5d9733;
}

.shadow {
  background: #e9f6df;
}

.spinner {
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dot1,
.dot2,
.dot3 {
  width: 15px;
  height: 15px;
  border: double;
  border-color: white;
  border-radius: 50%;
  margin: 10px;
}

.dot1 {
  animation: jump765 1.6s -0.32s linear infinite;
  background: #5d9733;
}

.dot2 {
  animation: jump765 1.6s -0.16s linear infinite;
  background: #60c910;
}

.dot3 {
  animation: jump765 1.6s linear infinite;
  background: #70f70a;
}

.custom-anim-left {
  animation: custom-anim-left 1.3s forwards cubic-bezier(0.645, 0.045, 0.355, 1)
    0.4s;
  opacity: 0;
}

@keyframes custom-anim-left {
  0% {
    transform: translateX(-5%);
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}
.custom-anim-right {
  animation: custom-anim-right 1.3s forwards
    cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s;
  opacity: 0;
}

@keyframes custom-anim-right {
  0% {
    transform: translateX(5%);
    clip-path: inset(0 0 0 100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}
.custom-anim-top {
  animation: custom-anim-top 1.3s forwards cubic-bezier(0.645, 0.045, 0.355, 1);
  opacity: 0;
}

@keyframes custom-anim-top {
  0% {
    transform: translateY(-5%);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}
@keyframes jump765 {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  40% {
    -webkit-transform: scale(2);
    transform: scale(2);
  }
}
.shops_text a[href*="https"] {
  color: blue;
  text-decoration: underline;
}


@media screen and (max-width: 1023px) {
  .agrovita_slider .swiper-pagination-fraction,
  .agrovita_slider.swiper-pagination-custom,
  .agrovita_slider .swiper-horizontal > .swiper-pagination-bullets,
  .agrovita_slider .swiper-pagination-bullets.swiper-pagination-horizontal {
    left: 50% !important;
    transform: translate(-18%, 50%) !important;
  }
}

@media screen and (max-width: 767px) {
  .agrovita_slider .swiper-pagination-fraction,
  .agrovita_slider.swiper-pagination-custom,
  .agrovita_slider
    .swiper-horizontal
    > .agrovita_slider.swiper-pagination-bullets,
  .agrovita_slider .swiper-pagination-bullets.swiper-pagination-horizontal {
    left: 30% !important;
    transform: translate(-18%, 26%) !important;
  }
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }

  .container-xl {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

  .container-xl {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }

  .container-xl {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  .container-xl {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1220px;
  }

  .container-xl {
    max-width: 1320px;
  }
}
