.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 200;
}

.modal img {
    max-width: 80%;
    max-height: 80%;
    cursor: zoom-in;

}

.zoom-in {
    max-width: 100% !important;
    max-height: 100% !important;
    cursor: zoom-out !important;;
    z-index: 202;
}


.close-modal,
.img-prev,
.img-next
{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.8rem;
    margin: 2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 3px 10px black;
    text-shadow:  0 1px 5px black;
    background-color: #2363cb;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 201;
}

.close-modal:hover,
.img-prev:hover,
.img-next:hover {
    background-color: #133875;
}

.gray-scale {
    filter: grayscale(100%);
}

.close-modal {
    top: 10%;
    right: 10%;
}

.img-prev {
    bottom: 10%;
    right: 50%;
}

.img-next {
    bottom: 10%;
    left: 50%;
}

@media screen and (max-width: 1000px) {

    .close-modal,
    .img-prev,
    .img-next {
        font-size: 2rem;
        padding: 1.3rem;
        border: 1px solid white;
    }

    .close-modal {
        top: 5%;
        right: 8.6%;
    }

    .img-prev {
        bottom: 10%;
        left: 10%;

    }

    .img-next {
        bottom: 10%;
       left: 75%
    }
}