/* drop.css: the Drop page (js/pages/drop.js). The header is css/components/page-header.css. */

/* The rack and its sheet of glassine are laid over the whole page; the rest stands in front. */
.drop {
  position: relative;
}

.drop .page-header,
.drop-soon,
.drop-enter,
.drop-info {
  position: relative;
  z-index: 1;
}

/* The logo is the page's title: no title type around it. */
.drop .page-header h1 {
  width: auto;
  max-width: none;
}

/* -- the rack, behind glassine, with "coming soon..." and the button over it -- */
.drop-rack {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.drop-rack-picture {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
}

/* The page, rack included, is seen through glassine, edge to edge (css/effects/glassine-sheet.css),
   with one more layer of white under its grain: the rack only shows faintly, as on the mockup.
   (.drop in front: css/effects/glassine-sheet.css is loaded later and would win otherwise.) */
.drop .drop-rack-sheet {
  position: absolute;
  inset: 0;
  background:
    var(--glassine-sheet, none),
    linear-gradient(var(--drop-veil), var(--drop-veil)),
    var(--glassine-milk);
}

/* The same scrap of torn black paper as the "done" button (css/components/outfit-done.css). */
.drop-enter {
  min-height: calc(var(--tap-target) * 1.05);
  padding: 0 var(--space-3);
  border: 0;
  --torn-edge-color: var(--color-ink);
  --torn-edge-rim-color: var(--color-torn-rim);
  color: var(--color-paper);
}

/* -- the drop, at the bottom -- */
/* As on the mockup: a light Futura, 14px, about a tenth of the screen above the bottom.
   The light weight (300) shows once Futura PT Light is added to the Adobe Fonts kit (index.html);
   until then the browser uses the normal weight. */
.drop-info {
  padding: 0 var(--gutter-right) max(7.5cqh, var(--safe-bottom) + var(--space-3)) var(--gutter-left);
  font-size: var(--text-small);
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
}
