/* modal.css
 *    Author:             Jack
 *    Date:               2020-06-06
 *    Last revised:       2020-06-06
 *    Description:        CSS for the modal. Broke it out from index.html to 
 *                        hopefully avoid confusion
 */

.modal {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,.9);
}

.modal span {
    font-size: 2rem;
    color: #ddd;
    position: absolute;
    top: 5%;
    right: 5%;
}

.modal span:hover {
    opacity: .8;
}

.modal-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: auto;
    background: rgba(0,0,0,.9);
    color: #ddd;
}

.modal-inner p {
    padding: 0 20px;
    font-size: 1.6rem;
}

.fade {
    transition: .4s;
    opacity: 0;
    z-index: -1000;
}

.home {
    z-index: 0;
    position: absolute;
    bottom: 0px;
    right: 10px;
}