/* Divi Page Fade: page content only. The fixed header is not animated. */
@media (prefers-reduced-motion: no-preference) {
  html:not(.et-fb) #et-main-area {
    animation: divi-page-fade-in 500ms ease-out both;
  }

  html.divi-page-fade-leaving #et-main-area {
    animation: divi-page-fade-out 300ms ease-in forwards !important;
    pointer-events: none;
  }

  @keyframes divi-page-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes divi-page-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
  }
}

/* Visible behind fading page content, without changing gallery/lightbox styles. */
html, body { background-color: #0a1018; }
