/* Behaviour and accessibility fixes for the framework-free static build. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

@media (width <= 900px) {
  .nav .menu {
    display: block;
    cursor: pointer;
    padding: 10px;
  }

  .nav:not(.is-menu-open) nav {
    display: none;
  }

  .nav.is-menu-open nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    order: 3;
    width: 100%;
    padding: 12px 0 18px;
    overflow: visible;
    white-space: normal;
  }

  .nav.is-menu-open nav a {
    padding: 8px 0;
  }
}

@media (width > 900px) {
  .nav .menu {
    display: none;
  }
}
