.format {

    width: 250px;
    height: 230px;

}

.modal {
    display: none;
    position: fixed;
    z-index: 500;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.3);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.modal-open {
    animation-name: zoomIn;
    animation-duration: 0.6s;
}

@keyframes zoomIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.modal-close {
    animation-name: zoomOut;
    animation-duration: 0.6s;
}

@keyframes zoomOut {
    from {
        transform: scale(1)
    }

    to {
        transform: scale(0)
    }
}

.close {
    position: absolute;
    top: 50px;
    right: 10%;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: normal;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
