.imagePopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.imagePopup.show {
    display: flex;
}

.imagePopupContainer {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    overflow: visible;
    text-align: center;
}

.popupText {
    font-size: 60px !important;
    font-weight: 700 !important;
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    z-index: 1001;
    font-size: 60px !important;
    margin: 0;
    height: auto;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.imagePopupContainer img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.btnClose {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1001;
    border: none;
    outline: none;
    background-color: #eb4034;
    color: #fff;
    font-size: 20px;
    width: 30px;
    height: 30px;
    border-radius: 15%;
    transition: color ease .3s, background-color ease .3s;
}

.btnClose:hover {
    color: #eee;
    background-color: #d13126;
}

.imageThumbnail {
    transition: filter ease 0.3s, transform ease 0.3s;
}

.imageThumbnail:hover {
    cursor: pointer;
    filter: brightness(1.05);
    transform: scale(1.01);
}

/* Style the left and right arrow icons */
.arrow-button {
    position: absolute;
    top: 50%;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    border: none;
    outline: none;
    z-index: 1001;
    font-size: 30px; /* Adjust the size as needed */
    transition: color ease .3s;
}

.arrow-button:focus,
.btnClose:focus {
    outline: none;
}

.arrow-left:hover,
.arrow-right:hover {
    cursor: pointer;
    color: rgba(200, 200, 200, 0.8);
}

.arrow-left {
    left: -30px;
}

.arrow-right {
    right: -30px;
}

.arrow-left.hidden,
.arrow-right.hidden {
    color: rgba(255, 255, 255, 0.3);
}

.arrow-left.hidden:hover,
.arrow-right.hidden:hover {
    cursor: default;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {

    .popupText {
        font-size: 50px !important;
    }
    
    .arrow-button {
        font-size: 25px;
    }

    .arrow-left {
        left: -25px;
    }
    
    .arrow-right {
        right: -25px;
    }

}

@media (max-width: 540px) {

    .popupText {
        font-size: 40px !important;
    }

    .arrow-button {
        font-size: 18px;
    }

    .arrow-left {
        left: -15px;
    }
    
    .arrow-right {
        right: -15px;
    }

}

@media (max-width: 320px) {

    .popupText {
        font-size: 30px !important;
    }

    .arrow-button {
        font-size: 15px;
    }

    .arrow-left {
        left: -12px;
    }
    
    .arrow-right {
        right: -12px;
    }

}