@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');
/*Reinicia los estilos por defecto del navegador*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

@view-transition {
    navigation: auto; /* enabled! */
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
}

body {
    height: 100%;
    max-width: 2560px !important;
    width: 100%;
    margin: 0 auto;
    font-size: 17px;
    font-family: 'Poppins','Open Sans', sans-serif;
    overflow-x: hidden;
}

#page-wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*Clase para el logo en el navbar*/
.picturename{
    height: 60px;
    width: auto;
}

@media screen and (max-width: 600px) {
    .picturename{
        height: 45px;
        width: auto;
    }
}

/* =========================================================
   FIX PARALLAX iOS (Safari iPhone/iPad)
   - iOS ignora background-attachment: fixed
   - Simulamos movimiento con background-position + --parallaxY
   ========================================================= */

.separador{
  /* Estado base (desktop/Android/otros): se mantiene fixed */
  background-position: center center !important;
}

/* iOS / iPadOS / Safari con motor WebKit (incluye iPadOS) */
@supports (-webkit-touch-callout: none) {
  .separador{
    /* Desactiva fixed (iOS no lo respeta bien) */
    background-attachment: scroll !important;

    /* Movimiento simulado (lo actualiza el JS) */
    background-position: center calc(50% + var(--parallaxY, 0px)) !important;

    /* Mejor rendimiento en scroll */
    will-change: background-position;
  }
}
