/* Page */
body {
  color: #000;
  background-color: #F6F4F1;
  padding-bottom: 1em;
  font-family: 'Inter', sans-serif;
  font-size: 9pt;
  margin: 0;
}

.link {
  text-decoration: none;
  color: #666;
}

.lead {
  margin-top: 1em;
  text-align: center;
  width: 100%;
}

.lead-logo img {
  display: block;
  margin: 0 auto 0.6em;
  max-width: 90%;
  height: auto;
}

.lead .subtitulo {
  font-size: 12pt;
  color: #666;
}

/* CSS Slideshow: auto crossfade */
.css-slideshow {
  position: relative;
  width: 430px;
  max-width: 90%;
  height: 280px; /* visible box height; change as desired */
  margin: 0.25em auto;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.css-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  animation: csfade 12s linear infinite;
}

/* Adjust delays per image (for 3 images here). Add more nth-child rules if you add more images.
   For N images, set animation-duration = N * displayTime (e.g., 3 * 4s = 12s) and stagger delays by displayTime. */
.css-slideshow img:nth-child(1) { animation-delay: 0s; }
.css-slideshow img:nth-child(2) { animation-delay: 4s; }
.css-slideshow img:nth-child(3) { animation-delay: 8s; }

/* keyframes: brief fade-in, hold, fade-out */
@keyframes csfade {
  0%   { opacity: 0; transform: scale(1.03); }
  6.5% { opacity: 1; transform: scale(1); }
  33%  { opacity: 1; transform: scale(1); }
  39.5%{ opacity: 0; transform: scale(0.97); }
  100% { opacity: 0; transform: scale(0.97); }
}

/* hr */
hr {
  border: 0;
  height: 1px;
  border-top: 1px solid #ddd;
  margin: 0 auto;
  margin-top: 1em;
  margin-bottom: 1em;
  width: 410px;
}

@media only screen and (max-width: 480px) {
  hr { width: 99%; }
  .css-slideshow { width: 99%; height: 200px; }
}
