@import 'moda-themes/themes';

.FloatingAddToBag {
  display: flex;
  justify-content: center;
  position: fixed;
  width: 100%;
  bottom: 32px;
  left: 0;
  z-index: 100;
  padding-left: 16px;
  padding-right: 16px;
  margin-bottom: env(safe-area-inset-bottom);
  background-color: color('white');

	animation-name: slideUp;
  animation-name: slideDown;
  animation-name: fadeOut;

  @keyframes slideDown {
    0% {
      opacity: 1;
      transform: translateY(0%);
    }
    100% {
      opacity: 0;
      transform: translateY(100%);
    }
  }

  @keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

  @keyframes slideUp {
    0% {
      opacity: 0;
      transform: translateY(100%);
    }
    100% {
      opacity: 1;
      transform: translateY(0%);
    }
  }
}