@import "reset.css";

:root {
  --body: #222222;
  --lightOrange: #f37021;
  --darkOrange: #c95812;
  --kentikOrange: #e0541f;
  --gray: #f8f8f8;
  --muted: #5c707f;
  --white: #ffffff;
  --blue: #0095c3;
  --green: #d0f7ca;
  --yellow: #fce32e;
  --magenta: #ba1e60;
  --gridSize: 8;

  --fontWeightLight: 300;
  --fontWeightRegular: 400;
  --fontWeightBold: 700;

  --font-family: "Mukta", sans-serif;
  /* --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol"; */
  --serif-font-family: Iowan Old Style, Apple Garamond, Baskerville,
    Times New Roman, Droid Serif, Times, Source Serif Pro, serif,
    Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
  --mono-font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas,
    Liberation Mono, monospace;
}

html,
body {
  height: 100%;
}

body {
  background-color: var(--gray);
  color: var(--body);
  display: flex;
  flex-direction: column;
  font-family: var(--font-family);
}

.wrapper {
  flex: 1 0 auto;
}

/* max width container used to constrain content */
.container {
  max-width: 900px;
  margin: 0px auto;
  padding: 0 24px;
}

section {
  padding: 40px;
}

section.bg-green {
  background-color: var(--green);
}

section.bg-gray {
  background-color: var(--gray);
}

section.home h1 {
  font-size: 32px;
}

section.hero {
  background: var(--white);
}

section.hero h1 {
  font-size: 50px;
  padding-top: 0px;
  line-height: 54px;
  position: relative;
  left: 20px;
  width: 460px;
  top: 0;
}

header {
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

header .container {
  width: 100%;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 24px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0px 12px;
}

nav li a {
  text-decoration: none;
  color: var(--body);
  font-weight: var(--fontWeightBold);
  font-size: 18px;
}

nav li a:after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--kentikOrange);
  transition: width 0.3s;
}

nav li a:hover::after {
  width: 100%;
}

.logo {
  width: 200px;
}

footer {
  flex-shrink: 0;
  background-color: var(--magenta);
  color: #ffffff;
  padding: 50px 0;
  margin-top: 42px;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
}

footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.copyright {
  margin-top: 42px;
}

main {
  padding-top: 32px;
}

/* articles on the listings screen have some margin */
main.listing article {
  margin-bottom: 32px;
}

article .highlight {
  font-size: 12px;
}

article .highlight pre {
  padding: 16px;
  border-radius: 4px;
  background: white !important;
  border: 1px solid #f370214a;

  /* code blocks scroll horizontally and don't wrap */
  overflow-y: auto;
}

article .meta {
  margin-bottom: 24px;
}

article.summary .meta {
  margin-bottom: 16px;
}

article .author {
  color: var(--muted);
}

article a {
  color: var(--lightOrange);
  text-decoration-color: var(--lightOrange);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.5px;
}

article a:hover {
  color: var(--darkOrange);
}

article p {
  margin-bottom: 24px;
  line-height: 25px;
}

article h1 {
  font-size: 28px;
  font-weight: var(--fontWeightRegular);
}

article h2 {
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 500;
}

article h3 {
  font-size: 20px;
}

article code {
  font-family: var(--mono-font-family);
}

article p code {
  font-size: 85%;
  padding: 2px 4px;
  border-radius: 4px;
  border: 1px solid #dadada;
}

article h3 a {
  color: var(--blue);
  text-decoration: none;
}

article h3 a:hover {
  color: var(--body);
  text-decoration-color: var(--green);
}

article time {
  color: var(--muted);
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  grid-gap: 16px;
  grid-row-gap: 8px;
}

.grid.grid-cards {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 24px;
}

.grid.grid-cards-alt {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 24px;
  width: 65%;
  margin: 0px auto 42px auto;
}

.grid.grid-footer {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: flex-start;
}

.card {
  background: #ffffff;
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

.project-card .project-description {
  flex: 1;
}

.project-card h3 a {
  color: var(--blue);
  text-decoration: none;
}

.project-card h3 a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.github-button {
  background: #ffffff;
  border: 1px solid var(--kentikOrange);
  color: var(--kentikOrange);
  font-weight: var(--fontWeightRegular);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  padding: 3px 8px;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 280px;
}

.social-link {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: center;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link svg {
  fill: var(--white);
  width: 20px;
  height: 20px;
}

.social-link:hover {
  background: var(--lightOrange);
}

.social-link svg:hover {
  fill: var(--white);
}

.network-observability-definition {
  font-size: 20px;
  font-family: var(--serif-font-family);
}

.network-observability-definition .bolder {
  font-weight: var(--fontWeightBold);
}

.network-observability-definition .n {
  font-style: italic;
  font-weight: var(--fontWeightLight);
  color: var(--muted);
}

.github-button:hover {
  background: var(--kentikOrange);
  color: #ffffff;
}

.github-logo {
  width: 24px;
  margin-right: 8px;
}

.card-icon {
  margin: 0px auto;
  width: 75px;
  margin-bottom: 16px;
}

.card h3 {
  font-weight: var(--fontWeightRegular);
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
}

/* generalized font-weight stuff */
.font-weight-light {
  font-weight: var(--fontWeightLight);
}

.mb-1 {
  margin-bottom: 8px;
}

.mb-2 {
  margin-bottom: 16px;
}

.mb-3 {
  margin-bottom: 24px;
}

.mb-4 {
  margin-bottom: 32px;
}

/* generalized color classes */
.color-lightOrange {
  color: var(--lightOrange);
}
.color-darkOrange {
  color: var(--darkOrange);
}
.color-kentikOrange {
  color: var(--kentikOrange);
}
.color-muted {
  color: var(--muted);
}
.color-green {
  color: var(--green);
}
.color-yellow {
  color: var(--yellow);
}
.color-magenta {
  color: var(--magenta);
}
.color-blue {
  color: var(--blue);
}

@media screen and (max-width: 768px) {
  section.hero h1 {
    font-size: 34px;
    line-height: 38px;
    text-align: center;
    left: 0;
    width: auto;
  }

  header .container {
    flex-direction: column;
    align-content: center;
  }

  header .logo {
    width: 130px;
    margin-bottom: 8px;
  }

  .grid.grid-cards-alt {
    width: 100%;
  }

  section {
    padding: 24px;
  }
}
