:root {
  --c1: #fff;
  --color_h: #000;
  --color_dark: #1a191d;

  --color_red: #d84633;
  --color_green: #5cc930;
  --color_blue: #2196F3;

  --color_glow: #2df7f7;

  --color_back: #686868;
  --color_elem: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  color: #000;
  padding: 0px;
  margin: 0px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.0vh;
  min-height: 100vh;

  background-color: #fff;
}

@media (max-aspect-ratio: 8/9) {
  body {
    font-size: 1.6vh;
  }
}

.heading,
h1,
h2,
h3,
h4,
h5,
h6 {
  display: block;
  font-weight: bold;
  margin: 0;

  padding: 0.25em;
  text-align: center;
  color: var(--color_h);
}

h1 {
  font-size: 2.5em;
}

h2 {
  font-size: 2em;
}

h3 {
  font-size: 1.5em;
}

h4 {
  font-size: 1.17em;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 0.9em;
}

[shadow] .shadow {
  -webkit-box-shadow: inset 0px 0px 0.5em 0.2em #000;
  -moz-box-shadow: inset 0px 0px 0.5em 0.2em #000;
  box-shadow: inset 0px 0px 0.5em 0.2em #000;
}

a {
  color: currentColor;
  text-decoration: none;
}

u {
  text-decoration: underline;
}

button,
input[type="submit"],
input[type="reset"] {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

button,
[button] {
  background: var(--c1);
  font-size: 1.0em;
  padding-left: 0.25em;
  padding-right: 0.25em;
  cursor: pointer;
  display: inline-flex;
  display: -webkit-inline-flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}

button:focus,
button:hover,
[button]:focus,
[button]:hover {
  box-shadow: inset 0px 0px 0.15em 0px #000;
}

button:focus>*,
button:hover>*,
[button]:focus>*,
[button]:hover>* {
  transform: scale(0.8);
}

button>*,
[button]>* {
  color: #000;
}

input {
  color: #fff;
  background: #000;
  font-family: inherit;
  font-size: inherit;
  text-shadow: inherit;
}

input:focus {
  outline: none !important;
}

[loadingbar] {
  --percent: 50;
  display: flex;
  border-top: solid
    /* border :2px solid white; */
}

[loadingbar]::before {
  content: "";
  flex-grow: calc(var(--percent)*0.01);
  display: block;
  background: #4f4f4f;
  filter: drop-shadow(0 0 0.3em #4f4f4f)
}

[collapse] {
  display: grid;
  grid-template-rows: 1fr;
  transition: 1.0s;
  overflow: hidden;
}

[collapse="true"] {
  grid-template-rows: 0fr;
}

[collapse]>* {
  min-height: 0;
}

[collapse_width] {
  display: grid;
  grid-template-columns: 1fr;
  transition: 1.0s;
  overflow: hidden;
}

[collapse_width="true"] {
  grid-template-columns: 0fr;
}

[collapse_width]>* {
  min-width: 0;
}

[glass] {
  backdrop-filter: blur(0.15rem);
  border: 0.05em solid #d2d2d22b;
  background: linear-gradient(-45deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.12) 100%);
  box-shadow: 0 0 0.3em #444;
}

[collapse="false"] {
  margin: 0.2em;
}

[qrcode] {
  height: 6em;
}

[qrcode-frame] {
  display: flex;
  flex-direction: column;
  text-align: center;
}