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


@font-face {
  font-family: "Subito";
  src: url("/webfonts/HurmeGeometricSans1-Regular.woff2") format("woff2"),
    url("/webfonts/HurmeGeometricSans1-Regular.woff") format("woff");
  font-weight: 400; /* Regular */
  font-style: normal;
}

@font-face {
  font-family: "Subito";
  src: url("/webfonts/HurmeGeometricSans1-Bold.woff2") format("woff2"),
    url("/webfonts/HurmeGeometricSans1-Bold.woff") format("woff");
  font-weight: 700; /* Bold */
  font-style: normal;
}

html {
  @apply font-sans;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

#app {
  height: 100%;
}

html,
body {
  height: 100%;
}

.loader {
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #fbc517;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

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

@layer utilities {
  .text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  .text-shadow-md {
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.4);
  }
  .text-shadow-lg {
    text-shadow: 6px 6px 8px rgba(0, 0, 0, 0.3);
  }
}

.bg-malla {
  background-image: url("/img/malla.webp");
  background-color: #00000060;
  z-index: 0;
}

.bg-splashart{
  background-color: #fff;
  background-image: url('/img/splashart.gif');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.video-scroll {
  background-color: #000;
}

.bg-w-p {
  background-image: url("/img/fondo_bco.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.bg-card-bienvenida{
  background-image: url("/img/fondo_qr.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.swiper {
  width: 100%;
  height: 100%;
  position: static !important;
  z-index: 11 !important;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next {
  color: #fff !important;
}

.swiper-button-prev {
  color: #fff !important;
}

@media (max-width: 640px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
}

.swiper-pagination-bullet {
  background-color: #ffdd00 !important; /* Color de los puntos */
}

/* Cambiar color del punto activo */
.swiper-pagination-bullet-active {
  background-color: #fff !important; /* Color del punto activo */
}

@media (max-width: 768px) {
  .group:hover {
    display: block;
  }
}
