/* ===== Mobile first ===== */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.5;
  background-color: #f0f0d8;
}

* {
  box-sizing: border-box;
  border-radius: 9px;

img {
  max-width: 100%;
  height: auto;
}

.site-header,
main,
.site-footer {
  padding: 1rem;
  text-align: center;
}

/* Navigation */
.navbar {
  background: #003366;
}

.menu-toggle {
  width: 100%;
  padding: 1rem;
  background: #003366;
  color: #fff;
  border: none;
  font-size: 1.1rem;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
}

.nav-list.open {
  display: block;
}

.nav-list li a {
  display: block;
  padding: 0.75rem;
  color: #fff;
  text-decoration: none;
  border-top: 1px solid #335588;
}

/* Buttons / links */
.button {
  display: block;
  margin: 0.5rem auto;
  padding: 0.75rem;
  background: #0059b3;
  color: #fff;
  text-decoration: none;
  max-width: 320px;
}

/* ===== Tablet & up ===== */
@media (min-width: 768px) {

  .menu-toggle {
    display: none;
  }

  .nav-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-list li a {
    border: none;
  }

  .links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .button {
    margin: 0.25rem;
  }
}

