/* Emoji Rain Effect: library "Emoji Rain Effect" (website-components/osmo-code).
   Code as in the library. Changed (El Taco Loco): the emoji are two pepper
   illustrations, smaller size, our button style. */

.emoji-rain-container {
  z-index: 150;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  position: fixed;
  inset: 0%;
  overflow: hidden;
}

.single-rain-emoji {
  will-change: transform;
  width: max(220px, 22vw); /* ours: big, so the rain almost fills the page (library: 15vw) */
  position: absolute;
}

.single-rain-emoji.hidden { opacity: 0; }

.single-rain-emoji-image-pepper-red,
.single-rain-emoji-image-pepper-green { /* ours: peppers instead of 3D emoji */
  background-position: 50%;
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  padding-top: 100%;
}
.single-rain-emoji-image-pepper-red { background-image: url('../assets/illustrations/peppers/pepper-red.svg'); }
.single-rain-emoji-image-pepper-green { background-image: url('../assets/illustrations/peppers/pepper-green.svg'); }

.btn-wrap {
  grid-column-gap: 1.5em;
  grid-row-gap: 1.5em;
  flex-flow: column;
  align-items: center;
  display: flex;
  margin-bottom: 0; /* ours: the gap below comes from the footer's top padding */
}

.emoji-rain-btn {
  cursor: pointer;
  color: #fff; /* ours */
  background-color: #231f20; /* ours: ink pill */
  border: 0;
  border-radius: 10em !important; /* a global button rule squares corners */
  width: auto;
  max-width: calc(100% - 2rem);
  padding: .5em 1em;
  font-family: var(--font-display, "Roketto", sans-serif); /* ours */
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  text-transform: uppercase; /* ours */
  transition-property: all;
  transition-duration: .3s;
  transition-timing-function: cubic-bezier(.45, .422, .269, 1.702);
  display: flex;
  align-items: center;
  transform: scale(1) rotate(.001deg);
}
.emoji-rain-btn:hover { transform: scale(1.05) rotate(.001deg); }
.emoji-rain-btn:focus-visible { outline: 3px solid #ef3642; outline-offset: 4px; }

#visit-title { margin-bottom: 14dvh; } /* ours: button sits midway between title and footer flames */
.btn-wrap { padding-bottom: 0; }
