.modal {
    background: rgba(0, 0, 0, .85);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;

    opacity: 0;
    pointer-events: none;

    transition: all .25s ease-out;

}
.modal.open {
    opacity: 1;
    pointer-events: all;
}
.full-img {
    position: absolute;
    height: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.5);
    transition: all .25s ease-out;
}
.full-img.open {
    transform: translate(-50%, -50%) scale(1);
}
.close-modal {
    color: white;
    font-size: 2rem;
    position: absolute;
    right: 0;
    top: 0;
    padding: 1rem 2rem 0 0;
    cursor: pointer;
}