*, html {
  padding: 0;
  margin: 0;
  font-family: "Outfit", sans-serif;
}
body {
  margin: 15px;
}
a {
  text-decoration: none;
  color: inherit;
}
#header {
  position: fixed;
  right: 0;
  bottom: 10px;
}
#header a {
  display: block;
  text-align: right;
  margin-bottom: 5px;
}
.st, .en, .bl {
  display: block;
  font-size: 140%;
}
.bl:after {
  content: ",";
}
.in-1 {
  padding-left: 20px;
}
.in-2 {
  padding-left: 40px;
}
.bl.in-1, .bl.in-2, .en.in-2 {
  width: max-content;
}
input[type='text'] {
  font-size: 100%;
  width: 450px;
  border-block-width: 2px;
  border-bottom-style: dotted;
  border-top: none;
  border-left: none;
  border-right: none;
  outline: none;
}
select.select-type {
  font-size: 98%;
  min-width: 450px;
  border-block-width: 2px;
  border-bottom-style: dotted;
  outline: none;
  padding: initial;
  background-color: transparent;
}
textarea.ta-details {
  font-size: 100%;
  width: 450px;
  height: 142px;
  border-block-width: 2px;
  border-bottom-style: dotted;
  vertical-align: text-top;
  border-top: none;
  border-left: none;
  border-right: none;
  outline: none;
}
input[type='datetime-local'] {
  font-size: 100%;
  border-block-width: 2px;
  border-bottom-style: dotted;
  border-top: none;
  border-left: none;
  border-right: none;
  outline: none;
}
input[type='text']:focus, select.select-type:focus, textarea.ta-details:focus, input[type='datetime-local']:focus {
  outline: none;
}
.action {
  font-family: monospace;
  font-size: 133%;
  cursor: pointer;
  color: cornflowerblue;
  background: #f1f3f4;
  padding: 1px 4px;
}
.block-num {
  width: 20px;
  display: inline-block;
  text-align: right;
  margin-right: 7px;
  font-family: monospace;
  font-size: 130%;
}
.block-num:after {
  content: ":";
}
#feats code {
  background-color: antiquewhite;
  padding: 2px;
}
input#p {
  width: 402px;
}
#reset {
  display: none;
}
#errdesc:before, #errdesc:after {
  content: "\"";
}
#output, #error {
  display: none;
}
#error {
  color: red;
}
.boolean.true {
  color: mediumpurple;
}
.boolean.false {
  color: orangered;
}
.padlock {
  position: relative;
  top: 3px;
}
.timer {
  position: relative;
  top: 2px;
  padding-left: 2px;
}
#qr {
  position: relative;
  top: 2px;
  cursor: pointer;
}
#qr-place {
  text-align: center;
}
.qr-download-group {
  margin-top: 20px;
  display: flex;
  justify-content: space-evenly;
}
.qr-download-group .left, .qr-download-group .right {
  display: flex;
}
#qr-download, #qr-extension{
  cursor: pointer;
}
button {
  padding: 10px;
  transition: background-color 0.2s ease-out;
  background-color: #d7d7d7;
  border: none;
}
select {
  padding: 9px;
  transition: background-color 0.2s ease-out;
  background-color: #d7d7d7;
  border: none;
}
.button:hover, button:hover, select:hover, input[type="color"]:hover {
  background-color: #c3c3c3;
}
body.blue {
  background-color: aliceblue;
}
.content {
  text-align: center;
}
.icon-locked {
  margin-top: 60px;
}
#text-alert {
  margin-top: 10px;
  color: red;
}
.text-locked {
  margin-top: 30px;
}
.label {
  margin-top: 20px;
  font-size: 140%;
}
.passcode {
  margin-top: 30px !important;
  border: 2px solid #e2f2ff !important;
  padding: 10px !important;
  text-align: center !important;
  border-radius: 7px !important;
  letter-spacing: 5px !important;
  color: cornflowerblue !important;
  font-size: 250% !important;
  width: 500px !important;
}
#formuser {
  display: contents;
}
#formuser .action:hover {
  background-color: #f1f3f4;
}
img#propic {
  width: 27px;
  vertical-align: sub;
  border-radius: 15px;
}
img#propic[src=""] {
  display: none;
}
.shorten {
  display: inline-block;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.shorten:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #07C;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 100% 50%;
  transform-origin: 100% 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition: 300ms ease-out;
  transition: 300ms ease-out;
}
.shorten.copied, .shorten.copied:hover, .shorten.copied:before {
  color: #FFF;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
#random {
  cursor: pointer;
  position: relative;
  top: 3px;
  transition: transform 0.5s ease;
  display: none;
}
#random:focus {
  outline: none !important;
}
#random, .shorten, .timer, .padlock {
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(255,255,255, 0);
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#selclr {
  display: none;
}
#blocked {
  background: black;
  opacity: 0.94;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  color: white;
  font-size: 140%;
  display: none;
  justify-content: center;
  align-items: center;
  text-align: center;
}
#mapinfo, #mapmonth {
  display: none;
  position: fixed;
  z-index: 1000;
  border: 2px solid rgba(0, 0, 0, 0.2);
  background-clip: padding-box;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
  border-radius: 4px;
  box-shadow: none;
  background-color: #fff;
  padding: 9px;
  font-size: 85%;
}
#mapinfo {
  bottom: 0px;
  margin: 0 10px 10px 10px;
}
#mapmonth {
  display: block;
  top: 0;
  right: 0;
  margin: 10px 10px 0 0;
  pointer-events: none;
  min-width: 64px;
  text-align: center;
}

/* For dark mode */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #ffffff;
  }
  body.blue {
    background-color: #1c2227;
  }
  input[type='text'], select.select-type, textarea.ta-details, input[type='datetime-local'] {
    background-color: #121212;
    color: white;
  }
  input[type='datetime-local'] {
    color-scheme: dark;
  }
  svg {
    fill: #ffffff;
  }
  #feats code {
    background-color: #302618;
  }
  #error, #text-alert {
    color: #ff1205;
  }
  .action {
    background: #232425;
    color: #3d75c9;
  }
  button, select {
    background-color: #393939;
    color: #ffffff;
  }
  .passcode {
    background-color: #121212;
    border-color: #4d5257 !important;
  }
}

/* For light mode */
@media (prefers-color-scheme: light) {
  body {
    background-color: #ffffff;
    color: #000000;
  }
}

@media screen and (max-width: 768px) {
  .passcode {
    width: 480px !important;
  }
}

@media screen and (max-width: 480px) {
  /*#feats {
    display: none;
  }*/
  .passcode {
    width: 320px !important;
  }
}
