@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400&display=swap');

body {
  font-family: Lato, sans-serif;
  font-size: 1rem;
  line-height: 1;
  margin: 0;
  padding: 0;
}
.wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
.container {
  max-width: 82em;
  padding: 0 1em;
  width: 100%;
}
.main {
  padding-top: 1em;
}
.page {
  align-items: center;
  display: flex;
  flex-direction: column;
}
.header {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}
.h1 {
  font-size: 1.6rem;
  line-height: 1.4;
}
.h2 {
  font-size: 1.3rem;
  line-height: 1.2;
}
.h3 {
  color: rgba(66,66,66,1);
  font-size: 1.2rem;
  line-height: 1.2;
  text-decoration: underline;
}

.content {
  color: rgba(33,33,33,1);
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1em;
  max-width: 58em;
  text-align: center;
}
.section {
  display: flex;
  justify-content: center;
}

.images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.images .image {
  margin: 0 2em 2em;
  width: 40%;
}
.images .image img {
  max-width: 100%;
}
.images .image span {
  font-size: 1rem;
}

.footer {
  background: rgba(156,139,123,1);
  color: white;
  margin: auto 0 0;
  padding: 1em;
  text-align: center;
}

/* Navigation */
.navbar {
  background: rgba(33,33,33,1);
  position: relative;
  z-index: 6;
}
.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.nav-logo {
  display: block;
  margin: .5em 0;
  max-height: 3em;
}
.nav-items {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item {
  margin: 0 0 0 1em;
  padding: 0;
}
.nav-link {
  color: white;
  font-weight: 300;
  text-decoration: none;
}
.nav-link:hover {
  color: rgba(73,170,212,1);
}

/* Hide toggle button on desktop */
.nav-toggle {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: none;
  font-size: 3rem;
  position: relative;
  right: -.225em;
  top: -.1em;
  z-index: 9;
}
.nav-toggle::before {
  content: "☰";
  display: inline-block;
}

/* Mobile styles (desktop first) */
@media (max-width: 840px) {
  .nav-items {
    align-items: flex-end;
    background: rgba(156,139,123, .98);
    border-top: 1px solid #ccc;
    display: none;
    flex-direction: column;
    gap: 0;
    max-width: 100%;
    right: 0;
    position: absolute;
    top: 0;
    width: 7em;
  }
  .nav-items.nav-items--open {
    box-shadow: -4px 6px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    font-size: 1.5em;
    padding: 4rem 1rem 1.25rem;
    z-index: 7;
  }
  .nav-items.nav-items--open .nav-item {
    margin-bottom: .75em;
  }
  .nav-items.nav-items--open .nav-item:last-child {
    margin-bottom: 0;
  }
  .nav-item {
    margin: 0;
  }
  .nav-link {
    white-space: nowrap;
  }
  .nav-link:hover {
    color: rgba(33,33,33,1);
  }

  .nav-toggle {
    display: block;
  }
  .nav-toggle.nav-toggle--open {
    right: -5px;
    top: -3px;
  }
  .nav-toggle.nav-toggle--open::before {
    content: "✕";
    font-size: 2.5rem;
  }

  .images .image {
    width: 80%;
  }
}

@media (max-width: 600px) {
  .images .image {
    width: 100%;
  }
}