* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  align-items: center;
  background-color: #0f0f0f;
  display: flex;
  justify-content: center;
  margin: 1rem;
  overflow: scroll;
  /* height: 100vh; */
}

img {
  margin: 0 auto;
}

.flexs {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
}

h1.title {
  color: #FFF; text-align: center;
}

.form {
  background-color: transparent;
  border-radius: 20px;
  box-sizing: border-box;
  padding: 20px;
  width: 65%;
  margin: 15px auto 0 auto;
  border:0px dotted darkgrey;
  margin-bottom: 3rem;
  /* display: none; */
  transition: 1s;
  border-width: medium;
  border-style: solid;
}

.title {
  text-align: center;
  color: #eee;
  font-family: sans-serif;
  font-size: 36px;
  font-weight: 600;
  margin-top: 30px;
}

.subtitle {
  text-align: center;
  color: #eee;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
}

.input-container {
  height: 50px;
  position: relative;
  width: 100%;
}

.ic1 {
  margin-top: 40px;
}

.ic2 {
  margin-top: 30px;
}

.input {
  background-color: #303245;
  border-radius: 12px;
  border: 0;
  box-sizing: border-box;
  color: #eee;
  font-size: 18px;
  height: 100%;
  outline: 0;
  padding: 4px 20px 0;
  width: 100%;
}

.cut {
  background-color: transparent;
  border-radius: 10px;
  height: 20px;
  left: 20px;
  position: absolute;
  top: -20px;
  transform: translateY(0);
  transition: transform 200ms;
  width: 76px;
}

.cut-short {
  width: 50px;
}

input#nominal {
  color: #fff;
}

.input:focus~.cut,
.input:not(:placeholder-shown)~.cut {
  transform: translateY(8px);
}

.placeholder {
  color: #fff;
  font-family: sans-serif;
  /* left: 10px; */
  /* line-height: 14px; */
  /* pointer-events: none;
  position: absolute;
  transform-origin: 0 50%;
  transition: transform 200ms, color 200ms; */
  /* top: 20px; */
}

.input:focus~.placeholder,
.input:not(:placeholder-shown)~.placeholder {
  transform: translateY(-40px) translateX(0px) scale(0.75);
}

.input:not(:placeholder-shown)~.placeholder {
  color: #FFF;
}

.input:focus~.placeholder {
  color: #FFF;
}

.submit, .fade {
  background-color: #212121;
  border-radius: 12px;
  border: 0;
  box-sizing: border-box;
  color: #eee;
  cursor: pointer;
  font-size: 18px;
  height: 50px;
  /* margin-top: 25px; */
  /* outline: 0; */
  text-align: center;
  width: 100%;
}

.submit1, .fade1 {
  background-color: #212121;
  border-radius: 12px;
  border: 0;
  box-sizing: border-box;
  color: #eee;
  cursor: pointer;
  font-size: 18px;
  height: 50px;
  /* margin-top: 25px; */
  /* outline: 0; */
  text-align: center;
  width: 49%;
  margin-right: 1%;
}

.submit2, .fade2 {
  background-color: #212121;
  border-radius: 12px;
  border: 0;
  box-sizing: border-box;
  color: #eee;
  cursor: pointer;
  font-size: 18px;
  height: 50px;
  /* margin-top: 25px; */
  /* outline: 0; */
  text-align: center;
  width: 49%;
  margin-left: 1%;
}

#hint {
  margin-top: 5px;
  margin-left: 5px;
  color: grey;
}

#container-qr {
  text-align: center;
}

.submit:active {
  background-color: #06b;
}

#qr {
  /* padding: 2rem; */
  display: block;
  justify-content: center;
}

#container-qr #qr img {
  width: 300px;
  height: 300px;
}

.download {
  display: block;
  background-color: #212121;
  border-radius: 12px;
  border: 0;
  padding: .5rem 0;
  /* width: 250px; */
  box-sizing: border-box;
  color: #eee;
  cursor: pointer;
  font-size: 18px;
  margin-top: 38px;
  text-align: center;
  margin: 1rem auto;
  text-decoration: none;
}

@media screen and (max-width: 400px) {
  #container-qr #qr img {
    width: 100%;
    height: 100%;
  }
}

@media screen and (max-width: 700px) {
  .form {
    width: 100%;
  }
}

@keyframes fade-out {
  from {
    opacity: 100%;
  }
  to {
    opacity: 0%;
  }
}

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

.textshow {
  padding-top: 15px;
  color: #FFF;
  font-size: 20px;
}

.textshow a {
  color: #FFF;
  text-decoration: none;
}

#novadisplay {
  text-decoration: underline;
}

.textshow ul, .textshow ol {
  padding-left: 20px;
  margin: 0.2em 0;
  list-style-position: outside;
}

.textshow li {
  padding-left: 0;
}

.textshow ol {
  list-style-type: decimal;
}