@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  body {
    @apply font-space;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    @apply font-medium;
  }

  a,
  button {
    @apply cursor-pointer;
  }

  button {
    @apply focus:outline-none;
  }
}

@layer components {
  .container {
    @apply px-4 xl:px-0;
  }

  .caseStudy:not(:last-child)::before {
    background-color: #fff;
    border-radius: 20px;
    content: '';
    height: 100%;
    position: absolute;
    top: 0;
    right: 1%;
    transform: translate(1%);
    width: 2px;
  }
  @media screen and (min-width: 1280px) {
    .caseStudy:not(:last-child)::before {
      right: -23%;
      transform: translate(23%);
    }
  }
}

.sectionHeader p br {
  display: none;
}
@media screen and (min-width: 1024px) {
  .sectionHeader p br {
    display: block;
  }
}

#CaseStudies .swiper-slide {
  height: 400px !important;
}
@media screen and (min-width: 375px) {
  #CaseStudies .swiper-slide {
    height: 295px !important;
  }
}

.testimonial {
  background-image: url('/bubble_mobile.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media screen and (min-width: 768px) {
  .testimonial {
    background-image: url('/bubble.png');
    background-size: cover;
  }
}
.swiper-pagination {
  position: relative;
  z-index: 100;
  display: flex !important;
  justify-content: center;
  gap: 10px;
  bottom: 3rem !important;
}
.pagination-bullet {
  display: block;
  height: 14px;
  width: 14px;
  background-image: url('/carousel_star.svg');
  background-size: cover;
  cursor: pointer;
}
.pagination-bullet-active {
  background-image: url('/carousel_star-active.svg');
}

.arrow {
  position: absolute;
  bottom: 3rem;
  transform: translateX(-25%);
  z-index: 1;
  cursor: pointer;
}
.arrow-left {
  left: 25%;
}
.arrow-right {
  right: 25%;
}
