body #content2 #preview {
  position: relative;
  border-radius: 4vmin;
  border: 4vmin solid white;
  width: fit-content;
  margin: auto;
  margin-top: 5em;
  box-shadow: 0px 0px 15px 10px rgba(0, 0, 0, 0.2);
  --pourcent: 0%;
}
body #content2 #preview .loader {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 250ms ease 0ms, z-index 0ms ease 250ms;
}
body #content2 #preview .loader.visible {
  transition: opacity 250ms ease 0ms, z-index 0ms ease 0ms;
  opacity: 1;
  z-index: 4;
}
body #content2 #preview .loader div {
  width: 8%;
  background: rgba(169, 189, 249, 0.9);
  border: 1px solid white;
  animation: loading-k 1s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
body #content2 #preview .loader div + div {
  margin-left: 4%;
}
body #content2 #preview .loader div:nth-child(1) {
  animation-delay: 0;
}
body #content2 #preview .loader div:nth-child(2) {
  animation-delay: 125ms;
}
body #content2 #preview .loader div:nth-child(3) {
  animation-delay: 250ms;
}
@keyframes loading-k {
  0% {
    height: 50%;
  }
  50%,
  100% {
    height: 20%;
  }
}
body #content2 #preview .grey {
  max-width: 60vw;
  max-height: 30vh;
  filter: grayscale(calc(100% - var(--pourcent)));
  transition: filter 500ms ease;
}
body #content2 label[for=message] {
  display: block;
  font-weight: bold;
  color: black;
  margin-top: 2em;
  margin-bottom: 0.5em;
}
body #content2 textarea#message {
  font-family: inherit;
  resize: none;
  padding: 1em;
  border: 1px solid rgba(0, 0, 0, 0.25);
}
body[step=step2] #content2 {
  transition: opacity 500ms ease, transform 500ms ease, z-index 0ms ease 0ms;
  z-index: 2;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
body:not([step=step2]) #content2 {
  transition: opacity 250ms ease, transform 250ms ease, z-index 0ms ease 500ms;
  z-index: -1;
  opacity: 0;
  transform: translate3d(0, 2em, 0);
}
