@tailwind base;
@tailwind components;
@tailwind utilities;

@keyframes slide-loop {
    0% { transform: translateX(0); }
    50% { transform: translateX(50px); }
    100% { transform: translateX(0); }
  }

  .animate-slide-loop {
    animation-name: slide-loop;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }

  /* .text-container {
    white-space: nowrap;
    overflow: hidden;
  }

  .text-container span {
    display: inline-block;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  } */
  .back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
  }
  .back-to-top.visible {
    opacity: 1;
  }

  @keyframes TopToBottom {
    0% {
      transform: translate(50%, -20px);
      opacity: 0;
    }
    100% {
      transform: translate(50%, 0);
      opacity: 1;
    }
  }