.modal {
    display: none;
    width: 100vw;
    height: 100vh;
    
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99;
    
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,.9);
    
    overflow: auto;
}

.modal-white {
    display: block;
    min-width: 20vw;
    min-height: 20vh;
    max-height: 80vh;
    
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 100;
    
    background-color: #FEFEFE;
    border-radius: .535em;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, .25);
    transform: translate(-50%, -50%);
    
    overflow: hidden;
    animation-name: modal-zoom;
    animation-duration: .4s;
}

.modal-white h3 {
    margin-top: 0em;
}

.modal-white img {
    max-width: 100%;
}

@keyframes modal-zoom {
    from {
        transform: translate(-50%, -50%) scale(0)
    }
    to {
        transform: translate(-50%, -50%) scale(1)
    }
}

#modal-titlebar {
    width: 100%;
    
    padding: .5em;
    
    background: #0F75BC;
}

#modal-title {
    margin: 0em;
    
    color: #FEFEFE;
}

#modal-close {
    color: #FEFEFE;
    font-size: 1.42em;
    font-weight: bold;
    text-decoration: none;
    
    transition: color .4s;
    cursor: pointer;
}

#modal-close:hover {
    color: #323232;
}

#modal-content {
    max-height: 80vh;
    
    padding: .8em;
    
    overflow: auto;
}