*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background: #eee;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

#ui {
  margin: 0 auto;
  padding: 1.25em;
  max-width: 1040px;
}

#dropzone {
  background: white;
  border: 2px dashed #ccc;
  border-radius: 0.5em;
  color: color-mix(in srgb, steelblue 65%, slategray 35%);
  display: flex;
  height: 9em;
  justify-content: center;
  margin: 1em 0;
  position: relative;
  transition: all 1s;
}

#dropzone .inner {
  align-self: center;
  text-align: center;
  width: 100%;
}

#dropzone input {
  bottom: 0;
  display: block;
  left: 0;
  opacity: 0;
  right: 0;
  top: 0;
  cursor: pointer;
  position: absolute;
}

#dropzone figure {
  color: color-mix(in srgb, steelblue 65%, midnightblue 35%);
  margin: 0 auto;
  padding: 0;
  width: 40px;
}

#dropzone figure svg {
  opacity: 25%;
  width: 100%;
  transition: opacity 1s;
}

#dropzone:hover figure svg {
  opacity: 75%;
  width: 100%;
}

#dropzone span {
  font-size: 1em;
}

#upload-indicators {
  list-style: none;
  margin: 0.5em 0 1em;
  padding: 0;
}

#upload-indicators li {
  align-items: center;
  background: gray;
  color: white;
  display: flex;
  font-size: 0.875em;
  gap: 0.75em;
  margin: 2px 0;
  padding: 0.5em 1em;
  transition: all 0.75s;
}

#upload-indicators li.resolved {
  background: SeaGreen;
  color: white;
}
#upload-indicators li.resolved::after {
  content: "\00A0\2713";
  font-weight: 700;
}

#upload-indicators li.resolved .loader {
  display: none;
}

p#masked {
  background-image: url("/static/img/glitter.bced5fed8095.jpg");
  background-size: cover;
  background-position: center;
  background-clip: text;
  color: transparent;
  font-size: 3em;
  font-weight: 700;
  line-height: 1.2;
  margin: 1em auto;
  opacity: 0;
  text-align: center;
  transition: opacity 1s ease-in;
}

p#masked.revealed {
  display: block;
  opacity: 1;
}

.loader {
  animation: rotation 1s linear infinite;
  border: 2px solid #FFF;
  border-bottom-color: transparent;
  border-radius: 50%;
  box-sizing: border-box;
  height: 1em;
  width: 1em;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
  }

#console p {
  border-bottom: 1px solid #ccc;
  font-size: 0.875em;
  color: rgba(0, 0, 0, 0.5);
  padding: 1em 0;
}


