@font-face {
  font-family: "BioWipeLoadingGambarino";
  src: url("https://static.igem.wiki/teams/6143/wiki/gambarino-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

#biowipe-loader[hidden] { display: none; }
#biowipe-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  place-items: center;
  background: #f8f4ed;
  color: #294b3d;
  opacity: 1;
  transition: opacity 140ms ease;
  font-family: "BioWipeLoadingGambarino", Georgia, serif;
}
#biowipe-loader.bw-leaving { opacity: 0; pointer-events: none; }
#biowipe-loader * { box-sizing: border-box; }
.bw-panel { width: 280px; display: flex; flex-direction: column; align-items: center; padding-bottom: 18px; }
.bw-scene { position: relative; width: 240px; height: 225px; isolation: isolate; }
.bw-artboard { position: absolute; left: -30px; top: -4px; width: 300px; height: 300px; transform: scale(.8); transform-origin: 50% 0; filter: saturate(.78) sepia(.06); }
.bw-actor { position: absolute; inset: 0; transform-origin: 185px 195px; animation: bw-jog .56s ease-in-out infinite; }
.bw-pose { position: absolute; overflow: hidden; display: none; }
.bw-pose.bw-active { display: block; }
.bw-pose img { position: absolute; max-width: none; pointer-events: none; user-select: none; }
.bw-shadow { position: absolute; left: 143px; top: 269px; width: 91px; height: 9px; border-radius: 50%; background: #536b50; opacity: .11; animation: bw-shade .56s ease-in-out infinite; z-index: -1; }
.bw-progress-row { position: relative; width: 188px; margin-top: 12px; }
.bw-progress { width: 188px; height: 6px; overflow: hidden; background: #e4e6d8; border-radius: 20px; }
.bw-progress-fill { width: 0; height: 100%; border-radius: 20px; background: #7e9470; }
.bw-percentage { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); width: 48px; font-size: 18px; line-height: 1; font-variant-numeric: tabular-nums; text-align: left; }
.bw-text { margin: 17px 0 0; font: 400 30px/1.2 "BioWipeLoadingGambarino", Georgia, serif; letter-spacing: .015em; }
.bw-retry { margin-top: 16px; padding: 7px 16px; border: 1px solid #9fac92; border-radius: 6px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
@keyframes bw-jog {
  0%,100% { transform: translate(-1px,0) rotate(1deg); }
  12.5% { transform: translate(0,2px) rotate(1.6deg); }
  25% { transform: translate(1px,-8px) rotate(-1.2deg); }
  37.5% { transform: translate(2px,-5px) rotate(-.5deg); }
  50% { transform: translate(1px,0) rotate(1deg); }
  62.5% { transform: translate(0,2px) rotate(1.6deg); }
  75% { transform: translate(-1px,-8px) rotate(-1.2deg); }
  87.5% { transform: translate(-2px,-5px) rotate(-.5deg); }
}
@keyframes bw-shade {
  0%,50%,100% { opacity: .11; transform: scaleX(1); }
  25%,75% { opacity: .07; transform: scaleX(.86); }
}
@media (max-height: 420px) {
  .bw-scene { height: 190px; }
  .bw-artboard { transform: scale(.68); top: -5px; }
  .bw-progress-row { margin-top: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  #biowipe-loader { transition: none; }
  .bw-actor, .bw-shadow { animation: none; }
}
