.modal-container {
  position: fixed;
  display: table;
  top: 0;
  left: 0;
  display: none;
  z-index: 999;
  width: fit-content;
	height: fit-content;
  top: 50%;
  left: 50%;
}
.modal-container.opened_modal {
  z-index: 99999999;
  display: flex;
  animation: blowUpModal 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.modal-container.closed_modal {
  animation: blowDownModal 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes blowUpModal {
  0% {
    transform: scale(.8);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes blowDownModal {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(.8);
  }
}

