html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;

  font-family: unset;
}

/* html,
body {
  overflow-x: hidden !important;
} */

h1,
h2,
h3,
h4,
.SG-font {
  font-family: "Schibsted Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

p,
a,
input,
label,
textarea,
button,
span,
summary {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.text-nav-hover: {
  color: black;
}

.text-nav-hover:hover {
  color: #a8e0a0;
  transition: all 0.3s ease-out;
}

.category-link {
  margin: -0.125px; /* Adjust this value to match the border thickness */
  border: 0.25px solid black;
}

.mx-\[2\.4rem\] {
  margin-left: 2.4rem;
  margin-right: 2.4rem;
}

.th {
  font-family: "Noto Sans Thai", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.cta.is-primary:before,
.cta.is-secondary:before {
  border-radius: 4rem;
  border: 0.4px solid black;
  content: "";
  height: 2.8rem;
  left: 0%;
  position: absolute;
  top: 50%;
  transform: translate(0%, -50%);
  transition-duration: 0.8s;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.5, 0, 0, 1);
  width: 100%;
  z-index: -1;
  background-color: white;
}

.cta.is-primary:focus-visible:before,
.cta.is-primary:hover:before,
.cta.is-secondary:focus-visible:before,
.cta.is-secondary:hover:before {
  transform: translate(0%, -50%) scale(0.95, 0.9);
}

.tab-gradient {
  background: linear-gradient(
    90deg,
    rgba(117, 211, 238, 1) 0%,
    rgba(192, 228, 187, 1) 51%,
    rgba(204, 243, 254, 1) 100%
  );
}

/* styles.css */
.scrollbar-hide {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.scrollbar-hide::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* Fade-in-up */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  /* Ensure the element is not visible until the animation is triggered */
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

#sliderWrapper::-webkit-scrollbar {
  display: none;
}
#sliderWrapper {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

@media (width >= 64rem) {
  .clip-half-circle {
    clip-path: ellipse(97% 100% at 100% 60%);
  }

  .cta.is-primary:before,
  .cta.is-secondary:before {
    height: 4rem;
  }
}
