/* Original vector scenery: dusk over the Vice City waterfront. */
.sky {
  background-color: #422c62;
  background-image: url("vice-sunset.svg");
  background-position: center;
  background-size: max(100vw, 177.78vh) 100%;
  background-repeat: no-repeat;
  isolation: isolate;
}
.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 44%, transparent 30%, rgba(12, 13, 33, .18) 100%),
    linear-gradient(0deg, rgba(6, 17, 29, .65), transparent 22%, transparent 78%, rgba(20, 13, 35, .12));
}
.palm {
  bottom: -4vh;
  z-index: 2;
  overflow: visible;
  height: var(--palm-height);
  width: calc(var(--palm-height) * .56363636);
  color: unset;
}
.palm img { display: block; width: auto; height: 100%; transform: translateX(-5.7142857%); }
.palm-left { left: -17vh; --palm-height: 113vh; }
.palm-right { right: -21vh; --palm-height: 96vh; bottom: -11vh; transform: scaleX(-1) rotate(-7deg); }
.palm-mid { left: 14%; --palm-height: 40vh; bottom: -8vh; opacity: .65; transform: rotate(8deg); filter: brightness(1.4); }
main { z-index: 4; }
main { pointer-events: none; }
main > div { width: min(720px, 100%); }
main > div { pointer-events: auto; }
.palm-foreground { position: fixed; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.when { color: #ffd0d6; }
h1 { text-shadow: 0 2px 8px rgba(38, 19, 54, .12); }
.clock { width: min(590px, 100%); }
.num { text-shadow: none; }
.unit { color: rgba(255, 242, 232, .8); }
.zone { color: #fff5ea; font-weight: 500; text-shadow: 0 1px 2px rgba(34, 19, 42, .55), 0 3px 12px rgba(49, 22, 48, .32); }
footer { z-index: 4; color: rgba(224, 232, 237, .76); }
.fine { color: rgba(224, 232, 237, .7); }
@media (max-width: 720px) {
  .sky { background-position: 54% center; }
  .sky::after { background: linear-gradient(0deg, rgba(6, 17, 29, .65), transparent 27%), radial-gradient(ellipse at 50% 42%, rgba(38, 19, 54, .16), transparent 72%); }
  .palm-left { left: -31vh; --palm-height: 122vh; bottom: -3vh; }
  .palm-right { right: -16vh; --palm-height: 51vh; bottom: -14vh; }
  .palm-mid { display: none; }
  main { padding-left: 24px; padding-right: 24px; }
  .clock { margin-top: 30px; }
  .zone { max-width: 280px; margin-left: auto; margin-right: auto; line-height: 1.6; font-size: 12px; }
  footer { font-size: 10px; padding-left: 30px; padding-right: 30px; }
}
@media (max-width: 720px) and (max-height: 700px) {
  .palm-left { --palm-height: 134vh; left: -36vh; }
  .palm-right { --palm-height: 44vh; bottom: -8vh; }
}
