.emoji {
  width: 100%;
}

.emoji-top {
  display: flex;
  justify-content: end;
  text-align: right;
  padding-top: 8px;
  height: auto;
  width: auto;
  position: relative;
  margin-bottom: -2px;
}

.emoji-top-text {
  display: block;
  width: 88vw;
  padding: 8px 15px 0px 0px;
  font-size: 12px;
  color: var(--dark-blue);
  white-space: nowrap;
}

.emoji-slider {
  position: relative;
  width: 100%;
  min-height: 160px;
  height: 10svh;
  overflow: hidden;
  user-select: none;
  border-radius: var(--border-radius-medium) 0 0 0;
}

#emojiSlider [data-index] {
  transition: transform 0.5s ease, opacity 0.5s ease;
}


.swipe-container {
  position: relative;
  /* height: 70px; */
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow-x: hidden;
  z-index: 10;
  background-color: var(--cornflower-blue);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.swipe-container::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background: transparent;
}

/* .swipe-container#loyaltySwipe {
  width: 95%;
} */

.swipe-emoji-thx {
  color: var(--dark-blue);
  position: absolute;
  left: -200px;
  font-size: 32px;
  opacity: 0;
  transition: all 0.6s ease;
  pointer-events: none;
  z-index: 10;
}

.swipe-emoji-thx.show {
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
}

.swipe-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 110%;
  width: 93px;
  margin-top: -8px;
  margin-bottom: -5px;
  background-color: var(--white);
}

.swipe-container#quizSwipe .swipe-bg {
  width: 105px;
}

.swipe-container#loyaltySwipe .swipe-bg {
  width: 95px;
}

.swipe {
  height: 100%;
  position: relative;
}

.swipe img {
  background-size: contain;
  background-repeat: no-repeat;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.swipe-text {
  color: var(--white);
  flex: 1;
  font-size: clamp(9px, 2.8vw, 14px);
  text-align: center;
}

.swipe-text-absolute {
  position: absolute;
  top: 50%;
  transform: translate(45%, -50%);
  width: 50%;
  font-size: 20px;
  color: var(--dark-blue);
  font-family: "Diodrum Medium", sans-serif;
  font-weight: 500;
}

.emoji-bottom {
  width: 100%;
  min-height: 180px;
  height: 15svh;
  display: flex;
  flex-direction: row;
}

.button-container {
  height: 100%;
  width: 30%;
  display: flex;
  flex-direction: column;
}

.button-container .review,
.report,
.tips {
  flex: 1;
  margin-top: calc(var(--one-section-margin) / 2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  color: var(--white);
  padding: unset !important;
}

.emoji-container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--dark-blue);
  padding-top: 25px;
  border-radius: 0 0 var(--border-radius-large) var(--border-radius-large) !important;
  position: relative !important;
  /* overflow: hidden !important; */
}

.emoji-container-emojis {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
  position: relative !important;
  padding-left: 20px;
  padding-right: 20px;
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 501;
}

.slide {
  position: absolute;
  width: 150px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: transform 0.3s ease;
  cursor: grab;
}

.slide-caption {
  margin-top: 8px;
  font-size: 18px;
  text-transform: lowercase;
  text-align: center;
  color: var(--dark-blue);
  opacity: 0.8;
  user-select: none;
}

.slide:active {
  cursor: grabbing;
  transition: transform 0.1s ease;
}

.slide img {
  height: 140px;
  object-fit: cover;
  display: block;
}

.slide.active {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 501;
}

.slide.prev {
  transition: transform 0.5s ease, opacity 0.5s ease;
  transform: translateX(-320px) scale(0.8);
  opacity: 0.6;
  z-index: 2;
}

.slide.next {
  transition: transform 0.5s ease, opacity 0.5s ease;
  transform: translateX(320px) scale(0.8);
  opacity: 0.6;
  z-index: 2;
}

.slide.hidden {
  transition: transform 0.5s ease, opacity 0.5s ease;
  transform: translateX(0) scale(0.6);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

@keyframes fallDown {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateY(200px) scale(0.8);
    opacity: 0;
  }
}

@keyframes riseUp {
  0% {
    transform: translateY(-50px) scale(0.8);
    opacity: 0;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow:
      0 4px 8px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      inset 0 -1px 0 rgba(0, 0, 0, 0.1),
      0 0 5px rgba(110, 142, 251, 0.5);
  }

  50% {
    box-shadow:
      0 4px 8px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      inset 0 -1px 0 rgba(0, 0, 0, 0.1),
      0 0 20px rgba(110, 142, 251, 0.8);
  }
}

.falling {
  animation: fallDown 0.8s forwards;
}

.rising {
  animation: riseUp 0.8s forwards;
}

@keyframes gentleBounce {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

.gentleBounce {
  animation: gentleBounce 0.6s;
}

.emoji-ball {
  overflow: visible !important;
  position: absolute;
  user-select: none;
  cursor: grab;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s;
  object-fit: cover;
  z-index: 900;
  /* background-color: black; */
  /* -webkit-transform: translateZ(0);
  transform: translateZ(0); */
}

.emoji-ball img {
  height: 100%;
  object-fit: cover;
  display: block;
}

/* .emoji-ball.dragging {
  cursor: grabbing;
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  z-index: 500;
} */