/* Az összes highlight class-szal rendelkező kép mutatja, hogy kattintható */
img.highlight {
    cursor: pointer;
    transition: transform 0.3s ease;
}

img.highlight:hover {
    transform: scale(1.05);
}

/* Teljes képernyős overlay */
#image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

/* Az overlay aktív állapota */
#image-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Nagyított kép */
#overlay-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
   
}

/* Bezáró gomb */
#close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

#close-btn:hover {
    color: red;
}