@page {
  margin: 1cm;
  size: 1500px 1050px;
}

@media print {
  .noprint {
    display: none;
  }
}

@keyframes fadein {
  from {
    transform: scale(0.98);
    filter: opacity(0.3) blur(1px);
  }

  to {
    transform: scale(1);
    filter: opacity(1) blur(0px);
  }
}

body {
  font-family: sans-serif;
  --font-big: calc(min(4.5vw, 30px));
  --font-small: 18px;
  --font-smallest: 14px;
  --animation-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --scale: calc(max(20vmin - 120px, 5px));
  overflow: hidden;
  background: #eeeeee;
  animation-name: fadein;
  animation-duration: 0.5s;
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100vh;
  width: 100vw;
  margin: 0px;
}

h2 {
  font-size: var(--font-big);
}

*[contenteditable="true"]:after {
  content: "✎";
  opacity: 1;
  margin-left: 10px;
  transform: scaleX(-1) scale(0.85);
  transform-origin: center;
  display: inline-block;
  transition: all 0.5s;
  transition-timing-function: var(--animation-bounce);
}

*[contenteditable="true"]:not(:focus):after {
  opacity: 1;
  transform: scaleX(-1) scale(0.85);
}

*[contenteditable="true"]:focus:after {
  opacity: 0;
  transform: scaleX(-1) scale(0.1);
}

p {
  font-size: var(--font-small);
}

input {
  font-size: var(--font-small);
  border: none;
  box-shadow: 0px 0px 3px 1px #aaaaaa;
  border-radius: 3px;
  background: white;
  padding: 2px;
}

select {
  font-size: var(--font-small);
  border: none;
  box-shadow: 0px 0px 3px 1px #aaaaaa;
  border-radius: 3px;
  background: white;
  padding: 2px;
}

span {
  font-size: var(--font-small);
}

h4 {
  font-size: var(--font-small);
}

a {
  font-size: var(--font-small);
  color: black;
  text-decoration: underline;
  text-decoration-color: darkorange;
}

button {
  box-shadow: 0px 0px 3px 1px #aaaaaa;
  border: none;
  border-radius: 3px;
  padding: 3px 6px;
  background: white;
}

.middle {
  position: absolute;
  text-align: center;
  width: 100%;
  top: 40%;
  left: 0px;
}

.middle_h {
  left: 0px;
  width: 100%;
  text-align: center;
}

.middle_v {
  position: absolute;
  top: 40%;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  margin-top: -3px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 5px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 4px;
  box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.3);
}

input:checked + .slider {
  background-color: orange;
}

input:focus + .slider {
  box-shadow: 0 0 1px orange;
}

input:checked + .slider:before {
  transform: translateX(18px);
}

#error {
  position: relative;
  margin: 0px;
  left: 0px;
  height: 0px;
  width: 100%;
  background: red;
  overflow: hidden;
  text-align: center;
  color: white;
}
