.modal {
  position: fixed;
  min-height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  z-index: 10000;
}

.modal:not(:target) {
  display: none;
}

.modal-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  left: 0;
}

.modal-content {
  transition: transform 2s;
  background:  var(--box--backgroundColor);
  width: 75%;
  position: relative;
  margin: auto;
  height: 75%;
  padding: 24px 24px;
  border-radius: var(--radius-2);
  max-width: 700px;
}

.modal-close {
  font-size: 36px;
  text-decoration: none;
  color: inherit;
  position: absolute;
  right: 24px;
  top: 10px;
}