/*==========================*\
||          Basics          ||
\*==========================*/

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 1em;
  line-height: 1.6;
}

a {
  color: black;
  background-color: #FFF600;
  padding: 0.2em;
  text-decoration: none;
}

/*==========================*\
||        Navigation        ||
\*==========================*/

.nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.nav-item {
  line-height: 30px;
  padding: 0;
  margin: 0;
  display: inline-block;
  width: auto;
}

.nav-icon {
  height: 30px;
  width: auto;
}

.nav-group a:not(:first-of-type) {
  margin-left: 0.3em;
}

/*==========================*\
||          Header          ||
\*==========================*/

.project-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 1.5em;
}

.header-name {
  padding: 0;
  margin: 0;
  font-weight: 300;
  font-size: 3em;
}

@media (min-width: 600px) {
  .header-name {
    font-size: 4em;
  }
}

.header-tagline {
  padding: 0;
  margin: 0;
}

.header-image {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: 3em;
  border-radius: 0.4em;
}

.header-action-button {
  padding: 0.8em 1em;
  margin-top: 3em;
}

.action-text {
  line-height: 32px;
  display: inline-block;
}

/* Download Links */

.header-download-header {
  margin: 2em 0 1em 0;
}

.header-downloads {
  list-style: none;
  display: flex;
  align-items: center;
  flex-flow: column nowrap;
}

.header-downloads li {
  margin: 0.5em 0;
}

.header-download-link {
  padding: 0.5em 1em;
}

@media (min-width: 600px) {
  .header-downloads {
    flex-flow: row nowrap;
  }
  .header-downloads li {
    margin: 0 1.4em;
  }
}

/*==========================*\
||         Body Text        ||
\*==========================*/

.project-description {
  margin: 3em auto 0 auto;
  max-width: 600px;
}

.project-description p {
  margin-bottom: 0.5em;
  text-indent: 1em;
}

/*==========================*\
||         Metadata         ||
\*==========================*/

.project-meta {
  list-style: none;
  max-width: 600px;
  margin: 2em auto;
  padding: 0;
}

.meta-item {
  margin-bottom: 1em;
}

.meta-item__list {
  list-style: none;
}

.meta-item__label {
  display: block;
  font-weight: 900;
  margin-bottom: 0.3em;
  display: inline-block;
}

.meta-item__content {
  display: block;
  margin-bottom: 0.2em;
}

@media (min-width: 600px) {
  .project-meta {
    display: flex;
  }

  .meta-item:not(:last-of-type) {
    margin-right: 2em;
  }
}

/*==========================*\
||       Code Snippets      ||
\*==========================*/

code {
	font-family: 'Fira Mono', 'Source Code Pro', 'Consolas', 'Hack', 'Menlo', monospace;
	padding: 0.1em 0.3em;
	font-size: 1em;
  border-radius: 3px;
  background-color: #eee;
}

pre {
	font-size: 15px; 
	line-height: 1.1;
	margin: 0 -30px 1em -30px;
	padding: 1em 30px;
	border-radius: 3px;
	line-height: 1.4;
	overflow-x: auto;
}

pre code {
	max-width: 720px;
	margin: 0 auto;
	background-color: transparent;
}

