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

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
}

/* end: textchange */

.box {
  box-shadow: -.4rem .4rem 0 black;
  border-color: black;
  border-width: 0.15rem;
}

.brand {
  max-width: 140px;
}

.text-shadow {
  text-shadow: 2px 2px 2px rgb(0 0 0 / 25%);
}

.modal .container {
  width: 100%;
  max-width: 400px;
}

/* marquee */
.marquee {
  width: 100%;
  overflow: hidden;
  /* background-color: #f2f2f2; */
  display: flex;
  align-items: center;
  position: relative;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 15%, rgb(0, 0, 0) 85%, rgba(0, 0, 0, 0) 100%);
}

.marquee-content {
  display: flex;
  animation: marquee 25s linear infinite; /* Infinite animation */
  animation-play-state: running; /* Default running state */
}

.marquee:hover .marquee-content {
  animation-play-state: paused; /* Pause the animation on hover */
}

.marquee-item {
  filter: contrast(0%) brightness(1);
  flex-shrink: 0;
  width: 200px; /* Set your desired width */
  height: 150px;
  /* background-color: #ccc; */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 15px;
  font-size: 20px;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.marquee:hover .marquee-item {
  filter: contrast(0%) blur(4px);
  transform: scale(0.9);
}

.marquee .marquee-item:hover {
  filter: contrast(0%) brightness(2);
  transform: scale(1.2);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* end: marquee */
