.modal-container {
    display: none;
    position: fixed;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow: auto;
}

.modal-image {
    max-width: 93%;
    animation-name: zoom;
    animation-duration: 0.6s;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

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

@media (min-width: 480px) {
    .modal-image {
        max-width: 95%;
    }
}

@media (min-width: 576px) {
    .modal-image {
        max-width: 510px;
    }
}

@media (min-width: 769px) {
    .modal-image {
        max-width: 690px;
    }
}

@media (min-width: 992px) {
    .modal-image {
        max-width: 930px;
    }
}

@media (min-width: 1140px) {
    .modal-image {
        max-width: 1098px;
    }
}

@media (min-width: 1220px) {
    .modal-image {
        max-width: 1190px;
    }
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}
