/* footer CSS */
.site-footer__nav {
  width: min(100%, 1100px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.site-footer__nav a {
  color: black;
  text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus {
  text-decoration: underline;
}

.site-footer__separator {
  color: #aaa;
}

/* align h1 (not menu related hack) */
 h1 {
      text-align: center;
    }  

/* Hamburger menu */
.site-menu {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
}

.site-menu__toggle {
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background: white;
  border: 1px solid #ccc;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.site-menu__toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #222;
  border-radius: 2px;
}

.site-menu__content {
  display: none;
  width: min(280px, calc(100vw - 24px));
  margin-top: 8px;
  padding: 14px 0;
  flex-direction: column;
  align-items: stretch;
  background: white;
  border: 1px solid #ccc;
  border-radius: 7px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.site-menu__content.open {
  display: flex;
}

.site-menu__section {
  padding: 8px 18px 5px;
  font-weight: bold;
  color: #222;
}

.site-menu__content a {
  padding: 10px 18px 10px 32px;
  color: #333;
  text-decoration: none;
}

.site-menu__content a:hover,
.site-menu__content a:focus {
  background: #f0f0f0;
}
