*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  color:#333333;
}
  @font-face {
    font-family: Helvetica;
    src: url("/fonts/Helvetica Neue LT 53 Extended.ttf");
    }
    @font-face {
    font-family: Bodoni;
    src: url("/fonts/BodoniStd-Poster.otf");
    }
body{
  width: 100%;
  min-height: 100vh;
  text-align: center;
  overflow-x: hidden;
}
main{
  padding-bottom: 30px;
}
h1{
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1;
  font-size: 15vw;
  text-wrap: balance;
  font-family: Helvetica;
  padding-bottom: 20px;
}
h2{
  padding-top: 20px;
  font-family: Helvetica;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1;
  text-wrap: balance;
  font-size: 10vw;
}
a{
  text-decoration: none;
  font-family: Helvetica;
  text-transform: uppercase;
  color: #333333;
}
header {
  background-color: white;
  padding-top: 20px;
  padding-bottom: 10px;
}
nav {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: relative;
  color:#333333;
}
nav button{
  font-family: Bodoni;
  border: 1px solid transparent;
  color:#333333;
  text-transform: uppercase;
  letter-spacing:1px;
  background-color: white;
  padding: 5px 15px;
}
nav button:hover{
  border: 1px solid white;
  color:#333333;
  border-radius: 20px;
}
.nav-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  justify-content: center;
  align-items: center;
  font-family: Helvetica;
  gap: 0.4rem;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  padding: 15px 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.nav-links.active{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-links a {
  color: #333333;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border: none; 
  padding: 0.2rem 0;
}
.nav-links a:hover {
  color: lightgrey;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  color: #333333;
  border: 1px, thin #333333;
  border-style: dashed;
  border-left: none;
  border-right: none;
  background-color: white;
  padding: 0.75rem 0;
  margin-top: 10px;
  margin-bottom: 20px;
}
.marquee-content {
  display: inline-flex;
  animation: marquee-scroll 15s linear infinite;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.marquee-content span {
  padding: 0 0.5rem;
}
.btn {
  display: inline-block;
  background-color: transparent;
  color: #333333;
  letter-spacing: 1px;
  border: 1px solid #333333;
  text-transform: uppercase;
  padding: 12px;
  margin-top: 15px;
  transition: all 0.3s ease;
}
.btn:hover {
  color: whitesmoke;
  background-color: #333333;
  border-radius:50px;
  letter-spacing: 2px;
}
.contador-container {
  width: 100%;
  max-width: 450px;
  margin: 2rem auto;
  padding: 0 1rem;
  flex-wrap: wrap;
}
.reloj-grid {
  font-family: Bodoni;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.tiempo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  min-width: 0;
}
.tiempo span {
  display: block;
  font-size: clamp(2.2rem, 8vw + 1rem, 5rem);
  font-weight: bold;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.tiempo p {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}
.contador-info p{
  font-family: Helvetica;
  letter-spacing: 2px;
}
/* SECCION INFO */
.info{
justify-content: center;
padding-left: 50px;
padding-right: 50px;
margin-top: 50px;
margin-bottom: 2.5rem;
letter-spacing: 1px;
gap: 2px;
/* background-color: #FFFFF0; */
}
.info h3{
  font-family: Helvetica;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.info h5{
  font-family: Helvetica;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.info p {
  font-family: Helvetica;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.icon{
  padding-top: 30px;
  width: clamp(1.5rem, 10vw, 3.5rem);
  height: auto;
}
.galeria {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  overflow: hidden;
}
.galeria-track {
  display: flex;
  width: 300%;
  animation: carrusel 9s infinite ease-in-out;
}
.galeria-track img {
  width: 33.4%;
  height: auto;
  object-fit: cover;
}
@media (min-width: 768px) {
  .reloj-grid {
    gap: 3rem;
  }
  .contador-container {
    max-width: 1080px;
  }
}
@keyframes carrusel {
  0%, 28% {
    transform: translateX(0);
  }
  33%, 61% {
    transform: translateX(-33.333%);
  }
  66%, 94% {
    transform: translateX(-66.666%);
  }
  100% {
    transform: translateX(0);
  }
}
.itinerario{
  display: block;
}
.info h4{
  margin-bottom: 15px;
  gap: 1rem;
  letter-spacing: 2px;
}
.asistencia iframe{
  width: 100%;
  height: 700px;
  border: none;
}
.form {
  display: block;
  width: 80%;
  margin: 0 auto;
}
@media (max-width: 1000px) {
  .form {
    width: 100%;
  }
}
footer{
  margin-top: 20px;
  padding: 30px;
  background-color: #333333;
  color: whitesmoke;
  display: block;
  justify-content: center;
}
footer p{
  font-family: Helvetica;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
}
footer a{
  color: whitesmoke;
}
footer a:hover{
  color: grey;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .galeria {
    grid-template-columns: repeat(1, 1fr);
  }
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* -50% porque el contenido está duplicado */
}
@media (min-width: 768px) {
  .galeria {
    max-width: 100%;
  }

  .galeria-track {
    width: 100%;
    animation: none;
  }

  .galeria-track img {
    width: 33.333%;
  }
}