@font-face {
  font-family: 'Poppins';
  src: url(../assets/fonts/Poppins-Regular.ttf);
  font-weight: regular;
}

@font-face {
  font-family: 'Poppins';
  src: url(../assets/fonts/Poppins-Bold.ttf);
  font-weight: bold;
}
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  body {
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: regular;
  }

  h1{
    font-family:  "Poppins";
    font-weight: bold;
  }
}

.bg-shape-orange{
    background: url('../assets/img/bg-orange.svg');
    background-size: cover;
}

/* counter */
.counter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 150px;
  padding: 5px;
  background-color: #f8f8f8;
  border: 2px solid #ddd;
  border-radius: 10px;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.counter-btn {
  /* background-color: #007bff; */
  color: #000;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.counter-btn:hover {
  background-color: #BF5701;
  color: #fff;
}

.counter-value {
  font-size: 18px;
  font-weight: regular;
  text-align: center;
  color: #333;
}



/* button animation */
.glow-on-hover {
  width: 180px;
  height: 50px;
  border: none;
  outline: none;
  color: #fff;
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
}

.glow-on-hover:before {
  content: '';
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 1; /* Mantener siempre visible */
  border-radius: 10px;
}

.glow-on-hover:active {
  color: #000;
}

.glow-on-hover:active:after {
  background: transparent;
}

.glow-on-hover:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #111;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}


/* Carousel */
.items {
  position: relative; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  user-select: none;
  overflow: visible; 
}

.items .item {
  background-color: #FFFFFF;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 325px;
  border-radius: 10px;
  transition: all 300ms ease-in-out;
  z-index: 0; 
  opacity: 0;
}

.item.active {
  opacity: 1;
  z-index: 0; 
  box-shadow: 0px 0px 105px -35px rgba(0, 0, 0, 0.75);
}

.item.prev,
.item.next {
  z-index: 1; 
  opacity: 0.25;
}

.item.prev {
  transform: translate(-170%, -50%);
}

.item.next {
  transform: translate(70%, -50%);
}

.items .button-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  z-index: 100;
}

.top-overflow{
  position: absolute;
  top: -140px; 
  left: 50%;
  transform: translateX(-50%);
}

.button-container .button {
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  position: relative;
  opacity: 0.75;
  transition: all 300ms ease-in-out;
}

.button-container .button:hover {
  opacity: 1;
}

.button-container .button:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 1);
  border-radius: 50%;
  z-index: -99;
}

.button-container .button:nth-child(1) {
  float: left;
}

.button-container .button:nth-child(2) {
  float: right;
}


