div.modal {
    position: fixed;
    top: 10%;
    left: 50%;
    z-index: 1050;
    width: 80vw;
    margin-left: -40vw;
    height: 80vh;
    max-height: 100%;
}

.modal {
    /* This way it could be display flex or grid or whatever also. */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    
    /* Probably need media queries here 
    width: 70vw;
    max-width: 100%;
    height: 80vh;
    max-height: 100%;
    position: fixed;
    z-index: 500;
    left: 30%;
    top: 10%;*/
@media (max-width: 797px) { 
  width: 80vw;
}
  
    /* If known, negative margins are probably better (less chance of blurry text). */
    /* margin: -200px 0 0 -200px; */
    
    background: white;
    
    -webkit-box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.9);
    box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.9);
}
.modal h1{
  font-size:24px;
  margin-bottom: 5px;
}

/* Landscape phones and down */
@media (max-width: 480px) { 
  
}


.closed {
    display: none;
}

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

.modal-guts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 50px 50px 20px 20px;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.modal .close-button {
    position: absolute;
    /* don't need to go crazy with z-index here, just sits over .modal-guts */
    z-index: 2000;
    top: 10px;
    /* needs to look OK with or without scrollbar */
    right: 20px;
    border: 0;
    background: black;
    color: white;
    padding: 5px 10px;
    font-size: 1.3rem;
}

modal-guts p button a {
  color: white;
}