/* Stephanie & Ryan — the home page's own rules.
 *
 * Only the note that appears when Book Now copies the group code. The
 * page's design is Webflow's; this is the one thing it doesn't know
 * about, because js/pages/index.js puts it there.
 */

/* A chip at the foot of the screen, in the site's sage with cream type —
   the same voice as the buttons, quieter. It's on screen for a second
   before the resort's page takes over, so it rises rather than appears:
   at that length, something that simply pops reads as an error. */

.sr-copied {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 22px;
  box-sizing: border-box;
  border-radius: 5px;
  background-color: var(--_colours---dark-green, #646b57);
  color: var(--_colours---cream, #ebeae0);
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 10px 30px rgba(47, 50, 42, 0.28);

  /* The resting state is also the state it animates from, so a browser
     that ignores the transition still shows it in the right place. */
  transform: translate(-50%, 12px);
  opacity: 0;
  transition: opacity 0.22s ease-out, transform 0.22s ease-out;
}

.sr-copied.is-in {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .sr-copied {
    transition: none;
    transform: translate(-50%, 0);
    opacity: 1;
  }
}
