/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 10px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 16px;
  border: 1px solid #888;
  width: 90%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


* {
  box-sizing: border-box;
}

canvas {
  background: transparent;
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  font-size: 16px;
}

input, select{
  outline: none;
}

.canvas {
  padding: 1em 1.5em;
}

#form{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 10px;
}

#form .form-item{
  flex-grow: 1;
  padding: 5px 10px;
  background-color: #f5f5f5;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

#form .form-item .button{
  background-color: #1ba035;
  color: #fff;
  border: 1px solid #fff;
}

.btns{
  display: flex;
  justify-content: flex-end;
  padding-right: 0.5em;
}

body {
  margin: 0 auto;
  /* padding:3vmin 3vmin; */
  max-width: 35em;
  word-wrap: break-word;
  font-size: 16px;
  font-weight: 300;
  line-height: 160%;
  margin: 0;
  max-width: inherit;
}

#title {
  font-weight: 400;
  font-size: 100%;
  width: 100%;
  max-width: 500px;
  margin-bottom: 1em;
}
:root {
  --modal-bg-color: rgba(0, 0, 0, 0.4);
  --modal-content-bg-color: #fefefe;
  --button-bg-color: rgba(255, 255, 255, 0.1);
  --button-hover-bg-color: rgba(0, 0, 0, 0.9);
  --button-hover-shadow: 0px 0px 0.25em #0066ff;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 10px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: var(--modal-bg-color);
}
.modal-content {
  background-color: var(--modal-content-bg-color);
  margin: auto;
  padding: 16px;
  border: 1px solid #888;
  width: 90%;
}
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
* {
  box-sizing: border-box;
}
canvas {
  background: transparent;
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  font-size: 16px;
}
input, select {
  outline: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  height: 1.5em;
  line-height: 1.5em;
  font-size: 16px;
  display: inline-block;
}
.button {
  background-color: var(--button-bg-color);
  color: black;
  border-style: none;
  border-radius: 1em;
  border: 1px solid rgba(0, 0, 0, 0.3);
  padding: 0px 1em;
  min-width: 2em;
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 0.8em;
  margin-right: 0.5em;
  text-decoration: none;
  cursor: pointer;
}
.button:hover {
  background-color: var(--button-hover-bg-color);
  color: white;
  box-shadow: var(--button-hover-shadow);
}
.button:focus {
  outline: none;
  box-shadow: 0px 0px 2px #0066ff;
  border-radius: 1em;
}
body,
input,
select,
label {
  font-weight: 300;
  font-family: var(--font-family);
}
@media (prefers-color-scheme: dark) {
  body {
    background: #333;
    color: white;
  }
  input,
  select,
  a,
  button,
  .button {
    color: white;
  }
  input,
  select {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
}