@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.modal-body {
  overflow: hidden;
  position: relative;
}
.modal-body:before {
  position: fixed;
  display: block;
  content: "";
  top: 0px;
  bottom: 0px;
  right: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 10;
}
.modal-body:before {
  -webkit-animation: fadeIn 320ms ease;
  animation: fadeIn 320ms ease;
  transition: opacity ease 320ms;
}
.modal-body.modal-fadeOut:before {
  opacity: 0;
}

.modal {
  transition: all ease 0.01s;
  display: block;
  opacity: 0;
  height: 0;
  position: fixed;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  text-align: center;
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal.modal-visible {
  opacity: 1;
  height: auto;
  bottom: 0;
}

.modal-inner {
  transition: all ease 320ms;
  transform: translateY(-50px);
  position: relative;
  display: inline-block;
  background-color: #fff;
  width: 90%;
  max-width: 600px;
  background: #fff;
  opacity: 0;
  margin: 40px 0;
  border-radius: 4px;
  box-shadow: 0 30px 18px -20px #020202;
}
.modal-inner.modal-reveal {
  transform: translateY(0);
  opacity: 1;
}

.js-close-modal {
  transition: color 320ms ease;
  color: #9e9e9e;
  opacity: 0.75;
  position: absolute;
  z-index: 2;
  right: 0px;
  top: 0px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 20px;
  cursor: pointer;
  text-align: center;
}

.js-close-modal:hover {
  color: #000;
}

body {
  background-color: #333;
  font-family: sans-serif;
  height: 100vh;
}

.table {
  display: table;
  width: 100%;
  height: 100%;
}

.table-cell {
  display: table-cell;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  text-align: center;
}

button {
  transition: all 320ms ease;
  font-size: 30px;
  font-weight: 100;
  letter-spacing: 1px;
  padding: 10px 20px;
  background-color: #a03cf8;
  color: #fff;
  border: none;
  outline: none;
  border-radius: 2px;
  cursor: pointer;
}
button:hover {
  transform: scale(1.05);
  background-color: #ea4cfb;
  box-shadow: 0 30px 18px -20px rgba(0, 0, 0, 0.5);
}