.category-selector-main {
  background-color: #f9f9f9;
}

.cat-text {
  max-width: fit-content;
  margin-left: 3rem;
  font-size: 2rem;
  font-weight: 600;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 2rem;
  text-transform: uppercase;
  position: relative;
  animation: glow 2s ease-in-out infinite, slideIn 5s ease-in-out infinite;
}

@keyframes glow {
  0% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
      0 0 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.5);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 1),
      0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
  }
  100% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
      0 0 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.5);
    transform: scale(1);
  }
}

@keyframes slideIn {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  50% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}

.category-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  height: 50vh;
  flex-wrap: wrap;
}

.cat-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 30%;
  height: 80%;
  margin: 1rem;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  font-size: 5rem;
  font-weight: 700;
  font-family: "gemunu", sans-serif;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6), -2px -2px 4px rgba(0, 0, 0, 0.6),
    2px -2px 4px rgba(0, 0, 0, 0.6), -2px 2px 4px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cat-box:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.cat-box a {
  text-decoration: none;
  color: inherit;
}

.category-selector-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.0001);
}

.mens-category {
  background-image: url("/assets/men-cat.webp");
}

.womens-category {
  background-image: url("/assets/women-cat.webp");
}

.kids-category {
  background-image: url("/assets/kids-cat.jpg");
}

@media (max-width: 1024px) {
  .cat-box {
    width: 45%;
    height: 60%;
  }
}

@media (max-width: 768px) {
  .cat-box {
    width: 80%;
    height: 40vh;
    margin: 1rem 0;
  }
}

@media (max-width: 480px) {
  .category-selector {
    flex-direction: column;
    height: auto;
  }

  .cat-box {
    width: 80%;
    margin: 1rem 0;
    height: 40vh;
  }
}
