/* app/assets/stylesheets/flash.css */
.flash {
  position: fixed;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  width: max-content;
  padding: 0 1rem;
  z-index: 1000;
}

.flash__message {
  font-size: 1rem;
  color: rgba(0, 0, 255, 0.5);
  background-color: #fff;
  animation: appear-then-fade 5s ease-in-out forwards;
  border-radius: 10px;
}

@keyframes appear-then-fade {
  0%, 100% {
    opacity: 0
  }
  5%, 60% {
    opacity: 1
  }
}
