@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes dropin {
  from {
    transform: rotate3d(1, 0, 0, 90deg);
  }
  to {
    transform: rotate3d(1, 0, 0, 0deg);
  }
}

.Modal {
  margin: 0px;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: attr(data-z-index, 50);
  animation: fadein 0.4s;
}

.ModalBackground {
  background: #0b308080;
  width: 100vw;
  height: 100vh;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ModalTitle {
  display: flex;
  padding: 24px 24px 12px;
}

.ModalMain {
  background: var(--colorWhiteBase);
  width: 664px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 3px;
  overflow: hidden;
  animation: dropin 0.6s;
}

.ModalBody {
  padding: 12px 24px;
  display: flex;
}

.ModalFooter {
  display: flex;
  justify-content: flex-end;
  padding: 12px 24px 24px;
}
