* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #fff50e;
  /* Cambia height por min-height para mejor compatibilidad */
  min-height: 100vh;
  /* Usa 100% en lugar de 100vw para evitar el desbordamiento lateral */
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden; /* Esto debería cortar cualquier margen extra */
  font-family: "Inter", sans-serif;
  position: relative; /* Añade esto para que sea la referencia de los hijos */
}

#static-page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  color: #000000;
  z-index: 1;

  & h1 {
    font-weight: 800;
    font-size: 6rem;
    text-transform: uppercase;
    letter-spacing: 5px;
  }

  & p {
    line-height: 1;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-top: 0.1rem;
    opacity: 0.7;
  }
}

.hero-text {
  margin-top: 5vh; /* Un poco de aire arriba */
  z-index: 5; /* Que el texto esté sobre el 3D si se cruzan */
  text-align: center;
}

#moaiShow {
  width: 100%;
  height: 60vh; /* Ajusta esto según cuánto espacio quieras que ocupe */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1; /* El 3D queda por debajo del menú si es necesario */
  /* No le pongas background-color para que se vea el amarillo de fondo */
}

#pixel-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  grid-template-columns: repeat(10, 1fr);
  z-index: 10;
}

.pixel {
  background-color: #fff50e;
  width: 100%;
  height: 100%;
  border: 0.5px solid rgba(0, 0, 0, 0.05);
}

nav {
  position: relative;
  z-index: 20;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  display: flex;
  justify-content: flex-end;

  & ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 20px;
  }

  & a {
    text-decoration: none;
    color: white;
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s ease;
    cursor: pointer;

    &:hover {
      text-decoration: underline;
    }
  }
}
