/**
* Theme Name: Wavo Child
* Description: This is a child theme of Wavo, generated by Merlin WP.
* Author: <a href="http://ninetheme.com/about">Ninetheme</a>
* Template: wavo
* Version: 2.3.9
*/

.noise-overlay {
    position: fixed;
    top: -50px;
    left: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    /* SVG ottimizzato per risaltare sullo scuro */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    
    /* TRUCCO PER SITI SCURI: */
    filter: contrast(150%) brightness(1000%) invert(1); 
    mix-blend-mode: darken; /* Fa passare solo la luce, ideale per il nero */
    
    opacity: 0; /* Mantienilo basso, altrimenti sembra nebbia */
    z-index: 9999;
    pointer-events: none;
    will-change: transform;
    animation: noise-motion 0.2s steps(2) infinite;
}

@keyframes noise-motion {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-1%, -2%); }
    20% { transform: translate(-3%, 1%); }
    30% { transform: translate(2%, -3%); }
    40% { transform: translate(-2%, 2%); }
    50% { transform: translate(-1%, -4%); }
    60% { transform: translate(3%, 1%); }
    70% { transform: translate(1%, 3%); }
    80% { transform: translate(-2%, 0); }
    90% { transform: translate(2%, 1%); }
    100% { transform: translate(0, 0); }
}


