/* vt323-regular - latin */
@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/vt323-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
     url('assets/fonts/vt323-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
     url('assets/fonts/vt323-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
     url('assets/fonts/vt323-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
     url('assets/fonts/vt323-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
     url('assets/fonts/vt323-v15-latin-regular.svg#VT323') format('svg'); /* Legacy iOS */
}

/* inter-regular - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/inter-v7-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
     url('assets/fonts/inter-v7-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
     url('assets/fonts/inter-v7-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
     url('assets/fonts/inter-v7-latin-regular.woff') format('woff'), /* Modern Browsers */
     url('assets/fonts/inter-v7-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
     url('assets/fonts/inter-v7-latin-regular.svg#Inter') format('svg'); /* Legacy iOS */
}

/* inter-600 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('assets/fonts/inter-v7-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
     url('assets/fonts/inter-v7-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
     url('assets/fonts/inter-v7-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
     url('assets/fonts/inter-v7-latin-600.woff') format('woff'), /* Modern Browsers */
     url('assets/fonts/inter-v7-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
     url('assets/fonts/inter-v7-latin-600.svg#Inter') format('svg'); /* Legacy iOS */
}

/* source-code-pro-regular - latin */
@font-face {
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/source-code-pro-v20-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
     url('assets/fonts/source-code-pro-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
     url('assets/fonts/source-code-pro-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
     url('assets/fonts/source-code-pro-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
     url('assets/fonts/source-code-pro-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
     url('assets/fonts/source-code-pro-v20-latin-regular.svg#SourceCodePro') format('svg'); /* Legacy iOS */
}

body {
  background-color: #f7f6f2;
  color: #222;
  font-family: Inter, sans-serif;
  font-size: 12pt;
}

#portrait {
  display: block;
  margin: 0 auto 40px auto;
  width: 300px;
  border-radius: 5px;
  box-shadow: rgba(200, 198, 198, 0.7) 0px 10px 10px -10px;
}

.center {
  text-align: center;
}

.center-block {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

table.center-block {
  display: table;
}

.ms, code, pre {
  font-family: 'Source Code Pro', Consolas, monospace;
}

code, pre.bg {
  background: #FCFCFB;
  border: 1px solid #E6E6DE;
  word-wrap: break-word;
  box-decoration-break: clone;
  padding: 0 0.3rem 0;
  border-radius: .2rem;
}

pre.bg {
  padding: 0.3rem 0.5rem;
}

.nomargin {
  margin-top: 0;
  margin-bottom: 0;
}

h1 {
  font-size: 32pt;
  font-weight: 600;
}

h1.pageheader {
  font-size: 40pt;
  margin-bottom: 10px;
  margin-top: 0;
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

h1.vga {
  text-transform: uppercase;
}

h1:not(.underline):target, h2:not(.underline):target, h3:not(.underline):target, h4:not(.underline):target {
  text-decoration: underline dotted #222;
}

h2, h3 {
  margin-bottom: 0;
}

h1.underline, h2.underline, h3.underline,
h4.underline, h5.underline, h6.underline {
  border-bottom: 1px solid rgba(34, 34, 34, 0.3);
}

h1.underline + h2, h1.underline + h3 {
  margin-top: 0.5em;
}

.vga {
  font-family: VT323, monospace;
}

.invert {
  color: #f7f6f2;
  background-color: #222222;
}

a {
  color: #4372aa;
  text-decoration: none;
  transition: 0.2s;
}

a:hover {
  color: #6f8baf;
  transition: 0.2s;
}

a:active {
  color: #304056;
  transition: 0.2s;
}

.breadcrumb {
  margin-top: 0;
  font-size: 11pt;
}

.socials {
  vertical-align: middle;
  font-size: 2em;
  line-height: 2ex;
}

.socials a {
  color: rgba(34, 34, 34, 0.5);
  transition: 0.2s;
}

.socials a:hover {
  color: rgba(34, 34, 34, 1.0);
  transition: 0.2s;
}

main {
  min-width: 800px;
  width: 50svw;
  margin-right: auto;
  margin-left: auto;
  font-weight: 300;
  overflow-y: auto;
  padding: 10px;
  overflow: visible;
}

main.docs a {
  text-decoration: underline;
  text-decoration-color: #222;
}

main h1 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: bold;
}

main.docs h2, main.docs h3 {
  margin-top: 0;
  margin-bottom: 5px;
}

main.changelog ul {
  list-style: none;
  padding-bottom: 2ex;
  padding-left: 0.5em;
}

main.changelog ul li {
  font-size: 12pt;
  padding-bottom: 1ex;
}

main.changelog ul li::before {
  font-family: monospace;
  content: "\00B7\00A0";
}

main.wide {
  width: 90svw;
}

main.bg {
  background: #FFF;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  border-radius: 1px;
}

main.bg:not(.wide) {
  padding: 20px 40px;
}

main.resume {
  font-family: Inter, Verdana, sans-serif;
  font-size: 12pt;
}

main.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

hr {
  border: 0;
  height: 1px;
  position: relative;
  margin: 30px auto;
  background: rgba(34, 34, 34, 0.3);
}

.card, figure {
  border-radius: 5px;
  padding: 20px;
  box-shadow: rgba(160, 158, 146, 0.52) 0px 1px 3px, rgba(160, 158, 146, 0.75) 0px 1px 2px;
  display: inline-block;
  transition: 0.2s;
}

.card:hover, figure:hover {
  box-shadow: rgba(160, 158, 146, 0.52) 0px 6px 12px -2px, rgba(160, 158, 146, 0.75) 0px 3px 7px -3px;
  transition: 0.2s;
}

.card {
  background: #FFF;
  max-width: 300px;
  margin-bottom: 30px;
  display: flex;
  flex-flow: column nowrap;
}

main.cards .card {
  flex: 0 1 24%;
  margin: 0.5rem;
}

.card .card-title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 20pt;
}

.card .card-title.small {
  font-size: 14pt;
}

.card .card-subtitle {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 12pt;
  text-transform: uppercase;
  color: rgba(34, 34, 34, 0.5);
}

.card .card-content {
  flex-grow: 1;
}

.card .card-content img {
  max-width: 300px;
}

strong {
  font-weight: 600;
}

.nopmargin p {
  margin-top: 0;
  margin-bottom: 0;
}

.small {
  font-size: 0.75em;
}

.right {
  float: right;
}

table {
  border-collapse: collapse;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 100%;
}

table code {
  font-size: 11pt;
}

table.fit-width {
  width: auto;
}

td, th {
  border: 1px solid rgba(34, 34, 34, 0.2);
  padding: 0.5em;
}

th {
  background-color: rgba(34, 34, 34, 0.1);
}

tr:nth-child(odd) td {
  background-color: rgba(34, 34, 34, 0.05);
}

table.config td:nth-child(1) {
  white-space: pre-wrap;
}

div.utfpaint {
  font-family: monospace;
  border: 1px solid #000;
  width: fit-content;
  height: fit-content;
  cursor: crosshair;
}

div.utfpaint-tool {
  border: 1px solid #000;
  border-radius: 3px;
  width: fit-content;
  padding: 5px;
}

div.utfpaint-tool * {
  margin: 0;
}

div.utfpaint-characters {
  padding: 5px;
  border: 1px solid #000;
  border-radius: 3px;
  width: 500px;
  max-height: 400px;
  word-wrap: break-word;
  overflow-y: auto;
}

div.utfpaint-characters p {
  margin: 0;
}

div.utfpaint-characters p.small {
  margin-top: 10px;
}

div.utfpaint-characters button {
  font-family: monospace, sans-serif;
}

.vmid {
  vertical-align: middle;
}

main.resume p {
  margin: 0;
}

.resume-section {
  margin-top: 0;
  margin-bottom: 1rem;
  padding: 1rem;
}

.resume-section a {
  color: inherit;
}

.resume-section a:hover {
  text-decoration: underline;
}

.resume-section a:active {
  text-decoration: underline dotted;
}

.resume-section h2 {
  margin-top: 0;
  font-size: 20pt;
  border-bottom: 1px solid rgba(34, 34, 34, 0.3);
}

.resume-section h3 {
  font-size: 16pt;
  margin-top: 0.5rem;
}

.resume-item {
  display: inline-block;
  width: fit-content;
  padding: 0 0.5rem;
}

.resume-section ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.5em;
  list-style-position: outside;
  list-style-type: square;
}

.resume-section ul.spaced li:not(:first-child) {
  margin-top: 1ex;
}

.resume-section ul.columns {
  column-count: 2;
}

.resume-section ul.columns-3 {
  column-count: 3;
}

.resume-section ul:last-child {
  margin-bottom: 0;
}

.resume-item:not(:first-child) {
  border-left: 1px solid rgba(34, 34, 34, 0.2);
}

.resume-item-header {
  font-weight: bold;
  font-size: 10pt;
}

.resume-item-body {
  font-size: 11pt;
}

.resume-lighter {
  color: rgba(0, 0, 0, 0.5);
}

.resume-skill {
  display: inline-block;
  width: 11ch;
}

.resume-header {
  padding-bottom: 0;
}

.resume-subsection {
  display: flex;
  flex-direction: row;
}

.resume-subsection > div {
  flex: 1;
}

.resume-subsection > div:first-child {
  padding-left: 1em;
}

#context-menu {
  display: none;
}

#context-menu.show {
  z-index: 1000;
  position: absolute;
  display: block;
  margin: 0;
  width: fit-content;
  background-color: #FFF;
  border: 1px solid #BDBDBD;
  border-radius: 1px 1px 5px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  animation: fade-in 0.2s, slide-in 0.6s;
  animation-timing-function: ease-in;
}

@keyframes slide-in {
  from {
    max-height: 0px;
    overflow-y: hidden;
  }
  to {
    max-height: 400px;
    overflow-y: auto;
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#context-menu .menu-item {
  display: block;
  padding: 0.25rem;
  color: inherit;
  font-size: 12pt;
}

#context-menu .menu-item:hover {
  background: #EEEEEE;
}

#context-menu .menu-item:not(:last-of-type) {
  border-bottom: 1px solid #E0E0E0;
}

#context-menu .menu-item:last-of-type {
  margin-bottom: 0.25rem;
}

#context-menu #cm-connections {
  margin-left: 1rem;
  border-top: 1px solid #E0E0E0;
}

#context-menu .submenu {
  cursor: default;
  user-select: none;
  position: relative;
}

#context-menu #cm-connections .submenu:after {
  content: "🞂";
  padding-left: 0.5ch;
  color: #757575;
}

#context-menu .submenu > div {
  display: none;
}

#context-menu .submenu:hover > div, #context-menu .submenu > div:hover {
  display: block;
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 5px;
  z-index: 1000;
  background-color: #FFF;
  border: 1px solid #BDBDBD;
  border-radius: 1px 1px 5px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  animation: fade-in 0.2s, slide-in 0.6s;
  animation-timing-function: ease-in;
}

input[type=text] {
  font-size: 12pt;
  padding: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 2px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  transition: box-shadow 0.5s;
}

input[type=text]:focus {
  outline: none;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  transition: box-shadow 0.5s;
}

.input-container {
  position: relative;
}

label {
  font-size: 10pt;
  display: inline-block;
}

.input-container > label {
  position: absolute;
  top: -2.5ex;
  left: 1ch;
  padding: 2px;
  z-index: 1;
}

.input-container > label:after {
  content: " ";
  background-color: #FFF;
  width: 100%;
  height: 2ex;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
}

input[type=button] {
  font-size: 12pt;
  padding: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 2px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  cursor: pointer;
  transition: box-shadow 0.5s;
}

input[type=button]:hover {
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
  transition: box-shadow 0.5s;
}

input[type=button].compact {
  font-size: 9pt;
  padding: 0.2rem;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 2px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  transition: box-shadow 0.5s;
}

.collapsible {
  display: inline-block;
  font-size: 12pt;
  padding: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 2px;
  position: relative;
  box-shadow: none;
}

.collapsible.open {
  border-bottom: none;
  border-radius: 2px 2px 0 0;
  padding-bottom: 0;
}

.collapsible .collapsible-header {
  margin: 0;
  cursor: pointer;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-weight: bold;
}

.collapsible .collapsible-header:before {
  content: "⮞";
  margin: 0 0.5ch 0 0;
  display: inline-block;
  transform: rotate(0deg);
  transition: 0.3s;
}

.collapsible.open .collapsible-header:before {
  display: inline-block;
  transform: rotate(90deg);
  transition: 0.3s;
}

.collapsible .collapsible-content {
  display: none;
}

.collapsible.open .collapsible-content {
  display: block;
  position: absolute;
  top: 100%;
  left: -1px;
  right: -1px;
  font-size: 12pt;
  padding: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0 0 2px 2px;
  background: #FFF;
  animation: slide-in 0.6s;
  animation-timing-function: ease-in;
  max-height: 50svh;
  overflow-y: auto;
}

.collapsible.open .collapsible-content.nofloat {
  position: static;
  margin: 1ex -0.5rem 0;
}

.collapsible .collapsible-content p, .collapsible .collapsible-content h3 {
  margin: 0;
}

.collapsible .collapsible-content h3:not(:first-child) {
  margin-top: 1rem;
}

.collapsible-content a.collapsible-button {
  display: block;
  margin: 0 -0.5rem;
  padding: 0.5rem;
  color: inherit;
  background: rgba(0, 0, 0, 0);
  transition: background 0.5s;
}

.collapsible-content a.collapsible-button:hover {
  background: rgba(0, 0, 0, 0.1);
  transition: background 0.5s;
}

.collapsible-content a.collapsible-button:active {
  background: #F7F6F2;
  transition: background 0.05s;
}

.collapsible-content a.collapsible-button:first-child {
  margin-top: -0.5rem;
}

.collapsible-content a.collapsible-button:not(:first-child) {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.collapsible-content a.collapsible-button:last-child {
  margin-bottom: -0.5rem;
}

.collapsible-content p.collapsible-footer {
  display: block;
  margin: 0 -0.5rem;
  padding: 0.5rem 0.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.25);
}

kbd {
  font-family: Consolas, monospace;
  background-color: #EEE;
  border-radius: 3px;
  border: 1px solid #AFAFAF;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 2px 0 0 rgba(255, 255, 255, 0.7) inset;
  color: #333;
  display: inline-block;
  font-size: 0.85em;
  font-weight: 700;
  line-height: 1;
  padding: 2px 4px;
  white-space: nowrap;
}

.state-box {
  font-size: 12pt;
  padding: 0.5rem;
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-radius: 2px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.state-box.green {
  color: #1B5E20;
  background: #E8F5E9;
  border: 2px solid #43A047;
}

.state-box.red {
  color: #B71C1C;
  background: #FFEBEE;
  border: 2px solid #E53935;
}

.mobile-only {
  display: none;
}

a.csr-link {
  font-weight: bold;
}

main.csr ul {
  margin-top: 0.5ex;
}

main.csr h3:not(.underline), main.csr h4:not(.underline) {
  text-decoration: underline rgba(34, 34, 34, 0.3);
}

main.csr ul li:not(:last-child) {
  margin-bottom: 0.5ex;
}

main.csr h2 + h3, main.csr h3 + h4 {
  margin-top: 1ex;
}

main.csr h3 {
  margin-left: 0.5rem;
}

main.csr h4 {
  margin-left: 1rem;
}

.info-box, .warning-box {
  text-align: center;
  margin: 20px auto;
  width: fit-content;
  max-width: 500px;
  min-width: 10px;
  padding: 5px 10px;
}

.info-box {
  background: whitesmoke;
  border: 2px solid lightgray;
}

.warning-box {
  background: #FFDCE0;
  border: 2px solid #E57373;
}

ul.toc, ul.toc ul {
  padding-left: 1.5ch;
}

ul.toc.multilevel > li > p {
  font-weight: bold;
}

@media only screen and (max-width: 800px) {
  main.wide {
    width: auto;
    min-width: 0;
  }

  main.wide {
    margin-left: 0;
    margin-right: 0;
  }

  body {
    font-size: 11pt;
    margin: 0;
  }

  h1 {
    font-size: 22pt;
  }

  h2, h3 {
    margin-top: 0.8rem;
  }

  h1.pageheader {
    font-size: 28pt;
    margin-bottom: 5px;
  }

  .card .card-title {
    font-size: 16pt;
  }

  .card .card-title.small {
    font-size: 12pt;
  }

  .card .card-subtitle {
    font-size: 9pt;
  }

  .card .card-body {
    margin-top: 5px;
    margin-bottom: 5px;
  }

  main.changelog ul {
    padding-left: 0;
  }

  main.cards .card {
    flex: 0 1 99%;
  }

  .resume-item {
    padding-top: 0.25rem;
    padding-left: 0;
    border-left: none !important;
    display: block;
    margin: 0 auto;
  }

  main.resume {
    font-size: 11pt;
  }

  .resume-section {
    padding: 0.5rem;
    margin-bottom: 0;
  }

  .resume-section h2 {
    font-size: 16pt;
    text-align: center;
  }

  .resume-section h3 {
    font-size: 12pt;
    margin-top: 0.5rem;
  }
  
  .resume-section ul li:not(:first-child) {
    margin-top: 0.5ex;
  }
  
  .resume-section ul.spaced li:not(:first-child) {
    margin-top: 1.5ex;
  }

  .resume-item-header {
    font-size: 9pt;
    display: inline-block;
  }

  .resume-item-header::after {
    content: ":";
  }

  .resume-item-body {
    font-size: 9pt;
    display: inline-block;
  }
  
  .resume-section ul.columns-3 {
    column-count: 1;
  }
  
  .resume-subsection {
    flex-direction: column;
  }
  
  .resume-subsection > div {
    padding-left: 1em;
  }

  table {
    table-layout: fixed;
    overflow-x: scroll;
  }

  table code {
    font-size: 10pt;
  }

  td, th {
    padding: 0.2em;
  }

  p {
    margin: 0.2rem 0 0.5rem;
  }

  .mobile-only {
    display: block;
  }
  
  .mobile-hide {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #000;
    color: #FFF;
  }
  
  body.home {
    background-color: #1C1C1C;
  }

  #portrait {
    box-shadow: rgba(0, 0, 0, 0.3) 0px 10px 10px -10px;
  }

  code, pre.bg {
    background: #2D2929;
    border: 1px solid #484141;
  }

  h1:not(.underline):target, h2:not(.underline):target, h3:not(.underline):target, h4:not(.underline):target {
    text-decoration: underline dotted #FFF;
  }

  h1.underline, h2.underline, h3.underline,
  h4.underline, h5.underline, h6.underline {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .invert {
    color: #000;
    background-color: #FFF;
  }

  a {
    color: #FF6969;
  }

  a:hover {
    color: #FF8383;
  }

  a:active {
    color: #FF3636;
  }

  .socials a {
    color: rgba(255, 255, 255, 0.5);
  }

  .socials a:hover {
    color: rgba(255, 255, 255, 1.0);
  }

  main.docs a {
    text-decoration-color: #FFF;
  }

  main.bg, .card {
    background: #1C1C1C;
  }
  
  .card {
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  main.bg {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  }

  hr {
    background: rgba(255, 255, 255, 0.2);
  }

  .card, figure {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 3px, rgba(0, 0, 0, 0.3) 0px 1px 2px;
  }

  .card:hover, figure:hover {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 6px 12px -2px, rgba(0, 0, 0, 0.5) 0px 3px 7px -3px;
  }

  canvas {
    background: #29292D;
  }

  .card .card-subtitle {
    color: rgba(255, 255, 255, 0.5);
  }

  table {
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  td, th {
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  th {
    background-color: rgba(255, 255, 255, 0.07);
  }

  tr:nth-child(odd) td {
    background-color: rgba(255, 255, 255, 0.04);
  }

  div.utfpaint {
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  div.utfpaint-tool {
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  div.utfpaint-characters {
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .resume-section h2 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .resume-section.invert {
    color: #FFF;
    background: #111;
  }

  .resume-section a:hover {
    color: inherit;
  }

  .resume-section a:active {
    color: inherit;
  }

  .resume-item:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .resume-lighter {
    color: rgba(255, 255, 255, 0.5);
  }

  #context-menu.show {
    background-color: #323234;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(255, 255, 255, 0.1) 0px -3px 0px inset;
  }

  #context-menu .menu-item:hover {
    background: #4B4B4E;
  }

  #context-menu .menu-item:not(:last-of-type) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  #context-menu #cm-connections {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  #context-menu #cm-connections .submenu:after {
    color: #757575;
  }

  #context-menu .submenu:hover > div, #context-menu .submenu > div:hover {
    background-color: #323234;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(255, 255, 255, 0.1) 0px -3px 0px inset;
  }

  input[type=text] {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFF;
    background: #323234;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  }

  input[type=text]:focus {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px, rgba(255, 255, 255, 0.1) 0px -3px 0px inset;
  }

  .input-container > label:after {
    background-color: #323234;
  }

  input[type=button] {
    background: #3F3F41;
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 3px 0px, rgba(0, 0, 0, 0.2) 0px 1px 2px 0px;
  }

  input[type=button]:hover {
    background: #4B4B4E;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 3px, rgba(0, 0, 0, 0.5) 0px 1px 2px;
  }

  input[type=button].compact {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 3px 0px, rgba(0, 0, 0, 0.2) 0px 1px 2px 0px;
  }

  .collapsible {
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .collapsible.open .collapsible-content {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #323234;
  }

  .collapsible-content a.collapsible-button:hover {
    background: #3F3F41;
  }

  .collapsible-content a.collapsible-button:active {
    background: #4B4B4E;
  }

  .collapsible-content a.collapsible-button:not(:first-child) {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .collapsible-content p.collapsible-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  kbd {
    background-color: #29292D;
    border: 1px solid #414148;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.4), 0 2px 0 0 rgba(0, 0, 0, 0.15) inset;
    color: #FEFEFE;
  }

  .state-box {
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 2px 0px;
  }

  .state-box.green {
    color: #E8F5E9;
    background: #1B5E20;
    border: 2px solid #43A047;
  }

  .state-box.red {
    color: #FFEBEE;
    background: #B71C1C;
    border: 2px solid #E53935;
  }

  .info-box {
    background: #494949;
    border: 2px solid #5b5b5b;
  }

  .warning-box {
    background: #6D0E19;
    border: 2px solid #902B2B;
  }
}
