.container-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.container-modal a {
  padding: 30px;
  background: teal;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  border-radius: 10px;
  cursor: pointer;
}

.modal {
  position: fixed;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.modal-bg {
  position: absolute;
  background: black;
  opacity: 0.3;
  width: 100%;
  height: 100%;
}

.modal-container {
  background: #fff;
  position: relative;
  padding: 30px;
}

.modal-close {
  right: 15px;
  top: 15px;
  outline: none;
  appearance: none;
  color: red;
  background: none;
  border: 0px;
  font-weight: bold;
  cursor: pointer;
}
