header {
  position: fixed;
  width: 100%;
  background-color: #fff;
  z-index: 1000; }

#menu {
  border-bottom: 1px solid #cecece;
  max-height: 0;
  padding: 0;
  overflow: hidden;
  transition: max-height ease-out .3s; }

.menu-out {
  max-height: 500px !important;
  transition: max-height ease-in .3s; }

:root {
  --duration: 220ms;
  --ease: cubic-bezier(.2,.8,.2,1); }

.burger {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #111;
  cursor: pointer; }

.burger:focus-visible {
  outline: 2px solid #5b9cff;
  outline-offset: 2px; }

.burger__icon {
  pointer-events: none; }

/* Ensure transforms use the element's box */
.line {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease); }

/* Default (hamburger) */
.line--top {
  transform: translateY(0) rotate(0); }

.line--mid {
  opacity: 1; }

.line--bottom {
  transform: translateY(0) rotate(0); }

/* Active state -> kruis */
.burger[aria-expanded="true"] .line--top {
  transform: translateY(5px) rotate(45deg); }

.burger[aria-expanded="true"] .line--mid {
  opacity: 0; }

.burger[aria-expanded="true"] .line--bottom {
  transform: translateY(-5px) rotate(-45deg); }

/* Dropdown menu */
#navmenu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height var(--duration) var(--ease), opacity var(--duration) var(--ease); }

#navmenu[open] {
  max-height: 500px;
  /* genoeg ruimte voor alle items */
  opacity: 1; }

#navmenu ul {
  list-style: none;
  margin: 0;
  padding-right: 25px;
  background: #f2f2f2;
  border-radius: 0.5rem; }

#navmenu li {
  padding: 0.5rem 1rem; }

#navmenu a {
  color: #111;
  text-decoration: none;
  display: block;
  font-size: 1.2rem; }

#navmenu a:hover {
  color: #f00; }

/* Accessibility: prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .line, .dropdown {
    transition: none; } }
#dl img {
  height: 40px; }

@media only screen and (max-width: 990px) {
  #dl img {
    height: 40px; } }
@media only screen and (max-width: 575.88px) {
  #dl img {
    height: 32px; } }

/*# sourceMappingURL=header.css.map */
