.image-container {
    cursor: pointer !important;
}

.gallery-modal-container {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    border-radius: 10px;
}

.gallery-modal-content {
    position: absolute;
    z-index: 99999;
    float: left;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.gallery-modal-content > div {
    width: fit-content;
    position: relative;
}

.gallery-modal-content > div > img {
    max-height: 80vh !important;
    border-radius: 10px;
}

@media screen and (max-width: 1600px) {
    .gallery-modal-content > div > img {
        min-width: 750px !important;
        max-width: 750px !important;
    }
}

@media screen and (max-width: 1024px) {
    .gallery-modal-content > div > img {
        min-width: 650px !important;
        max-width: 650px !important;
    }
}

@media screen and (max-width: 650px) {
    .gallery-modal-container {
        display: none !important;
    }

    .image-container {
        cursor: auto !important;
    }
}

.gallery-modal-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #002e94;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
}

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 45%;
    width: 50px;
    height: 50px;
    border: 1px solid transparent;
    border-radius: 50%;
    background-color: #002e94;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
}

.gallery-modal-content:hover .gallery-modal-close,
.gallery-modal-content:hover .gallery-modal-prev,
.gallery-modal-content:hover .gallery-modal-next {
    display: flex;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover,
.gallery-modal-close:hover {
    background-color: #fff;
    color: #000;
    border-color: #002e94;
    transition: all 0.3s ease-in;
}

.gallery-modal-prev {
    left: -30px;
}

.gallery-modal-next {
    right: -30px;
}

.gallery-modal-prev::before {
    content: "<";
}

.gallery-modal-next::before {
    content: ">";
}