/* Default animation for moving upwards with a bounce */
@keyframes moveInOutUpwardsWithBounce {
  0%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-100vh);
  }
  80% {
    transform: translateY(10%);
  }
  90% {
    transform: translateY(-5%);
  }
}

/* Special animation for almond-latte, moving downwards */
@keyframes moveDownwardsWithBounce {
  0%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(100vh);
  }
  80% {
    transform: translateY(-10%);
  }
  90% {
    transform: translateY(5%);
  }
}

@keyframes moveAndRotateStamp {
  0% {
    transform: translateX(-20vw) rotate(-50deg);
  }
  100% {
    transform: translateX(25vw) rotate(15deg);
  }
}
@keyframes moveToOriginal {
  0% {
    transform: translateX(25vw) rotate(15deg);
  }
  100% {
    transform: translateX(-20vw) rotate(-50deg);
  }
}

.order-now-stamp.move-and-rotate {
  animation: moveAndRotateStamp 1s ease-in-out forwards;
}

.order-now-stamp.move-to-original {
  animation: moveToOriginal 1s ease-in-out;
}


.date-ball-animation {
  animation: moveInOutUpwardsWithBounce 1.5s ease-in-out;
}

@keyframes marqueeAnimation {
  to {transform: translateX(-100%);}
}

/* pause child animations on hover */
[data-hover-pause] * {animation-play-state: running;}
[data-hover-pause]:hover * {animation-play-state: paused;}

/* play child animations on hover */
[data-hover-play] * {animation-play-state: paused;}
[data-hover-play]:hover * {animation-play-state: running;}
/* Container for the marquee */


.btn.special {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 10px 20px;
}

.globe-wrapper {
  position: absolute;
  top: 50%;
  left: 1%;
  transform: translateY(-50%);
  transition: left 0.5s ease-in-out;
  width: 2.5rem;
  height: 2.5rem;
  z-index: 1;
}

.btn.special:hover .globe-wrapper {
  left: calc(100% - 2.5rem - 2%); /* Adjust the calculation */
}

.globe-svg {
  width: 100%;
  height: 100%;
}

.btn.special .text-sm {
  padding-left: 3rem;
  padding-right: 3rem;
  transition: color 0.3s ease-in-out;
}

.btn.special:hover .globe-svg path {
  stroke: #34AF8C;
}

.marquee {
            overflow: hidden;
            white-space: nowrap;
            position: relative;
            display: flex;
            align-items: center;
            padding: .8rem;
            background-color: var(--palette--pink);
        }

        .marquee-content {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            animation: marquee 10s linear infinite;
        }

        .character-img {
            margin-right: 1rem;
        }