html {
    scroll-behavior: smooth;
} 

body {
  max-width: 800px;
  margin: auto;
  text-align: center;
}
/* Transición de opacidad para todas las páginas al cargar */
body {
  opacity: 0;              /* Empieza invisible */
  transition: opacity 0.5s ease-in-out;
}

body.visible {
  opacity: 1;              /* Cuando se le pone esta clase, se vuelve visible */
}

.ad {
  width: 100%;
  padding: 0;
}

#citys {
  margin-top: 10px;
}

#citys input {
  width: 80%;
}

#citys .city {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.city button {
  width: 200px;
  padding: 8px 30px;
  margin: 2px;
  border: none;
  border-radius: 5px;
}
.city {
    min-height: 450px; /* o el alto que quieras mantener para que no se encoja */
    transition: all 0.3s ease; /* si quieres que sea más suave la animación */
}
.filtro {
  display: none;
}

#splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  animation: fadein 1s ease, fadeout 1s ease 2s;
  animation-fill-mode: forwards;
}


@keyframes fadeout {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.ad video {
  width: 100%;
  display: block;
}

.ad img {
  width: 100%;
  display: block;
}

.mapa {
  max-width: 800px;
  height: 500px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.mapa iframe {
  width: 100%;
  height: 500px;
  border-radius: 35px;
}

.promotions {
  max-width: 800px;
}

.promotions img {
  width: 100%;
}
#splash {
  width: 100%;
}

#splash img {
  width: 100%;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Siempre 3 columnas */
  gap: 16px;
  max-width: 1000px;
  margin: auto;
  padding: 16px;
}

.image-grid a img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

/* Contenedor con scroll interno */
.city-box {
  max-height: 300px; /* Ajusta la altura del cuadro */
  overflow-y: scroll; 
  overflow-x: hidden;
  padding-right: 10px; /* espacio por si hay scrollbar invisible */
}

/* Ocultar scrollbar en Chrome, Safari y Opera */
.city-box::-webkit-scrollbar {
  display: none;
}

/* Ocultar scrollbar en IE, Edge y Firefox */
.city-box {
  -ms-overflow-style: none;  /* IE y Edge */
  scrollbar-width: none;     /* Firefox */
}

