dialog {
  margin: 0 auto;
  top: 50%;
  position: relative;
  transform: translateY(-50%);
  box-shadow: -6px 6px 0 rgba(255, 178, 8, 0.95);
  border-radius: 4px;
  border: 1px solid #000000ad !important;
  max-width: 500px;
  padding: 1em;
  font-size: 130%;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

dialog .buttons {
  display: flex;
  justify-content: end;
  margin-top: 2em;
  gap: 1.5em;
}

dialog .dialogTitle {
  font-weight: 600;
  font-size: 125%;
  margin-bottom: 10px;
}

dialog button {
  box-shadow: -3px 3px 0 rgba(255, 178, 8, 0.95);
  border-radius: 3px;
  border: 1px solid #000000ad !important;
  background: white;
  outline: none;
  min-width: 50px;
  padding: 5px 0;
}

dialog button:last-child {
  box-shadow: -3px 3px 0 #79c000;
}

dialog button:focus,
dialog button:hover {
  background: rgba(0, 0, 0, 0.125);
  cursor: pointer;
  box-shadow: -3px 3px 0 grey;
  transition: all 250ms ease-in-out;
}

dialog button:active {
  background: rgba(0, 0, 0, 0.25);
  box-shadow: -2px 2px 0 black;
}
