.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  z-index: 100;
}
.modal.open {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
}
.modal.open.closable {
  grid-template-rows: auto minmax(0, 1fr);
}
.modal > .head {
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
}
.modal > .head .fa-xmark {
  color: var(--color-neutral-9);
  cursor: pointer;
}
.modal > .content {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.modal .modal-text {
  color: var(--color-neutral-9);
}

@media (max-width: 767px) {
  .modal > .head .fa-xmark {
    font-size: 2rem;
  }
}
@media (min-width: 768px) {
  .modal > .head .fa-xmark {
    font-size: 3rem;
  }
}
