/* imports Inter font family. */
@import url('https://rsms.me/inter/inter.css');

html, body {
  /* Inter font family by default. */
  font-family: Inter, Helvetica, sans-serif;
  font-style: normal;
  color: #404245;
  margin: 0;
}
@media screen and (min-width: 1199px) {
  body {
    margin-left: 10rem;
  }
}

.container {
  max-width: 800px;
  /* TODO: mobile environment should need a smaller margin.  */
  margin-left: 10rem;
}

@media screen and (max-width: 959px) {
  .container {
    margin-left: 2.5rem;
    margin-right: 2rem;
  }
}



.title {
  margin: 8rem 0;
  font-weight: 300;
  font-size: 3.75rem;
}
@media screen and (max-width: 959px) {
  .title {
    font-size: 2.5rem;
  }
}
.title.with-subtitle {
  margin-bottom: 0;
}

.subtitle {
  margin-bottom: 3rem;
  font-weight: 300;
  font-size: 3.75rem;
}
@media screen and (max-width: 959px) {
  .subtitle {
    font-size: 2.5rem;
  }
}

.chapter-title {
  margin: 4rem 0;
  font-weight: 600;
}
@media screen and (max-width: 959px) {
  .chapter-title {
    margin-bottom: 3rem;
  }
}

.section-title {
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  font-weight: normal;
  color: #8E949E;
}

.introduction {
  margin: 10rem 0;
  font-size: 2rem;
  margin-right: 10rem;
}
@media screen and (max-width: 959px) {
  .introduction {
    font-size: 1.5rem;
    margin-top: 5rem;
    margin-right: 0;
  }
}
@media screen and (min-width: 1199px) {
  .introduction {
    margin-right: 4rem;
  }
}

.chapter {
  margin-top: 10rem;
  font-size: 1.5rem;
}
@media screen and (max-width: 959px) {
  .chapter {
    font-size: 1.2rem;
    margin-top: 6rem;
  }
}
.chapter p {
  margin: 1.5em 0;
  margin-right: 8rem;
  line-height: 1.65em;
}
@media screen and (max-width: 959px) {
  .chapter p {
    margin-right: 4rem;
  }
}
@media screen and (min-width: 1199px) {
  .chapter p {
    margin-right: 3rem;
  }
}

.emphasized {
  font-weight: 600;
}
p.emphasized {
  margin-top: 2.0em;
  margin-bottom: 3.0em;
}

p.details {
  font-size: 1.1rem;
}

.footer {
  display: flex;
  margin: 10rem 0;
  font-size: 1.1rem;
}

.footer-link {
  margin-right: 3rem;
}
.footer-link:last-of-type {
  margin-right: 0;
}

.outside-link {
  color: #8E949E;
  text-decoration: none;
}
.outside-link:hover {
  transition-duration: 0.5s;
  border-bottom: 2px solid #8E949E;
}

.outside-link.inline {
  color: #404245;
}

.internal-link,
.outside-link.underlined {
  color: #404245;
  text-decoration: underline;
}
.internal-link:hover,
.outside-link.inline:hover,
.outside-link.underlined:hover {
  border-bottom: none;
}

.link-to-overview {
  color: #333333;
  text-decoration: none;
}
.link-to-overview:hover {
}
.link-to-overview::before {
  content: '⟵';
  /* content: '\21E7'; */
  padding-right: 0.5em;
}
.link-to-overview:hover::before {
  content: '🡐';
  /* content: '\2B06'; */
}

.project-heading {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 959px) {
  .project-heading {
    flex-wrap: wrap;
  }
}
a.project-heading {
  color: #404245;
  text-decoration: none;
}

.project-heading .project-tag {
  width: 12em;
  flex-shrink: 0;
  margin: 0 0;
  font-size: 0.8rem;
}
@media screen and (max-width: 600px) {
  .project-heading .project-tag {
    flex-shrink: 1;
  }
  .project-tag {
    display: none;
  }
}

.project-heading .project-title {
  margin: 0 0;
}

.project-tag span {
  display: inline-block;
  margin: 0 0;
  padding: 0.4em 1.2em;
  line-height: normal;
  font-family: 'IBM Plex Mono', monospace;
  font-style: normal;
  color: #FFFFFF;
  background: #BDBDBD;
  border-radius: 1.0em;
}

.project-heading.is-active .project-tag-tool,
.project-heading:hover .project-tag-tool {
  background: #CADA08;
}
.project-heading.is-active .project-tag-announcement,
.project-heading:hover .project-tag-announcement {
  background: #FF2E60;
}
.project-heading.is-active .project-tag-article,
.project-heading:hover .project-tag-article {
  /* TBD */
  background: #2E5AFF;
}
