@font-face {
  font-family: "AmericanTypewriter";
  src: url("../fonts/AmericanTypewriterCondensedBold.ttf") format("truetype");
}
@font-face {
  font-family: "Palatino";
  src: url("../fonts/PalatinoBoldItalic.ttf") format("truetype");
}
[contenteditable=true]:empty:before {
  content: attr(placeholder);
}
* {
  font-size: 1em;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  background-color: #FFFFFF;
  padding: 0;
  margin: 0;
}
body input,
body textarea {
  appearance: none;
  border: none;
  font-size: 1em;
  display: block;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
}
body input::placeholder,
body textarea::placeholder {
  font-family: Arial, Helvetica, sans-serif;
  opacity: 0.8;
}
body input[type="file"] {
  display: none;
}
body #content {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: url(../img/background.jpg);
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
}
body #content #content0,
body #content #content1,
body #content #content2,
body #content #content3 {
  will-change: opacity, transform;
  position: absolute;
  inset: 0;
  overflow: scroll;
  padding: 2em;
  -webkit-mask: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #ffffff 2em, #ffffff 100%);
}
body #back {
  position: absolute;
  left: 1em;
  top: 2em;
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.5);
  background-color: white;
  width: 1.2em;
  height: 1.2em;
  border-radius: 100%;
  padding: 1em;
  opacity: 0;
  z-index: -1;
  transition: opacity 250ms ease 0ms, z-index 0ms ease 250ms;
}
body #back.visible {
  transition: opacity 250ms ease 0ms, z-index 0ms ease 0ms;
  opacity: 0.95;
  z-index: 4;
}
body button[type=submit] {
  appearance: none;
  border: 1px solid;
  font-weight: bold;
  background-color: white;
  padding: 1em 2em;
  margin-top: 3em;
  width: 100%;
  opacity: 1;
  color: black;
}
body button[type=submit]:disabled {
  opacity: 0.25;
  transition: all 250ms ease;
}
body button[type=submit]:disabled.success {
  opacity: 1;
}
body:not([step=step0]) form .fade {
  opacity: 1;
}
body form {
  margin: 0;
  position: absolute;
  inset: 0;
}
body form .fade {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: -webkit-linear-gradient(270deg, rgba(255, 255, 255, 0) 0px, #ffffff 35%, #ffffff 100%);
  opacity: 0;
  transition: opacity 500ms ease;
}
