/* Nile Agri Source identity: header/footer logo and the first-visit splash screen. */

.brand .brand-logo {
  display: block;
  width: auto;
  height: 52px;
}
.footer-brand .brand-logo {
  height: 60px;
}
@media (max-width: 800px) {
  .brand .brand-logo { height: 42px; }
}

/* The splash plays the animated logo once per browser session (see js/splash.js).
   It ends itself with CSS, so it never blocks the page even without JavaScript. */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F7F3E8;
  animation: splash-out .5s ease-in 3.3s forwards;
}
.splash-logo {
  width: min(300px, 64vw);
  height: auto;
}
.splash.is-done {
  animation: splash-out .3s ease-in forwards;
}
html.splash-seen .splash {
  display: none;
}
@keyframes splash-out {
  to { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .splash { display: none; }
}
