:root {
  --primary: #000;
  --primary-background: #fff;
  --secondary-background: #e3e3e3;
  --secondary-hover-background: #d8d8d8;
  --secondary-active-background: #cdcdcd;
  --light-shadow: rgba(0,0,0,0.2);
  --heavy-shadow: rgba(0,0,0,0.25);
  --info-background: #90ffff;
  --success-background: #98f49f;
  --hover-shadow: 3px 3px 0 var(--heavy-shadow);
  --button-active-inset-shadow: inset 0px 1px 2px var(--heavy-shadow);
  --badge-shadow: 2px 2px 0 var(--light-shadow);
  --button-to-kinopio-hover-shadow: 5px 5px 0 var(--heavy-shadow);
  --max-page-width: 520px;
  --page-margin: 20px;
  --page-background: #dbdbdb;
  --code-background: #c8c8c8;
  --table-border: #c5c5c5;
  --table-hover-background: rgba(0,0,0,0.05);
  --cta-background: #67ffbb;
  --sans-serif: Helvetica Neue, Helvetica, Arial, sans-serif;
  --tertiary: #c4c4c4;
}
@font-face {
  font-family: 'OsakaMono-Kinopio';
  src: url("/assets/fonts/OsakaMono-Kinopio.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'JeanLuc';
  src: url("/assets/fonts/JeanLuc-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Recoleta';
  src: url("/assets/fonts/Recoleta-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Recoleta';
  src: url("/assets/fonts/Recoleta-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}
* {
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}
body {
  color: var(--primary);
  font-family: var(--sans-serif);
  margin: var(--page-margin);
  background-color: var(--page-background);
}
.content-wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  width: 100%;
  position: relative;
  padding: 0;
}
.logo {
  background-image: url("/assets/logo-base.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 50px;
  height: 42px;
  vertical-align: -13px;
  margin-right: 12px;
  display: inline-block;
}
.hidden {
  display: none !important;
}
h1 {
  font-family: Recoleta;
  font-size: 30px;
  font-weight: normal;
}
h2,
h3 {
  margin-top: 2rem;
  font-family: Recoleta;
  font-size: 22px;
  font-weight: normal;
}
h1,
h2,
a,
p {
  max-width: var(--max-page-width);
}
p {
  line-height: 1.2;
}
a {
  color: #00f;
}
a:hover {
  text-decoration: none;
}
.icon {
  width: 13px;
  display: inline;
  vertical-align: 1px;
  margin-right: 5px;
  user-drag: none;
  -webkit-user-drag: none;
}
.heart {
  margin-left: 5px;
}
form {
  margin: 0;
  display: flex;
}
input {
  font-size: 16px;
  font-family: var(--sans-serif);
  background-color: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #000;
}
img {
  width: 100%;
  max-width: var(--max-page-width);
}
ul {
  padding: 0;
}
ul li {
  list-style: none;
  margin-bottom: 12px;
}
ul li a {
  color: var(--primary);
  text-decoration: none;
  background: var(--info-background);
  padding: 4px 5px;
  border-radius: 3px;
  box-shadow: var(--badge-shadow);
}
ul li a:hover,
ul li a:focus {
  box-shadow: var(--hover-shadow);
}
ul li a:active {
  box-shadow: var(--button-active-inset-shadow);
}
.badge {
  color: var(--primary);
  text-decoration: none;
  background: var(--info-background);
  padding: 4px 5px;
  border-radius: 3px;
  box-shadow: var(--badge-shadow);
}
.badge:hover,
.badge:focus {
  box-shadow: var(--hover-shadow);
}
.badge:active,
.badge.active {
  box-shadow: var(--button-active-inset-shadow);
}
button {
  touch-action: manipulation;
  text-align: left;
  padding: 7px;
  padding-top: 4px;
  padding-bottom: 4px;
  margin: 0;
  border: 1px solid var(--primary);
  background-color: transparent;
  border-radius: 3px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  font-family: var(--sans-serif);
}
button:hover,
button:focus {
  box-shadow: var(--hover-shadow);
  background: var(--secondary-hover-background);
}
button:active,
button.active {
  color: var(--primary);
  box-shadow: var(--button-active-inset-shadow);
  background: var(--secondary-active-background);
}
.button-to-kinopio {
  background-color: var(--cta-background);
  box-shadow: var(--hover-shadow);
}
.button-to-kinopio:hover,
.button-to-kinopio:focus {
  background-color: var(--cta-background);
  box-shadow: var(--button-to-kinopio-hover-shadow);
}
.button-to-kinopio:active {
  background-color: var(--cta-background);
  box-shadow: var(--button-active-inset-shadow);
}
.segmented-buttons button {
  margin: 0;
  border-radius: 0;
}
.segmented-buttons a button {
  margin-left: -1px;
}
.segmented-buttons a:first-child button {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  margin-left: 0;
}
.segmented-buttons a:last-child button {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
code,
blockquote {
  background: var(--code-background);
}
code {
  color: var(--primary);
  padding: 2px;
  padding-left: 6px;
  padding-right: 6px;
  border-radius: 3px;
  font-family: "OsakaMono-Kinopio", monospace;
}
blockquote {
  margin: 0;
  border-radius: 3px;
  padding: 8px;
  display: inline-block;
}
blockquote p {
  margin: 0;
}
canvas#background {
  position: fixed;
  background-color: transparent;
  top: 0;
  left: 0;
  z-index: -1;
}
canvas#page-background,
canvas.auto-paint {
  position: absolute;
  background-color: transparent;
  top: 0;
  left: 0;
  z-index: -2;
}
canvas.auto-paint {
  z-index: -3;
}
.table-wrap {
  overflow-x: auto;
  border-radius: 3px;
}
table {
  border-collapse: collapse;
  max-width: 1000px;
}
table th,
table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--table-border);
}
table tr:hover {
  background: var(--table-hover-background);
}
header .title {
  display: flex;
}
header h1 {
  font-family: JeanLuc;
  font-size: 24px;
  margin-top: 0;
  padding-top: 10px;
}
header a {
  color: var(--primary);
  text-decoration: none;
}
header a:hover,
header a:focus {
  text-decoration: underline;
}
header a:hover .logo,
header a:focus .logo {
  background-image: url("/assets/logo-hover.png");
}
header a:active .logo {
  background-image: url("/assets/logo-active.png");
}
.search {
  display: flex;
  margin-bottom: 2rem;
}
.search img {
  width: 18px;
  padding-right: 4px;
  cursor: pointer;
  margin-top: 1px;
}
main button {
  font-size: 16px;
}
footer {
  margin-top: 4rem;
  margin-bottom: 4rem;
}
footer .sections {
  display: flex;
}
footer .sections section + section {
  margin-left: 2rem;
}
footer .sections h3 {
  font-size: 20px;
  margin-top: 1rem;
}
footer nav {
  margin-top: 1rem;
  position: static;
}
footer li a {
  background-color: var(--tertiary);
}
@media (max-width: 420px) {
  footer .extended-text {
    display: none;
  }
}
nav {
  display: flex;
  position: absolute;
  right: 0;
  top: 0;
}
nav button {
  margin-left: 6px;
}
article ul,
article ol {
  max-width: var(--max-page-width);
  padding-left: 1rem;
  margin-left: 1rem;
}
article ul li,
article ol li {
  margin-bottom: 12px;
}
article ul li {
  list-style-type: disc;
}
article img,
article video {
  width: 420px;
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}
article img.wide,
article video.wide {
  width: 700px;
}
article img.narrow,
article video.narrow {
  width: 250px;
}
article img.no-shadow,
article video.no-shadow {
  box-shadow: none;
}
img + h2,
video + h2 {
  margin-top: 1.5rem;
}
ul.api-contents {
  margin-top: 1rem;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
  position: sticky;
  top: 20px;
  z-index: 10;
}
ul.api-contents li {
  list-style: none;
  display: inline-block;
  margin-right: 6px;
}
.api h2 {
  font-family: sans-serif;
  font-size: 22px;
  font-weight: bold;
}
.api h2.badge,
.api h3.badge {
  display: inline-block;
  padding: 4px 5px;
  border-radius: 3px;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 0;
}
.api .badge.all {
  margin-top: 0;
}
.api code {
  line-height: 1.2;
}
.api .all,
.api .users,
.api .spaces,
.api .cards,
.api .connections,
.api .connection-types,
.api .tags,
.api .notifications {
  color: var(--primary);
  padding: 2px 5px;
}
.api .all {
  background: #f0e68c;
}
.api .users {
  background: #b9a8ff;
}
.api .spaces {
  background: #ffc0cb;
}
.api .cards {
  background: #ee82ee;
}
.api .connections {
  background: #fa8072;
}
.api .connection-types {
  background: #deb887;
}
.api .tags {
  background: #66cdaa;
}
.api .notifications {
  background: #8fbc8f;
}
.api .get-label,
.api .post-label,
.api .patch-label,
.api .delete-label {
  color: rgba(255,255,255,0.9);
}
.api .get-label {
  background: #228b22;
}
.api .post-label {
  background: #8a2be2;
}
.api .patch-label {
  background: #cd853f;
}
.api .delete-label {
  background: #b22222;
}
.anchor {
  display: block;
  position: relative;
  top: -40px;
  visibility: hidden;
}
.froggo {
  max-width: 75px;
}
.cat {
  max-width: 150px;
}
.remove {
  transform: rotate(45deg);
  width: 20px;
  padding: 5px;
}
.row {
  display: flex;
  margin-bottom: 2rem;
}
.row button {
  margin-right: 10px;
}
.moon-phase {
  margin-bottom: 0;
}
.about h1 {
  font-size: 36px;
  margin-top: 1rem;
}
.about h2 {
  font-size: 26px;
  font-weight: bold;
}
.about img,
.about video {
  width: 100%;
  max-width: 560px;
  margin-bottom: 0;
  position: relative;
}
.about .intro-video {
  background-color: #38693e;
  max-width: 560px;
  max-height: 290px;
}
.about .uses span {
  vertical-align: middle;
  margin-right: 6px;
}
.about .uses .badge {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  cursor: pointer;
}
.about .uses .triangle {
  width: 0;
  height: 0;
  border-width: 0 10px 11px 10px;
  border-color: transparent transparent var(--code-background) transparent;
  border-style: solid;
  position: absolute;
  left: 72px;
  top: -11px;
}
.about .uses .example {
  width: 100%;
  background: var(--code-background);
  border-radius: 10px;
  padding: 1rem;
  display: inline-block;
  margin-top: 1rem;
  position: relative;
}
.about .uses .example figure {
  display: inline-flex;
  margin: 0;
  align-items: flex-start;
}
.about .uses .example figure video,
.about .uses .example figure img {
  width: 60%;
  margin: 0;
  max-width: 461px;
  max-height: 280px;
  background: var(--page-background);
}
.about .uses .example figure img.arena {
  width: 20px;
  vertical-align: 0;
  margin: 0;
  margin-right: 5px;
  background: transparent;
}
.about .uses .example figure img.sunglasses {
  width: 25px;
  vertical-align: -2px;
  margin: 0;
  margin-right: 5px;
  background: transparent;
}
.about .uses .example figcaption {
  max-width: calc(40% - 1rem);
  margin-left: 1rem;
}
.about .uses .example figcaption p:first-child {
  margin-top: 0;
}
@media (max-width: 500px) {
  .about .uses .example figure {
    display: block;
  }
  .about .uses .example figure video,
  .about .uses .example figure img {
    width: 100%;
    margin-bottom: 1rem;
  }
  .about .uses .example figure figcaption {
    max-width: initial;
    margin-left: 0;
  }
}
.about section.uses,
.about section.features,
.about section.about-me {
  margin-top: 4rem;
}
.about .grid-container {
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1em 1em;
}
.about .grid-container video {
  background: var(--code-background);
  max-width: 392px;
  max-height: 275px;
}
.about .grid-container p {
  margin-top: 0;
}
@media (max-width: 392px) {
  .about .grid-container {
    display: block;
  }
  .about .grid-container video {
    margin-bottom: 2rem;
  }
}
.about .mobile-video {
  max-width: 300px;
  max-height: 519px;
}
.about .cta-bottom {
  margin-top: 2rem;
}
.about .cta a + a {
  margin-left: 6px;
}
.about .producthunt-badge {
  margin-top: 2rem;
  width: 250px;
  height: 54px;
}
.about section.about-me .badge {
  background-color: var(--tertiary);
  display: inline-flex;
  margin-bottom: 6px;
  margin-right: 6px;
}
.about section.about-me img.sunglasses {
  width: 25px;
  vertical-align: -2px;
  margin: 0;
  margin-right: 5px;
}
.about section.about-me .spaces .user {
  margin-right: 4px;
  background-image: url("/assets/anon-avatar.svg");
  background-repeat: no-repeat;
  width: 18px;
  height: 18px;
  background-color: #91ffff;
  border-radius: 3px;
  background-position: center;
  background-size: 65%;
  vertical-align: middle;
}
.about .signature {
  width: 85px;
  vertical-align: middle;
  margin-left: 5px;
}
