body > .allcontain:first-of-type {
  view-transition-name: funlab-header;
}

::view-transition {
  pointer-events: none;
}

::view-transition-group(root) {
  animation-duration: 220ms;
  animation-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

/* Keep the masthead steady while the page content fades. */
::view-transition-group(funlab-header),
::view-transition-new(funlab-header) {
  animation: none;
}

::view-transition-old(funlab-header) {
  display: none;
}
