:root {
  --navy: #292c44;
  --blue: #4f80e1;
  --bg: #f2f2f2;
  --border: #ddd;
  --text: #333;
  --muted: #777;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/lato-400.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/lato-700.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/lato-900.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-700.woff2") format("woff2");
}
@font-face {
  font-family: "Pacifico";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/pacifico-400.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Lato", "Hind Guntur", sans-serif;
  font-size: 14pt;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

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

a:hover {
  text-decoration: underline;
}

p {
  margin: 0 0 1.2em;
}

/* Header */

header {
  background-color: var(--navy);
  color: #fff;
  box-shadow: 0 0 5px #aaa;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5em;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.jumoo {
  font-size: 1.8em;
  padding: 0.5em 0 0.2em;
  margin: 0;
}

.jumoo a {
  font-family: "Pacifico", Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 400;
  color: #fff;
}

.jumoo a:hover {
  text-decoration: none;
  color: #ddd;
}

.site-nav a {
  display: inline-block;
  padding: 1.8em 1em;
  color: #fff;
  text-transform: capitalize;
  transition: background-color 0.2s ease-in-out;
}

.site-nav a:hover {
  background-color: rgba(0, 0, 0, 0.4);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.8em;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 1px;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -7px;
}

.nav-toggle-bars::after {
  top: 7px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 800px) {
  .header-inner {
    align-items: center;
  }

  .jumoo {
    padding: 0.35em 0;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-bottom: 0.5em;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9em 0.5em;
  }
}

/* Page layout */

.page {
  max-width: 1100px;
  margin: 1.5em auto;
  padding: 0 1.5em;
  display: flex;
  gap: 3em;
  align-items: flex-start;
}

main {
  flex: 1;
  min-width: 0;
}

.sidebar {
  width: 260px;
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .page {
    flex-direction: column;
  }
  main {
    width: 100%;
    min-width: 0;
  }
  .sidebar {
    width: 100%;
  }
}

/* Sidebar */

.sidebar-module {
  margin-bottom: 2em;
}

.sidebar-module h4 {
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4em;
}

.sidebar-module ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-module li {
  margin-bottom: 0.4em;
}

.tag-list li {
  display: inline-block;
  margin: 0 0.5em 0.5em 0;
}

.tag-list a::before {
  content: "#";
  color: var(--muted);
  margin-right: 0.15em;
}

.sidebar-module-list-count {
  padding-left: 5px;
  color: var(--muted);
  font-size: 0.9em;
}

.sidebar-module-list-count::before {
  content: "(";
}

.sidebar-module-list-count::after {
  content: ")";
}

/* Archive listing (home / tag / archive pages) */

.archive-year-wrap {
  border-bottom: 1px solid var(--border);
  font-size: 2em;
  margin-top: 1.5em;
}

.archive-year-wrap:first-child {
  margin-top: 0;
}

.archive-year {
  color: #337ab7;
}

.archive-year:hover {
  color: #23527c;
}

.archives {
  border-left: 4px solid #aaa;
  padding-left: 1em;
  margin: 0.5em 0 0;
}

.archive-article {
  margin: 0.8em 0;
}

.archive-article h1 {
  margin: 0;
  font-size: 1.3em;
  font-weight: 500;
}

.archive-article h1 a {
  color: #000;
}

/* Article */

.article-entry h1 {
  margin-top: 0;
  margin-bottom: 10px;
}

.article-header-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3em 1em;
  margin-bottom: 20px;
}

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

.article-tag-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0 1em;
}

.article-tag-list a::before {
  content: "#";
  color: var(--muted);
  margin-right: 0.15em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  font-weight: 400;
  margin-top: 1.5em;
  margin-bottom: 10px;
}

.article-content h2 {
  font-size: 30px;
}

.article-content h3 {
  font-size: 24px;
}

.article-content h4 {
  font-size: 18px;
}

.article-content img,
.article-content video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
}

.article-content pre {
  background-color: #eee;
  padding: 1em;
  overflow-x: auto;
}

.article-content code {
  background-color: #eee;
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

.article-content pre code {
  background: none;
  padding: 0;
}

pre.nuget {
  padding: 20px;
  background-color: #000;
  color: #fff;
  font-size: 1.2em;
}

hr {
  border: none;
  border-top: 2px solid #aaa;
}

/* Footer */

footer {
  background-color: var(--blue);
  color: #fff;
  padding: 2em 1.5em;
  margin-top: 3em;
}

footer p {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.9em;
}

footer a {
  color: #fff;
  text-decoration: underline;
}
