/* wall-row.css : styles for the front row and the set times. Loaded after wall.css.

   While the 3D wall is on, this scene's words are lettered on things in the scene (scenes-row.js):
   the heading and the three sets on the screen of the giant television, the three rules on the
   board that stands in the sand. The block below is then hidden from sight and kept for screen
   readers (class "on-the-wall", wall.css). On the plain page it shows as a heading, the three sets
   as three bands of colour (the bands of the television screen) and the rules on a sheet of
   cream paper (the board). */

#row { --screens: 6.5; --still: url(/assets/opening/still-5-1024.webp); }

.row-words { position: relative; z-index: 3; max-width: 31rem; }

.row-title {
  margin: 0 0 clamp(16px, 2.6vh, 28px);
  font-family: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  font-weight: 900; text-transform: uppercase; letter-spacing: .005em; line-height: .86;
  font-size: clamp(3.4rem, 21vw, 7rem);
}
.row-title span {
  display: block;
  text-shadow: .013em 0 0 var(--ink), -.013em 0 0 var(--ink), 0 .013em 0 var(--ink), 0 -.013em 0 var(--ink), .06em .06em 0 var(--crimson), .08em .08em 0 var(--ink);
}
.row-title-a { font-size: .5em; line-height: .95; color: var(--teal); }
.row-title-b { color: var(--orange); }

/* the three sets: three bands, like the lit screen */
.row-sets {
  list-style: none; margin: 0 0 clamp(20px, 3.2vh, 30px); padding: 0;
  border: 2px solid var(--ink); border-radius: 18px; overflow: hidden;
  box-shadow: 5px 5px 0 var(--teal);
  font-family: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  font-weight: 900; text-transform: uppercase; letter-spacing: .005em;
}
.row-set { display: grid; gap: .05em; padding: .7rem 1.1rem .8rem; color: var(--cream); }
.row-set + .row-set { border-top: 3px solid var(--ink); }
.row-set-1 { background: #F26A2E; }
.row-set-2 { background: #D7322B; }
.row-set-3 { background: #E32B7A; }
.row-set-name { font-size: clamp(1.25rem, 6.4vw, 1.7rem); line-height: 1; color: #230B36; }
.row-set-time { font-size: clamp(2.5rem, 13.5vw, 3.7rem); line-height: .9; text-shadow: .05em .05em 0 #230B36; }

/* the three rules: a sheet of paper, a little crooked */
.row-rules {
  list-style: none; margin: 0; padding: .5rem 1.1rem .6rem;
  color: #3B1A5E; background: var(--cream);
  border: 2px solid var(--ink); border-radius: 6px;
  box-shadow: 5px 5px 0 var(--crimson);
  transform: rotate(-.8deg);
  font-family: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  font-weight: 900; text-transform: uppercase; letter-spacing: .005em;
  font-size: clamp(1.7rem, 8.6vw, 2.4rem); line-height: 1;
}
.row-rules li { position: relative; padding: .42em 0 .42em 1.25em; }
.row-rules li + li { border-top: 2px dotted rgba(59, 26, 94, .38); }
.row-rules li::before {
  content: ""; position: absolute; left: 0; top: .52em; width: .78em; height: .78em; background: #FF3D8E;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

@media (min-aspect-ratio: 1/1) {
  .row-words { max-width: min(35rem, 40vw); }
  .row-title { font-size: clamp(3.4rem, 9vw, 7rem); font-size: max(3.4rem, min(7rem, 9vw, 15vh)); }
}
@media (min-width: 900px), (min-height: 900px) {
  #row { --still: url(/assets/opening/still-5-1600.webp); }
}
