
/* styles.css */

body.lock-scroll {
    overflow: hidden;
}

.overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.689); /* Transparent background */
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-in-out; /* Smooth transition */
}

.overlay.show {
    display: flex; /* Display when showing */
    opacity: 1; /* Full opacity */
}

.overlay-content {
    position: relative;
    text-align: center;
}

.close {
    position: absolute;
    top: 10px;
    right: 12px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#displayImage {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    animation: fadeIn 0.5s; /* Fade-in animation */
}

/* Keyframes for fade-in */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
