body {
    background-color: skyblue;
}


dialog.fade {
  opacity: 0;
  transition: opacity .3s ease-out;
}
dialog.fade.show {
  opacity: 1;
}

dialog.fade .modal-dialog {
  transform: translateY(-50px);
  transition: transform .3s ease-out;
}
dialog.fade.show .modal-dialog {
  transform: translateY(0);
}
dialog {
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  border: none;
  border-radius: 1rem;
  background-color: white;
  padding: 1.5rem;
}

dialog.modal::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}
