/* This file is for your main application CSS */
/* ! tailwindcss v2.2.19 | MIT License | https://tailwindcss.com */
/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
/*
Document
========
*/
/**
Use a better box model (opinionated).
*/
*,
::before,
::after {
	box-sizing: border-box;
}
/**
Use a more readable tab size (opinionated).
*/
html {
	-moz-tab-size: 4;
	-o-tab-size: 4;
	   tab-size: 4;
}
/**
1. Correct the line height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}
/*
Sections
========
*/
/**
Remove the margin in all browsers.
*/
body {
	margin: 0;
}
/**
Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
*/
body {
	font-family:
		system-ui,
		-apple-system, /* Firefox supports this but not yet `system-ui` */
		'Segoe UI',
		Roboto,
		Helvetica,
		Arial,
		sans-serif,
		'Apple Color Emoji',
		'Segoe UI Emoji';
}
/*
Grouping content
================
*/
/**
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
*/
hr {
	height: 0; /* 1 */
	color: inherit; /* 2 */
}
/*
Text-level semantics
====================
*/
/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr[title] {
	-webkit-text-decoration: underline dotted;
	        text-decoration: underline dotted;
}
/**
Add the correct font weight in Edge and Safari.
*/
b,
strong {
	font-weight: bolder;
}
/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
	font-family:
		ui-monospace,
		SFMono-Regular,
		Consolas,
		'Liberation Mono',
		Menlo,
		monospace; /* 1 */
	font-size: 1em; /* 2 */
}
/**
Add the correct font size in all browsers.
*/
small {
	font-size: 80%;
}
/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sub {
	bottom: -0.25em;
}
sup {
	top: -0.5em;
}
/*
Tabular data
============
*/
/**
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/
table {
	text-indent: 0; /* 1 */
	border-color: inherit; /* 2 */
}
/*
Forms
=====
*/
/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}
/**
Remove the inheritance of text transform in Edge and Firefox.
1. Remove the inheritance of text transform in Firefox.
*/
button,
select { /* 1 */
	text-transform: none;
}
/**
Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type='button'],
[type='reset'],
[type='submit'] {
	-webkit-appearance: button;
}
/**
Remove the inner border and padding in Firefox.
*/
::-moz-focus-inner {
	border-style: none;
	padding: 0;
}
/**
Restore the focus styles unset by the previous rule.
*/
:-moz-focusring {
	outline: 1px dotted ButtonText;
}
/**
Remove the additional ':invalid' styles in Firefox.
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
*/
:-moz-ui-invalid {
	box-shadow: none;
}
/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/
legend {
	padding: 0;
}
/**
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
	vertical-align: baseline;
}
/**
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
	height: auto;
}
/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type='search'] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}
/**
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
	-webkit-appearance: none;
}
/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/
::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}
/*
Interactive
===========
*/
/*
Add the correct display in Chrome and Safari.
*/
summary {
	display: list-item;
}
/**
 * Manually forked from SUIT CSS Base: https://github.com/suitcss/base
 * A thin layer on top of normalize.css that provides a starting point more
 * suitable for web applications.
 */
/**
 * Removes the default spacing and border for appropriate elements.
 */
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
button {
  background-color: transparent;
  background-image: none;
}
fieldset {
  margin: 0;
  padding: 0;
}
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
/**
 * Tailwind custom reset styles
 */
/**
 * 1. Use the user's configured `sans` font-family (with Tailwind's default
 *    sans-serif font stack as a fallback) as a sane default.
 * 2. Use Tailwind's default "normal" line-height so the user isn't forced
 *    to override it to ensure consistency even when using the default theme.
 */
html {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 1 */
  line-height: 1.5; /* 2 */
}
/**
 * Inherit font-family and line-height from `html` so users can set them as
 * a class directly on the `html` element.
 */
body {
  font-family: inherit;
  line-height: inherit;
}
/**
 * 1. Prevent padding and border from affecting element width.
 *
 *    We used to set this in the html element and inherit from
 *    the parent element for everything else. This caused issues
 *    in shadow-dom-enhanced elements like <details> where the content
 *    is wrapped by a div with box-sizing set to `content-box`.
 *
 *    https://github.com/mozdevs/cssremedy/issues/4
 *
 *
 * 2. Allow adding a border to an element by just adding a border-width.
 *
 *    By default, the way the browser specifies that an element should have no
 *    border is by setting it's border-style to `none` in the user-agent
 *    stylesheet.
 *
 *    In order to easily add borders to elements by just setting the `border-width`
 *    property, we change the default border-style for all elements to `solid`, and
 *    use border-width to hide them instead. This way our `border` utilities only
 *    need to set the `border-width` property instead of the entire `border`
 *    shorthand, making our border utilities much more straightforward to compose.
 *
 *    https://github.com/tailwindcss/tailwindcss/pull/116
 */
*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: currentColor; /* 2 */
}
/*
 * Ensure horizontal rules are visible by default
 */
hr {
  border-top-width: 1px;
}
/**
 * Undo the `border-style: none` reset that Normalize applies to images so that
 * our `border-{width}` utilities have the expected effect.
 *
 * The Normalize reset is unnecessary for us since we default the border-width
 * to 0 on all elements.
 *
 * https://github.com/tailwindcss/tailwindcss/issues/362
 */
img {
  border-style: solid;
}
textarea {
  resize: vertical;
}
input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
  opacity: 1;
  color: #9ca3af;
}
input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}
button,
[role="button"] {
  cursor: pointer;
}
/**
 * Override legacy focus reset from Normalize with modern Firefox focus styles.
 *
 * This is actually an improvement over the new defaults in Firefox in our testing,
 * as it triggers the better focus styles even for links, which still use a dotted
 * outline in Firefox by default.
 */
:-moz-focusring {
	outline: auto;
}
table {
  border-collapse: collapse;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
/**
 * Reset links to optimize for opt-in styling instead of
 * opt-out.
 */
a {
  color: inherit;
  text-decoration: inherit;
}
/**
 * Reset form element properties that are easy to forget to
 * style explicitly so you don't inadvertently introduce
 * styles that deviate from your design system. These styles
 * supplement a partial reset that is already applied by
 * normalize.css.
 */
button,
input,
optgroup,
select,
textarea {
  padding: 0;
  line-height: inherit;
  color: inherit;
}
/**
 * Use the configured 'mono' font family for elements that
 * are expected to be rendered with a monospace font, falling
 * back to the system monospace stack if there is no configured
 * 'mono' font family.
 */
pre,
code,
kbd,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
/**
 * 1. Make replaced elements `display: block` by default as that's
 *    the behavior you want almost all of the time. Inspired by
 *    CSS Remedy, with `svg` added as well.
 *
 *    https://github.com/mozdevs/cssremedy/issues/14
 * 
 * 2. Add `vertical-align: middle` to align replaced elements more
 *    sensibly by default when overriding `display` by adding a
 *    utility like `inline`.
 *
 *    This can trigger a poorly considered linting error in some
 *    tools but is included by design.
 * 
 *    https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210
 */
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}
/**
 * Constrain images and videos to the parent width and preserve
 * their intrinsic aspect ratio.
 *
 * https://github.com/mozdevs/cssremedy/issues/14
 */
img,
video {
  max-width: 100%;
  height: auto;
}
/**
 * Ensure the default browser behavior of the `hidden` attribute.
 */
[hidden] {
  display: none;
}
*, ::before, ::after {
	--tw-border-opacity: 1;
	border-color: rgba(229, 231, 235, var(--tw-border-opacity));
}
/* @import "tailwindcss/components"; */
.relative {
	position: relative;
}
@font-face {
  font-family: FreePixel;
  src: url(/fonts/FreePixel-b3fd2f77079b669a4c2316f24646c14d.ttf?vsn=d);
}
/* Alerts and form errors used by phx.new */
.alert {
	margin-top: 0.25rem;
	margin-bottom: 0.25rem;
	margin-left: auto;
	margin-right: auto;
	padding: 0.5rem;
  max-width: 600px;
  left: 0;
  right: 0;
  border-radius: 5px;
  position: absolute;
  z-index: 100;
}
.alert-info {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}
.alert-warning {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}
.alert p {
  margin-bottom: 0;
}
.alert:empty {
  display: none;
}
.invalid-feedback {
  color: #a94442;
  display: block;
  margin: -1rem 0 2rem;
}
/* LiveView specific classes for your customization */
.phx-no-feedback.invalid-feedback,
.phx-no-feedback .invalid-feedback {
  display: none;
}
.phx-click-loading {
  opacity: 0.5;
  transition: opacity 1s ease-out;
}
.phx-disconnected {
  cursor: wait;
}
.phx-disconnected * {
  pointer-events: none;
}
.phx-modal {
  opacity: 1 !important;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}
.phx-modal-content {
  background-color: #fefefe;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
	.phx-modal-content {
		margin-top: 4rem;
		margin-bottom: 4rem;
	}
}
.phx-modal-content {
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}
.phx-modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.phx-modal-close:hover,
.phx-modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
/* ====== GEMS CSS ====== */
body {
  font-family: "FreePixel", sans-serif;
  margin: auto;
  max-width: 768px;
}
main {
	margin-left: 0.25rem;
	margin-right: 0.25rem;
}
@media (min-width: 768px) {
	main {
		margin-left: auto;
		margin-right: auto;
	}
}
h1 {
  font-size: 18pt;
}
p {
  margin-bottom: 1.5rem;
}
footer {
  margin: 2rem auto;
}
a {
	text-decoration: underline;
}
ul {
  list-style: circle;
  margin-left: 1rem;
}
li {
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}
section.content {
	margin-top: 3.5rem;
	margin-bottom: 3.5rem;
}
.slider {
  -webkit-appearance: none; /* Override default CSS styles */
  -moz-appearance: none;
       appearance: none;
  height: 5px; /* Specified height */
  border: 1px solid black;
  outline: none; /* Remove outline */
  opacity: 1; /* Set transparency (for mouse-over effects on hover) */ /* 0.2 seconds transition on hover */
  transition: opacity 0.2s;
  margin: 0;
}
/* Special styling for WebKit/Blink */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 15px;
  width: 10px;
  background: #ffffff;
  border: 1px solid #000000;
  cursor: pointer;
}
/* Firefox */
input[type="range"]::-moz-range-thumb {
  border: 1px solid #000000;
  height: 12px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}
/* IE (really though?) */
input[type="range"]::-ms-thumb {
  border: 1px solid #000000;
  height: 12px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}
.content-center {
	text-align: center;
}
.modal-content {
	max-width: 20rem;
}
.modal-content p {
	margin-bottom: 1rem;
}
.modal-content hr {
	margin-top: 1rem;
	margin-bottom: 1rem;
}
.modal-hide {
	display: none;
}
.modal-button {
	margin-left: auto;
	margin-right: auto;
	display: block;
	padding: 0.5rem;
	border-width: 1px;
	text-transform: uppercase;
}
.modal-button-group {
	text-align: center;
}
.modal-button-group > * {
	margin: 0.25rem;
	display: inline-block;
}
.modal-header {
	text-align: center;
	text-transform: uppercase;
}
.private {
	margin-left: auto;
	margin-right: auto;
	display: block;
	width: 10rem;
	border-width: 1px;
	text-align: center;
}
.section {
	margin: auto;
  max-width: 675px;
}
.section[data-section="matrix"] {
	display: flex;
	flex-direction: row;
	justify-content: center;
}
.section[data-section="cables"] {
	margin: auto;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
}
.section[data-section="controls"] {
	margin: auto;
}
.matrix {
	display: inline-flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	flex-grow: 1;
	border-width: 1px;
	padding: 0px;
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}
@media (min-width: 768px) {
	.matrix {
		margin-top: 0.5rem;
	}
	.matrix {
		margin-top: 1.5rem;
	}
	.matrix {
		padding: 1rem;
	}
}
.matrix-col {
	display: flex;
	flex-direction: column;
	flex-direction: column-reverse;
	flex-wrap: wrap;
	justify-content: center;
}
.matrix-item {
  border-width: 1px;
  border-style: solid;
  cursor: pointer;
}
.matrix-item-16 {
  width: 4.9vw;
  height: 4.9vw;
  margin: 0.5vw;
}
@media (min-width: 768px) {
	.matrix-item-16 {
		margin: 0.25rem;
	}
	.matrix-item-16 {
		height: 2rem;
	}
	.matrix-item-16 {
		width: 2rem;
	}
}
.matrix-item-32 {
  width: 2.45vw;
  height: 2.45vw;
  margin: 0.28vw;
}
@media (min-width: 768px) {
	.matrix-item-32 {
		margin: 0.125rem;
	}
	.matrix-item-32 {
		height: 1rem;
	}
	.matrix-item-32 {
		width: 1rem;
	}
}
.matrix-item.indicator {
	border-radius: 9999px;
}
.indicator.matrix-item.matrix-item-16 {
  width: 1.8vw;
  height: 1.8vw;
  margin: 1vw 2vw;
}
@media (min-width: 768px) {
	.indicator.matrix-item.matrix-item-16 {
		margin-left: 1rem;
		margin-right: 1rem;
	}
	.indicator.matrix-item.matrix-item-16 {
		margin-bottom: 0.5rem;
	}
	.indicator.matrix-item.matrix-item-16 {
		margin-top: 0.25rem;
	}
	.indicator.matrix-item.matrix-item-16 {
		height: 0.5rem;
	}
	.indicator.matrix-item.matrix-item-16 {
		width: 0.5rem;
	}
}
.indicator.matrix-item.matrix-item-32 {
  width: 0.9vw;
  height: 0.9vw;
  margin: 0.5vw 1vw;
}
@media (min-width: 768px) {
	.indicator.matrix-item.matrix-item-32 {
		margin-left: 0.375rem;
		margin-right: 0.375rem;
	}
	.indicator.matrix-item.matrix-item-32 {
		margin-bottom: 0.5rem;
	}
	.indicator.matrix-item.matrix-item-32 {
		margin-top: 0.25rem;
	}
	.indicator.matrix-item.matrix-item-32 {
		height: 0.5rem;
	}
	.indicator.matrix-item.matrix-item-32 {
		width: 0.5rem;
	}
}
.control {
  padding: 0.5rem;
}
.control:first-child {
	border-bottom-width: 1px;
}
@media (min-width: 768px) {
	.control:first-child {
		border-bottom-width: 0px;
	}
	.control:first-child {
		border-right-width: 1px;
	}
}
.control-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-evenly;
}
.control-col {
	display: flex;
	height: 100%;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: center;
}
.control-col-r {
	align-content: flex-end;
	padding-right: 0.5rem;
	text-align: right;
}
.control-1-2 {
	width: 50%;
}
.control-1-3 {
	width: 33.333333%;
}
.control-2-3 {
	width: 66.666667%;
}
.control-btn {
	margin-left: 0.125rem;
	margin-right: 0.125rem;
	border-width: 1px;
	padding: 0.25rem;
	text-transform: uppercase;
}
.control-btn:hover {
  background-color: black;
}
.control-btn:hover .arrow-left {
  border-right-color: white;
}
.control-btn:hover .arrow-right {
  border-left-color: white;
}
.control-global {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 0.25rem;
}
.control-global label.switch {
	margin-left: 0px;
}
.control-global > * {
	margin-right: 1.5rem;
}
.control-full {
	width: 100%;
}
.control-grow {
	flex-grow: 1;
}
.control-shrink {
	flex-shrink: 1;
}
.control-bottom {
	border-top-width: 1px;
}
#control {
  border-style: solid;
  border-width: 1px;
}
#adsr {
  text-align: center;
}
#adsr .graph {
  display: inline-flex;
  border-width: 1px;
  border-style: solid;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
#adsr svg {
	padding: 1rem;
}
#adsr svg line {
  stroke-width: 2;
}
.box-label {
	padding: 0.125rem;
  border-width: 1px;
  border-style: solid;
}
.control-label {
  min-width: 90px;
}
.control-table td {
  padding: 0.15rem 0.1rem;
  min-width: 140px;
}
.control-table td:nth-child(2) {
  text-align: center;
}
.cables {
	margin-left: 1rem;
	margin-right: 1rem;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: center;
}
.cables-bottom {
  width: 150px;
  height: 4px;
  border-style: solid;
  border-width: 1px 1px 0 1px;
}
.cables-mid {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: space-around;
	justify-content: center;
}
.cable {
	margin-left: 0.5rem;
	margin-right: 0.5rem;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: center;
}
.cable .cable-top {
  width: 15px;
  height: 3px;
  border-style: solid;
  border-width: 0 1px 1px 1px;
}
.cable .cable-mid {
  width: 8px;
  height: 15px;
  border-style: solid;
  border-width: 0 1px 0 1px;
  background-repeat: repeat;
}
.cable .cable-bot {
  width: 15px;
  height: 3px;
  border-style: solid;
  border-width: 1px 1px 0 1px;
}
.arrow {
  width: 0;
  height: 0;
}
.arrow-left {
  border-width: 5px 5px 5px 0;
  border-style: solid;
}
.arrow-right {
  border-width: 5px 0 5px 5px;
  border-style: solid;
}
.presence {
	margin-left: 0.25rem;
	margin-right: 0.25rem;
}
@media (min-width: 768px) {
	.presence {
		position: absolute;
	}
	.presence {
		top: 0px;
	}
	.presence {
		right: 0px;
	}
	.presence {
		margin-top: 0.25rem;
		margin-bottom: 0.25rem;
	}
	.presence {
		margin-top: 0.5rem;
		margin-bottom: 0.5rem;
	}
	.presence {
		margin-left: 1rem;
		margin-right: 1rem;
	}
}
.presence {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.human {
  content: url(/images/person-74769d434ac10b6aa2c11bac5da7e8c1.png?vsn=d);
  margin-left: 0.25rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}
body.dark .human {
  content: url(/images/person_dark-e765505c42a65a2fed21cda48c7c1d69.png?vsn=d);
}
/* ====== Light/Dark mode button ====== */
.mode-switch {
  text-align: center;
}
.mode-switch > * {
  vertical-align: middle;
}
.mode-switch img {
  content: url(/images/sunx20-a4895a4fa1aba88ec3bb0984801201cb.png?vsn=d);
  height: 20px;
  display: inline-block;
  position: relative;
  top: 0;
}
.switch {
  border: solid 1px black;
  position: relative;
  display: inline-block;
  margin-left: 20px;
  width: 46px;
  height: 24px;
}
.box {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  transition: 0.4s;
}
.box:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 20px;
  top: 2px;
  left: 2px;
  bottom: 4px;
  background-color: black;
  transition: 0.15s;
}
body.dark .mode-switch + .box {
  background-color: #2196f3;
}
body.dark .mode-switch .box {
  background-color: black;
}
body.dark .box:before {
  background-color: white;
  transform: translateX(20px);
}
body.dark .mode-switch img {
  content: url(/images/moonx20-a767d99a5dce6387f2f1c3171ae6d495.png?vsn=d);
}
.region {
	display: inline-block;
	border-width: 1px;
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
	padding-left: 1rem;
	padding-right: 1rem;
	text-align: center;
	text-transform: uppercase;
}
footer {
	display: flex;
	justify-content: space-around;
	border-top-width: 1px;
	padding-top: 1rem;
	text-transform: uppercase;
}
@media (min-width: 768px) {
	footer {
		justify-content: flex-start;
	}
}
footer ul {
	margin-left: 0px;
	margin-right: 0px;
	margin-right: 0px;
}
@media (min-width: 768px) {
	footer ul {
		margin-right: 5rem;
	}
}
footer ul {
  min-width: 50px;
}
footer li {
	list-style-type: none;
}
/* ===== COLOR ===== */
.alert-danger {
	--tw-border-opacity: 1;
	border-color: rgba(0, 0, 0, var(--tw-border-opacity));
	--tw-bg-opacity: 1;
	background-color: rgba(0, 0, 0, var(--tw-bg-opacity));
	text-align: center;
	text-transform: uppercase;
	--tw-text-opacity: 1;
	color: rgba(255, 255, 255, var(--tw-text-opacity));
}
* {
  transition: background-color 0.1s, border-color 0.2s, border-left 0.2s,
    border-right 0.2s, color 0.2s;
  transition-timing-function: ease-in-out;
  --tw-border-opacity: 1;
  border-color: rgba(0, 0, 0, var(--tw-border-opacity));
  --tw-text-opacity: 1;
  color: rgba(0, 0, 0, var(--tw-text-opacity));
}
.modal-button:hover {
	--tw-bg-opacity: 1;
	background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
	--tw-text-opacity: 1;
	color: rgba(0, 0, 0, var(--tw-text-opacity));
}
.modal-button, .control-btn:hover {
	--tw-bg-opacity: 1;
	background-color: rgba(0, 0, 0, var(--tw-bg-opacity));
	--tw-text-opacity: 1;
	color: rgba(255, 255, 255, var(--tw-text-opacity));
}
.private {
	--tw-bg-opacity: 1;
	background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
}
.private:hover {
	--tw-bg-opacity: 1;
	background-color: rgba(0, 0, 0, var(--tw-bg-opacity));
}
.private:hover a {
	--tw-text-opacity: 1;
	color: rgba(255, 255, 255, var(--tw-text-opacity));
}
#adsr svg line {
  stroke: rgb(0, 0, 0);
}
.control-btn:hover .arrow-left {
  border-right-color: #fff;
}
.control-btn:hover .arrow-right {
  border-left-color: #fff;
}
.arrow-left {
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-right-color: #000;
}
.arrow-right {
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-left-color: #000;
}
.cable .cable-mid {
  background-image: url("/images/texture_2-2a6ce84ce8901a2633864c574e451609.png?vsn=d");
}
.matrix-item.indicator.active {
  background-image: none;
  background-color: #ff5638; /* red */
}
.matrix-item.active {
  background-image: url("/images/texture_1-b7bd9215ac2426fdaf4e2d2b604aae37.png?vsn=d");
  background-repeat: repeat;
}
.matrix-item.indicator.active ~ .matrix-item.active {
  background-color: rgba(0, 0, 0, 0.35);
}
.matrix-item:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
body.dark .alert-danger {
	--tw-border-opacity: 1;
	border-color: rgba(0, 0, 0, var(--tw-border-opacity));
	--tw-bg-opacity: 1;
	background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
	--tw-text-opacity: 1;
	color: rgba(0, 0, 0, var(--tw-text-opacity));
}
body.dark {
	--tw-bg-opacity: 1;
	background-color: rgba(0, 0, 0, var(--tw-bg-opacity));
}
body.dark * {
	--tw-border-opacity: 1;
	border-color: rgba(255, 255, 255, var(--tw-border-opacity));
	--tw-text-opacity: 1;
	color: rgba(255, 255, 255, var(--tw-text-opacity));
}
body.dark #adsr svg line {
  stroke: rgb(255, 255, 255);
}
body.dark .control-btn:hover .arrow-left {
  border-right-color: #000;
}
body.dark .control-btn:hover .arrow-right {
  border-left-color: #000;
}
body.dark .arrow-left {
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-right-color: #fff;
}
body.dark .arrow-right {
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-left-color: #fff;
}
body.dark .matrix-col.active .matrix-item.active {
  background-color: rgba(255, 255, 255, 0.5);
}
body.dark .matrix-col.active .matrix-item.indicator {
  background-color: #ff5638;
}
body.dark .matrix-item:hover {
  background-color: rgba(255, 255, 255, 0.9);
}
body.dark .matrix-col .matrix-item.indicator.active {
  background-image: none;
}
body.dark .matrix-col .matrix-item.active {
  background-image: url("/images/texture_1_dark-e3228a85cefee1e7f5d49907f3ce21d7.png?vsn=d");
}
body.dark .matrix-item.indicator.active ~ .matrix-item.active {
  background-color: rgba(255, 255, 255, 0.8);
}
body.dark .cable .cable-mid {
  background-image: url("/images/texture_2_dark-8f34f5513519c35f1dc2ca8e754114ee.png?vsn=d");
}
body.dark .phx-modal {
  background-color: rgba(100, 100, 100, 0.6);
}
body.dark .phx-modal-content {
  background-color: #000;
}
body.dark .modal-button, body.dark .control-btn:hover {
	--tw-bg-opacity: 1;
	background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
	--tw-text-opacity: 1;
	color: rgba(0, 0, 0, var(--tw-text-opacity));
}
body.dark .modal-button:hover {
	--tw-bg-opacity: 1;
	background-color: rgba(0, 0, 0, var(--tw-bg-opacity));
	--tw-text-opacity: 1;
	color: rgba(255, 255, 255, var(--tw-text-opacity));
}
body.dark .private {
	--tw-bg-opacity: 1;
	background-color: rgba(0, 0, 0, var(--tw-bg-opacity));
}
body.dark .private:hover {
	--tw-bg-opacity: 1;
	background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
}
body.dark .private:hover a {
	--tw-text-opacity: 1;
	color: rgba(0, 0, 0, var(--tw-text-opacity));
}
body.dark .slider {
	--tw-border-opacity: 1;
	border-color: rgba(0, 0, 0, var(--tw-border-opacity));
	--tw-bg-opacity: 1;
	background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
}
