html,
body {
  margin: 0;
  padding: 0;
  font-family: futura-pt, sans-serif;
  flex-direction: column;
  justify-content: center;
}

html,
body,
div {
  display: flex;
}

a {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

a.active {
  color: #000;
}

#header {
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

#social a {
  margin-left: 8px;
}

#social img {
  width: 24px;
}

#header,
#contact,
#gear {
  align-self: center;
  box-sizing: border-box;
  max-width: 1100px;
  width: 100%;
  padding: 32px;
}

.logo {
  display: inline-block;
}

.logo>a {
  font-weight: 700;
  font-size: 32px;
}

.logo-subtitle {
  color: #aaa;
}

.nav a {
  margin-left: 32px;
}

.menu {
  align-self: stretch;
  background-color: #f3f3f3;
  cursor: pointer;
  display: none;
  justify-content: center;
  margin-bottom: 16px;
  padding: 16px;
}

#content {
  flex-direction: column;
}

#gallery {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  row-gap: 6px;
  justify-content: center;
  align-items: center;
}

#gallery picture,
#gallery img {
  flex: 1 0 27%;
  width: 100%;
  max-width: 1024px;
}

#contact>img {
  width: auto;
  height: 330px;
  margin-right: 24px;
}

#contact>div {
  flex-direction: column;
}

#gear {
  flex-wrap: wrap;
  max-width: 1600px;
}

#gear .card {
  align-items: center;
  flex-direction: column;
  margin: 0 24px 24px;
  width: 300px;
}

#gear .card img {
  width: 284px;
  margin-bottom: 8px;
}

@media (max-width: 1024px) {

  #gallery picture,
  #gallery img {
    flex: 1 0 45%;
  }
}

@media (max-width: 768px) {

  html,
  body {
    justify-content: start;
  }

  #header {
    flex-direction: column-reverse;
    padding: 0 0 20px;
  }

  .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav {
    align-items: center;
    align-self: stretch;
    flex-direction: column;
    margin-top: -164px;
    transition: margin-top 200ms;
  }

  .nav.expanded {
    margin-top: 0;
  }

  .nav a:first-child {
    margin: 16px 0 16px;
  }

  .nav>a {
    margin: 0 0 16px;
  }

  .menu {
    display: flex;
  }

  #gallery picture,
  #gallery img {
    flex: 1 0 93%;
  }

  #contact {
    flex-wrap: wrap;
    justify-content: center;
  }

  #contact>img {
    margin: 0;
  }

  #gear {
    justify-content: center;
  }

  #gear .card {
    align-items: center;
    flex-direction: column;
    margin: 0 8px 8px;
    width: 300px;
  }
}

@font-face {
  font-family: futura-pt;
  src: url(https://use.typekit.net/af/ae4f6c/000000000000000000010096/27/l?subset_id=2&fvd=n3&v=3) format("woff2"), url(https://use.typekit.net/af/ae4f6c/000000000000000000010096/27/d?subset_id=2&fvd=n3&v=3) format("woff"), url(https://use.typekit.net/af/ae4f6c/000000000000000000010096/27/a?subset_id=2&fvd=n3&v=3) format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: futura-pt;
  src: url(https://use.typekit.net/af/9b05f3/000000000000000000013365/27/l?subset_id=2&fvd=n4&v=3) format("woff2"), url(https://use.typekit.net/af/9b05f3/000000000000000000013365/27/d?subset_id=2&fvd=n4&v=3) format("woff"), url(https://use.typekit.net/af/9b05f3/000000000000000000013365/27/a?subset_id=2&fvd=n4&v=3) format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: futura-pt;
  src: url(https://use.typekit.net/af/2cd6bf/00000000000000000001008f/27/l?subset_id=2&fvd=n5&v=3) format("woff2"), url(https://use.typekit.net/af/2cd6bf/00000000000000000001008f/27/d?subset_id=2&fvd=n5&v=3) format("woff"), url(https://use.typekit.net/af/2cd6bf/00000000000000000001008f/27/a?subset_id=2&fvd=n5&v=3) format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: futura-pt;
  src: url(https://use.typekit.net/af/309dfe/000000000000000000010091/27/l?subset_id=2&fvd=n7&v=3) format("woff2"), url(https://use.typekit.net/af/309dfe/000000000000000000010091/27/d?subset_id=2&fvd=n7&v=3) format("woff"), url(https://use.typekit.net/af/309dfe/000000000000000000010091/27/a?subset_id=2&fvd=n7&v=3) format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: futura-pt;
  src: url(https://use.typekit.net/af/0c71d1/000000000000000000010097/27/l?subset_id=2&fvd=n8&v=3) format("woff2"), url(https://use.typekit.net/af/0c71d1/000000000000000000010097/27/d?subset_id=2&fvd=n8&v=3) format("woff"), url(https://use.typekit.net/af/0c71d1/000000000000000000010097/27/a?subset_id=2&fvd=n8&v=3) format("opentype");
  font-weight: 800;
  font-style: normal;
}