:root {
  --color-primary: #749aea;
  --color-secondary: #b193eb;
  --color-background: #16161e;
  --color-background-lighter: #1d1f29;
  --color-text: #c3c7db;
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Lora", sans-serif;
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src:
    local("Roboto"),
    url(https://fonts.gstatic.com/s/lora/v36/0QIvMX1D_JOuMwr7I_FMl_E.woff2)
      format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src:
    local("Roboto"),
    url(https://fonts.gstatic.com/s/montserrat/v30/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2)
      format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

.color-text,
a.color-text {
  color: var(--color-text);
}
.color-primary {
  color: var(--color-primary);
}
.color-secondary {
  color: var(--color-secondary);
}
body {
  font-family: var(--font-secondary);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.4em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-primary);
  font-family: var(--font-primary);
  line-height: 1.2em;
}

h2 {
  font-size: 2em;
  font-weight: 800;
}

h3 {
  font-size: 1.4em;
  font-weight: 600;
  padding-top: 2rem;
}

body {
  margin-left: auto;
  font-size: 1.1em;
  margin-right: auto;
  max-width: 42rem;
  padding-top: 1.8rem;
  padding-bottom: 3rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

a,
p.read-more {
  color: var(--color-primary);
  text-decoration-line: underline;
  text-underline-offset: 5px;
}

p {
  margin-bottom: 25px;
}

a.no-underline {
  text-decoration: none;
}

p.date {
  font-size: 0.8em;
  font-family: var(--font-primary);
}

pre {
  border-radius: 2px;
  margin-bottom: 2rem;
  overflow-y: auto;
  padding: 1rem;
  font-size: 0.875rem;
  border-radius: 12px;
  line-height: 1.25rem;
  background-color: #1a1b26;
}

pre[data-linenos] {
  padding: 1rem 0;
}
pre table td {
  padding: 0;
}
/* The line number cells */
pre table td:nth-of-type(1) {
  text-align: center;
  vertical-align: top;
  user-select: none;
}
pre mark {
  display: block;
  background-color: rgba(254, 252, 232, 0.9);
}
pre table {
  width: 100%;
  border-collapse: collapse;
}

ul li {
  margin-bottom: 25px;
}

code:not(pre > code) {
  background-color: var(--color-background-lighter);
  font-size: 1em;
  padding: 3px;
  color: var(--color-secondary);
}

footer {
  margin-top: 140px;
  text-align: center;
}

.logo h3 {
  background-clip: text;
  color: transparent;
  background-image: linear-gradient(
    90deg,
    rgba(116, 154, 234, 1) 0%,
    rgba(177, 147, 235, 1) 30%
  );
  margin-bottom: 70px;
  padding-bottom: 5px;
}

.icon {
  width: 2em;
  height: 2em;
  vertical-align: -0.125em;
  color: var(--color-primary);
  cursor: pointer;
}

.icon:hover path {
  stroke: white;
  color: white;
}

.icons {
  display: grid;
  max-width: 200px;
  margin: 20px auto;
  grid-template-columns: repeat(4, 1fr);
}

.copy {
  font-size: 0.8em;
}
body {
  -webkit-text-size-adjust: 100%;
}

@media (min-device-width: 320px) and (max-device-width: 768px) {
  body {
    max-width: 90%;
  }
  pre {
    line-height: 1.5em;
    margin-left: -10px;
  }
  h2,
  h3 {
    line-height: 1.3em;
  }
  .icon {
    width: 90%;
    margin: 20px auto;
    width: 3em;
    height: 3em;
  }
  .icons {
    max-width: 100%;
  }
}
