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

@font-face {
  font-family: "cambria";
  src: url("./fonts/UncialAntiqua-Regular.ttf");
}

@font-face {
  font-family: "roboto-regular";
  src: url("./fonts//Roboto-Regular.ttf");
}

@font-face {
  font-family: "roboto-medium";
  src: url("./fonts//Roboto-Medium.ttf");
}

@font-face {
  font-family: "roboto-Bold";
  src: url("./fonts//Roboto-Bold.ttf");
}

@font-face {
  font-family: "roboto-light";
  src: url("./fonts/Roboto-Light.ttf");
}

@font-face {
  font-family: "cinzel decorative";
  src: url("./fonts/CinzelDecorative-Regular.ttf");
}

:root {
  --font-cambria: cambria, serif;
  --font-roboto-regular: roboto-regular, sans-serif;
  --font-roboto-light: roboto-light, sans-serif;
  --font-cinzel-decorative: cinzel decorative, serif;
}

.swiper {
  width: 90%;
  height: 90%;
  z-index: 9999;
}

@media (max-width: 768px) {
  .swiper {
    width: 100%;
    height: 90%;
  }
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: transparent;
  color: aliceblue;
  display: flex;
  justify-content: center;
  align-items: center;
}
.text-shadow-sm {
  text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.3);
}

.text-shadow-xl {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.card-effect {
  position: relative;
  cursor: pointer;
  background: #000;
  border-radius: 8px;
  overflow: hidden; /* Ensure the glow doesn't overflow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-effect::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: radial-gradient(circle, rgba(0, 162, 255, 0.6), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px; /* Matches the card's rounded corners */
}

.card-effect:hover::before {
  opacity: 1; /* Show glow on hover */
  box-shadow: 0 0 20px rgba(0, 162, 255, 0.6);
}

@keyframes spin-slow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse-slow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
}

.animate-spin-slow {
  animation: spin-slow 6s linear infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 2s ease-in-out infinite;
}
