/* Modal Object code */

.o-modal__overlay {
  z-index: 1000;
  background: linear-gradient(
    90deg,
    rgba(30, 60, 90, 0.75) 0%,
    rgba(30, 60, 90, 0.75) 100%
  );
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.o-modal {
  z-index: 1010;

  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 800px;
  max-width: 100%;
  height: 600px;
  max-height: 100%;

  background-color: #eee;

  padding: 10px;
  display: grid;

  grid:
    ". cbtn" min-content
    "content content" 1fr
    / 1fr min-content;
}
.o-modal__content {
  overflow: auto;
  grid-area: content;
}

.o-modal.o-modal--closed,
.o-modal__overlay.o-modal--closed {
  display: none;
}
