@import url(https://fonts.googleapis.com/css2?family=Silkscreen:wght@400&display=swap);
html {
  height: 100%;
  margin: 0;
}
html body {
  display: flex;
  flex-flow: column;
  font-family: sans-serif;
  height: 100%;
  margin: 0;
  width: 100%;
}
html body * {
  box-sizing: border-box;
}
html body header {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  background-color: #995fa3;
  height: 50px;
  padding: 10px;
}
html body header .title {
  background: linear-gradient(90deg, red, orange, yellow, green, blue, purple);
  background-clip: text;
  -webkit-background-clip: text;
  color: #FFF;
  font-family: "Silkscreen", cursive;
  font-size: 26px;
  text-decoration: none;
  transition: color 0.5s ease-in-out;
}
html body header .title:hover {
  color: transparent;
  transition: 500ms ease;
}
html body header nav {
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
html body header nav li {
  color: #FFF;
  list-style: none;
}
html body header nav a {
  color: #FFF;
  text-decoration: none;
}
html body header nav a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  html body header nav {
    display: none;
  }
}
html body header .mobile-toggle {
  display: none;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  color: #FFF;
  font-size: 32px;
  height: 50px;
  width: 50px;
}
html body header .mobile-toggle:hover {
  color: #802392;
}
@media (max-width: 768px) {
  html body header .mobile-toggle {
    display: flex;
  }
}
html body section.content_wrapper {
  display: grid;
  position: relative;
  flex: 1 0 auto;
  grid-template-columns: 200px 1fr;
}
html body section.content_wrapper > .sidebar {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  position: relative;
  align-items: flex-start;
  background-color: #802392;
  gap: 10px;
}
html body section.content_wrapper > .sidebar > a {
  display: block;
  color: #FFF;
  font-size: 16px;
  padding-left: 10px;
  padding-right: 10px;
  text-decoration: none;
}
html body section.content_wrapper > .sidebar > a:hover span {
  text-decoration: underline;
}
html body section.content_wrapper > .sidebar > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
html body section.content_wrapper > .sidebar > ul li .section-label {
  display: flex;
  flex-flow: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.3137254902);
  color: #FFF;
  font-family: monospace;
  font-size: 16px;
  font-weight: 700;
  height: 30px;
  letter-spacing: 2px;
  line-height: 1;
  padding: 0 10px;
  text-transform: uppercase;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
html body section.content_wrapper > .sidebar > ul li > .sub-menu {
  list-style: none;
  padding-left: 0;
}
html body section.content_wrapper > .sidebar > ul li > .sub-menu > li > a {
  display: block;
  color: #FFF;
  font-size: 14px;
  padding: 4px 10px;
  text-decoration: none;
}
html body section.content_wrapper > .sidebar > ul li > .sub-menu > li > a:hover {
  background: rgba(255, 255, 255, 0.1450980392);
}
html body section.content_wrapper > .sidebar > ul li > .sub-menu > li > .sub-menu {
  list-style: none;
  padding: 0;
}
html body section.content_wrapper > .sidebar > ul li > .sub-menu > li > .sub-menu > li {
  padding: 0 0 0 20px;
}
html body section.content_wrapper > .sidebar > ul li > .sub-menu > li > .sub-menu > li > a {
  display: block;
  color: #FFF;
  font-size: 12px;
  margin-left: -20px;
  text-decoration: none;
}
html body section.content_wrapper > .sidebar > ul li > .sub-menu > li > .sub-menu > li > a:hover {
  background: rgba(255, 255, 255, 0.1450980392);
}
html body section.content_wrapper > .sidebar > ul li > .sub-menu > li > .sub-menu > li > a:before {
  content: "- ";
  padding-left: 10px;
}
html body section.content_wrapper > .sidebar > ul li > .sub-menu > li > .sub-menu > li:last-child {
  margin-bottom: 0;
}
html body section.content_wrapper > .sidebar > ul li > .sub-menu > li:last-child {
  margin-bottom: 0;
}
html body section.content_wrapper > .sidebar > ul li:first-child .section-label {
  margin-top: 0;
}
html body section.content_wrapper > .sidebar > nav {
  margin-top: auto;
  padding-bottom: 10px;
}
html body section.content_wrapper > .sidebar > nav li {
  margin-bottom: 10px;
}
html body section.content_wrapper > .sidebar > nav li a,
html body section.content_wrapper > .sidebar > nav li span {
  display: block;
  color: #FFF;
  font-size: 18px;
  padding-left: 10px;
  padding-right: 10px;
  text-decoration: none;
}
html body section.content_wrapper > .sidebar > nav li a:hover span,
html body section.content_wrapper > .sidebar > nav li span:hover span {
  text-decoration: underline;
}
html body section.content_wrapper > .sidebar > nav li:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  html body section.content_wrapper > .sidebar {
    display: flex;
    position: absolute;
    top: 0;
    right: -240px;
    height: 100%;
    overflow: scroll;
    transition: right 0.5s ease-in-out;
    width: 240px;
    z-index: 2;
  }
  html body section.content_wrapper > .sidebar a,
  html body section.content_wrapper > .sidebar ul li .section-label,
  html body section.content_wrapper > .sidebar ul li a,
  html body section.content_wrapper > .sidebar nav li,
  html body section.content_wrapper > .sidebar nav li a {
    font-size: 20px !important;
  }
  html body section.content_wrapper > .sidebar.open {
    right: 0;
    transition: right 0.5s ease-in-out;
  }
}
html body section.content_wrapper > .content {
  background-color: #ecfef6;
  font-size: 14px;
  max-height: calc(100vh - 90px);
  overflow-x: hidden;
  overflow-y: scroll;
  padding: 10px;
}
html body section.content_wrapper > .content h1 {
  display: flex;
  flex-flow: row wrap;
  border-bottom: 1px solid #333;
  font-family: "Silkscreen", cursive;
  font-size: 26px;
  margin: 0 0 10px;
  padding-bottom: 10px;
}
html body section.content_wrapper > .content h1 span {
  line-height: 1;
}
html body section.content_wrapper > .content h1 .buttons {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
html body section.content_wrapper > .content h1 .buttons button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #802392;
  border: unset;
  border-radius: 4px;
  color: #ecfef6;
  cursor: pointer;
  font-family: sans-serif;
  font-weight: bold;
  height: 24px;
  padding: 4px 10px;
  text-transform: uppercase;
}
html body section.content_wrapper > .content h1 .buttons button:hover {
  background-color: #995fa3;
}
html body section.content_wrapper > .content h1 form {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  -moz-column-gap: 10px;
       column-gap: 10px;
  flex: 0 0 auto;
  height: 100%;
  margin-left: auto;
}
html body section.content_wrapper > .content h1 form select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-position-x: 100%;
  background-position-y: 1px;
  background-repeat: no-repeat;
  border: unset;
  border-bottom: 1px solid #000;
  margin-bottom: 0;
  padding: 4px;
  width: 70px;
}
html body section.content_wrapper > .content h1 form select[disabled] {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px 4px 0 0;
  color: #000;
  opacity: 1;
}
html body section.content_wrapper > .content h1 form input[type=submit] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #802392;
  border: unset;
  border-radius: 4px;
  color: #ecfef6;
  cursor: pointer;
  font-family: sans-serif;
  font-weight: bold;
  padding: 4px 10px;
  text-transform: uppercase;
}
html body section.content_wrapper > .content h1 form input[type=submit]:hover {
  background-color: #995fa3;
}
@media (max-width: 768px) {
  html body section.content_wrapper > .content h1 {
    height: -moz-fit-content;
    height: fit-content;
  }
  html body section.content_wrapper > .content h1 span {
    margin-bottom: 10px;
  }
  html body section.content_wrapper > .content h1 .buttons {
    justify-content: space-between;
    position: fixed;
    bottom: 40px;
    left: 0;
    background-color: #ecfef6;
    box-shadow: 0 0 10px -5px #000;
    box-shadow: 0 0 5px -2px #000;
    padding: 10px 20px;
    width: 100%;
    z-index: 1;
  }
  html body section.content_wrapper > .content h1 .buttons button {
    height: auto;
    padding: 10px;
  }
  html body section.content_wrapper > .content h1 form {
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #ecfef6;
    box-shadow: 0 0 10px -5px #000;
    box-shadow: 0 0 5px -2px #000;
    padding: 10px 20px;
    width: 100%;
    z-index: 1;
    height: auto;
  }
  html body section.content_wrapper > .content h1 form input {
    height: auto;
    padding: 10px !important;
  }
  html body section.content_wrapper > .content h1 form select {
    flex: 0 1 50%;
  }
}
html body section.content_wrapper > .content h2 {
  font-size: 20px;
  margin: 0 0 10px;
}
html body section.content_wrapper > .content h3 {
  font-size: 18px;
}
html body section.content_wrapper > .content .code_block pre {
  background-color: #CCC;
  font-family: monospace, monospace;
  max-width: 600px;
  padding: 20px;
  white-space: pre-line;
}
@media (max-width: 768px) {
  html body section.content_wrapper > .content {
    padding: 10px 10px 70px 10px;
  }
}
html body section.content_wrapper > .toast {
  display: flex;
  flex-flow: column;
  justify-content: center;
  position: fixed;
  bottom: 50px;
  left: 50%;
  align-items: center;
  background-color: #995fa3;
  border-radius: 4px;
  box-shadow: 0px 0px 10px 0px #000;
  color: #FFF;
  max-width: 300px;
  min-width: 100px;
  padding: 10px 20px;
  text-align: center;
  transform: translateX(-50%);
  z-index: 10;
}
@media (max-width: 768px) {
  html body section.content_wrapper {
    grid-template-columns: 1fr;
    overflow: hidden;
  }
}
html body footer {
  background-color: #9a98b5;
  height: 40px;
  padding: 10px;
  position: relative;
  z-index: 2;
}

.table {
  display: grid;
  grid-template-columns: auto;
  row-gap: 10px;
}
.table > .row {
  display: inline-grid;
  -moz-column-gap: 6px;
       column-gap: 6px;
  grid-template-columns: repeat(var(--cols), 1fr);
}
.table > .row.header > div {
  border-bottom: 1px solid #CCC;
}
.table > .row > div {
  display: inline-grid;
  padding: 2px 6px;
  text-align: left;
}
.table > .row > div.span {
  grid-column: 1/span var(--span);
}
.table > .row.header {
  font-weight: bold;
}

.toggle {
  display: inline-block;
  position: relative;
  height: 25px;
  width: 50px;
}
.toggle input {
  display: none;
}
.toggle input:checked + .slider {
  background-color: green;
}
.toggle input:checked + .slider:before {
  transform: translateX(24px);
}
.toggle .slider {
  display: block;
  position: relative;
  background-color: gray;
  border-radius: 6px;
  cursor: pointer;
  height: 25px;
  transition: 0.4s;
  width: 50px;
}
.toggle .slider:before {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background-color: white;
  border-radius: 6px;
  content: "";
  height: 17px;
  transition: 0.4s;
  width: 17px;
}

.hidden {
  display: none;
}
@media (max-width: 768px) {
  .hidden-mobile {
    display: none;
  }
}

.blocks {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 20px;
  max-width: 700px;
}
.blocks .block {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  position: relative;
  background-color: #a0b9c6;
  border-radius: 6px;
  box-shadow: 2px 2px 5px -2px #000;
  min-height: 80px;
  padding: 4px;
}

.cp-color-picker {
  z-index: 3;
}
