@keyframes slideDownAndFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUpAndFade {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

[role="menu"][data-state="open"] {
  animation: slideDownAndFade 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

[role="menu"][data-state="closed"] {
  animation: slideUpAndFade 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
