.modal {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 1000;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  top: 0;
  left: 0;
}

.modal > div {
  flex: 1;
}

.closed {
  display: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120vh;
  z-index: 999;
  background: rgba(0, 0, 0, 0.6);
}

.modal-guts {
  display: block;
  max-width: 75vw;
  max-height: 80vh;
  overflow: auto;
  border-radius: 10px;
}

.close-button {
  /* position: fixed; */
  bottom: 199px;
  
  /* don't need to go crazy with z-index here, just sits over .modal-guts */
  z-index: 1001;
  
  border: 0;
  background: url('https://www.portals.mobi/assets/img/ad-close.png') no-repeat;
  width: 52px;
  height: 52px;
  color: white;
  padding: 5px 10px;
  font-size: 1.3rem;
  margin: auto;
}

@media screen and (orientation:landscape) {
  .modal {
    flex-direction: row;
  }
}
