.dialog-container {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.dialog-container[aria-hidden='true'] {
  display: none;
}

.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(43, 46, 56, 0.9);
  animation: fade-in 200ms both;
}

.dialog-content {
  background-color: rgb(255, 255, 255);
  margin: auto;
  z-index: 2;
  position: relative;
  animation: fade-in 400ms 200ms both, slide-up 400ms 200ms both;
  max-width: 90%;
  max-height: 90vh;
  width: 900px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.dialog-header {
  padding: 1em 1.5em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dialog-body {
  padding: 0 1.5em 1.5em;
  overflow: auto;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes slide-up {
  from {
    transform: translateY(10%);
  }
}

.dialog-header h1 {
  margin: 0;
  font-size: 1.25em;
}

.dialog-close {
  display: inline-block;
  border: 0;
  padding: 0;
  background-color: transparent;
  font-weight: bold;
  font-size: 1.25em;
  width: 1.2em;
  height: 1.2em;
  text-align: center;
  cursor: pointer;
  transition: 0.15s;
}