.modalChildren {
  cursor: pointer;
  display: inline;
}

.modalInner {
  display: none;

  &.activeModal {
    display: block;
  }

  .modalOverlay {
    background: rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: map-get($z-index, below-content);
  }

  .modalContent {
    background: #000;
    color: grey;
    padding: 2rem;
    max-width: 40rem;
    border-radius: 1rem;
    position: fixed;
    top: 10rem;
    left: calc(50% - 20rem);
    z-index: map-get($z-index, modal);
    position: relative;

    .closeIcon {
      position: absolute;
      top: 1rem;
      right: 1rem;
    }
  }
}
