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

@keyframes slide-loop {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(50px);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes show-list-language {
  0% {
    opacity: 0;
    transform: translateY(-80%);
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
  }

}


@keyframes show-list-line {
  0% {
    opacity: 0;
    width: 0%;
  }
  100% {
    opacity: 1;
    width: 100%;
  }
  
}

.animate-show{
  transition: all 0.3s ease ;
}
.animate-show-list-language{
  transition:  animation 0.5s ease;
  animation: show-list-language 0.3s ease;
}
.animate-show-line{
  animation: show-list-line 0.3s ease;
}
.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;
  }
}
@keyframes cursor {
  50% {
    border-color: transparent;
  }
}
