@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
  /* Hide scrollbar for Chrome, Safari, and Opera */
  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }

  /* Hide scrollbar for IE, Edge, and Firefox */
  .no-scrollbar {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }

  .content-auto {
    content-visibility: auto;
  }
}

@font-face {
  font-family: "sBold";
  src: url("/fonts/productsans-bold.woff") format("woff");
  font-weight: 700;
  font-style: "bold";
}
@font-face {
  font-family: "sMedium";
  src: url("/fonts/productsans-medium.woff") format("woff");
  font-weight: 600;
  font-style: "medium";
}
@font-face {
  font-family: "sRegular";
  src: url("/fonts/productsans-regular.woff") format("woff");
  font-weight: 400;
  font-style: "normal";
}

@font-face {
  font-family: "sLight";
  src: url("/fonts/productsans-light.woff") format("woff");
  font-weight: 300;
  font-style: "normal";
}

:root {
  --foreground-rgb: 250, 250, 250;
  --background-start-rgb: 250, 250, 250;
  --background-end-rgb: 250, 250, 250;
}

body {
  color: rgb(var(--foreground-rgb));
  background: rgb(250, 250, 250);
}

.carousel {
  top: 0;
  display: flex;
}
.carousel ul {
  overflow: auto;
  display: flex;
  flex-wrap: nowrap;
  scroll-snap-type: x mandatory;
  scroll-snap-points-y: repeat(100%);
  scroll-behavior: smooth;
  background: gray;
  -ms-overflow-style: none;
  scrollbar-width: none;
  margin: 0;
  padding: 0;
}
.carousel ul::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}
.carousel ul li {
  position: relative;
  min-width: 100%;
  list-style: none;
  background: url() center center / cover no-repeat;
  scroll-snap-align: start;
}
.carousel ul li > * {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.carousel ul li > img {
  object-fit: cover;
}
.carousel ul li > div {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  font-size: 20px;
}
.carousel ol {
  position: absolute;
  bottom: 15px;
  display: flex;
  justify-content: center;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
}
.carousel ol li {
  list-style: none;
  padding: 0 5px;
}
.carousel ol li a {
  display: block;
  height: 10px;
  width: 10px;
  border: 2px solid white;
  background: transparent;
  border-radius: 100%;
}
.carousel ol li.selected a {
  background: white;
}
.carousel .prev,
.carousel .next {
  display: none;
  user-select: none;
  cursor: pointer;
  font-size: 50px;
  color: white;
  position: absolute;
  left: 0;
  padding: 15px 15px 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
  line-height: 0;
}
.carousel .next {
  left: auto;
  right: 0;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/*
* This is a no-op change to test template build triggers.
*/
