@charset "UTF-8";
html {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "PingFang TC", "Heiti TC", 微軟正黑體, sans-serif;
    font-size: clamp(1.5rem, 5vw, 2.5rem); /* Ajusta automáticamente según el ancho */
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-y: auto;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

h2, h3 {
    text-shadow: 10px 10px 10px black;
    font-size: clamp(1.5rem, 5vw, 2.5rem); /* Ajusta automáticamente según el ancho */    
}

h2 {
  font-family: 'Fredoka One', sans-serif; /* Para Sonic */
}

.split__layer--left h2 {
  font-family: 'Pacifico', cursive; /* Estilo mágico para unicornios */
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.container {
  width: 100vw;
  min-height: 100vh; /* Cambiado de 55vw a 100vh */
  overflow: hidden;
}

.split {
  position: relative;
}

.split__layer {
  position: absolute;
  width: 100vw;
  min-height: 100vh; /* Cambiado de 55vw a 100vh */
  overflow: hidden;
}

.split__layer--right {
/*  background-color: #252627; */
  z-index: 1;
  background-image: url('./otto.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; 
}

.split__layer--left {
  width: 50vw;
/*  background-color: #E7FEE4; */
  z-index: 2;
  background-image: url('./venu.jpg');
  background-size: cover; /* O 'contain' si quieres ajustar la imagen */
  background-position: center;
  background-attachment: fixed;
  margin-left: 0; 
}
.skew .split__layer--left {
  transform: skew(-30deg);
  margin-left: -1000px;
  width: calc(50vw + 1000px);
}
.reset .split__layer--left {
  transition: all 0.5s linear;
}

.split__wrapper {
  position: absolute;
  width: 100vw;
  min-height: 100vh; /* Cambiado de 55vw a 100vh */
}
.skew .split__layer--left .split__wrapper {
  margin-left: 1000px;
  transform: skew(30deg);
}

.split__content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 25%;
  text-align: center;
}
.split__layer--left .split__content {
  left: 5%;
}
.split__layer--right .split__content {
  right: 5%;
}

.split__title {
  font-size: 1.875rem;
}
.split__layer--right .split__title {
  color: deepskyblue;
}

.split__layer--left .split__title {
  color: hotpink;
}


.split__description {
  font-size: inherit;
  line-height: 1.5;
}
.split__layer--right .split__description {
  color: #FFF;
}
.split__layer--left .split__description {
  color: #FFF;
}

.split__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35%;
}

/* Consulta de medios para pantallas más grandes */
@media (min-width: 768px) {
  .split__img {
    width: 270px; /* Tamaño fijo cuando el ancho de pantalla es mayor a 768px */
  }
}

.split__handle-bar {
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 100%;
  background-color: #EB5E55;
  z-index: 3;
}

.reset .split__handle-bar {
  transition: all 0.5s linear;
}

.content-below {
  width: 100%;
  min-height: 100vh; /* Cada sección ocupa al menos una pantalla completa */
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.content-below img {
  width: 45%; /* Las imágenes ocupan el 45% del ancho en desktop */
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Diseño responsivo para móviles */
@media (max-width: 1024px) {
  .content-below {
    flex-direction: column; /* Cambiar a diseño en columna */
    justify-content: flex-start; /* Opcional: para asegurar consistencia */
    align-items: center; /* Centrar las imágenes en columna */
    gap: 10px;
  }

  .content-below img {
    width: 90%; /* Ocupar más espacio en móvil */
    margin: 0 auto; /* Centrar las imágenes */
  }
}

.map-container {
  width: 100%; /* Ocupa todo el ancho del contenedor */
  max-width: 1200px; /* Opcional: limitar el tamaño en pantallas grandes */
  height: 450px; /* Altura fija para el mapa */
  margin: 20px auto; /* Centra el mapa horizontalmente */
  border-radius: 8px; /* Bordes redondeados opcionales */
  overflow: hidden; /* Evita que sobresalgan elementos del iframe */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para destacar */
}

.map-container iframe {
  width: 100%;
  height: 100%;
}

.event-details {
  margin: 20px auto;
  padding: 20px;
  max-width: 1024px; /* Limitar el ancho en pantallas grandes */
  text-align: center; /* Centrar el texto */
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para destacar */
  font-family: 'Fredoka One', sans-serif; /* O cualquier fuente que prefieras */
}

.event-details h2 {
  font-size: 1.8rem; /* Tamaño del título */
  color: royalblue; /* Color llamativo */
  margin-bottom: 10px;
}

.event-details p {
  font-size: 1.2rem;
  color: #333; /* Color neutro */
  line-height: 1.5;
  text-shadow: 10px 10px 10px white;
    
}

a {
  outline: none;
  text-decoration: underline;
  padding: 2px 1px 0;
}

a:link {
  color: #333;
}

a:visited {
  color: #333;
}

a:active {
  color: #333;
}

.split-layer-hint {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7); /* Fondo semitransparente */
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 1.0rem;
  z-index: 10; /* Asegura que esté sobre los demás elementos */
  opacity: 0; /* Comienza invisible */
  animation: fadeInOut 5s ease-in-out;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  20%, 80% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
}

.hint-icon {
  font-size: 2rem;
  animation: moveHand 2s infinite ease-in-out;
}

@keyframes moveHand {
  0%, 100% {
    transform: translateX(-10px);
  }
  50% {
    transform: translateX(10px);
  }
}

.countdown-container {
  text-align: center;
  background-color: #ffebcd; /* Color suave */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: 'Fredoka One', sans-serif; /* O la tipografía que prefieras */
  margin: 20px auto;
  max-width: 1024px;
}

#countdown {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #222; /* Fondo oscuro */
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 2rem;
  min-width: 80px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.time-box small {
  font-size: 0.75rem;
  margin-top: 5px;
  opacity: 0.8;
}

/* Responsive para móviles */
@media (max-width: 500px) {
  #countdown {
    flex-wrap: wrap;
  }
  .time-box {
    font-size: 1.5rem;
    min-width: 60px;
  }
}

.page-background {
  background-image:url(./fondo.jpeg); /* Color crema suave */
  background-size: cover; /* Cubre todo el fondo */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat;
  background-attachment: fixed; /* Hace que la imagen quede fija mientras el contenido se desliza */
  min-height: 100vh; /* Asegura que al menos ocupe toda la pantalla */
  width: 100%;
  position: relative; /* Permite que los elementos internos se posicionen correctamente */
  padding: 20px;
}