body {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
}
h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
}
.container {
  max-width: 1024px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
}
header {
  background: #f5f5f5;
  padding: 20px 0;
}
header .container {
  display: flex;
  justify-content: space-between;
}
.home-link img {
  width: 60px;
  height: auto;
}

/* main menu */
.main-menu ul {
  display: flex;
  justify-content: flex-end;
  list-style: none;
}
.main-menu li {
  padding: 0 20px;
}
.main-menu a {
  text-decoration: none;
}
.main-menu a:hover {
  text-decoration: underline;
}
/* active nav links */
.home .home,
.other-page .other-page {
  color: #ccc;
  pointer-events: none;
  cursor: default;
}

main {
  padding: 50px 0;
}
img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 500px;
}
img[src$='#full-width'] { 
  max-width: 100%;
}
footer {
  background: #444;
  padding: 20px;
  color: #fff;
  margin-top: auto;
}

.gitter-invite {
  text-decoration: none;
  margin-top: 50px;
  display: block;
}
.gitter-invite p {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #f8f8f8;
}


.gitter-invite img {
  width: 40px;
  display: inline-block;
  margin: 0 10px;
}