.lighbox-container { display: flex; width: 100%; flex-direction: column; } .lighbox-row { display: flex; justify-content: space-between; } .thumbnail { cursor: pointer; width: 250px; height: auto; border-radius: 8px; transition: transform 0.2s ease; } .thumbnail:hover { transform: scale(1.05); } .lightbox { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(4px); } .lightbox-content { margin: 5% auto; display: block; max-width: 90%; max-height: 80vh; animation: zoom 0.3s; } .close-btn { position: absolute; top: 20px; right: 35px; color: white; font-size: 40px; font-weight: bold; cursor: pointer; z-index: 10000; } .close-btn:hover, .close-btn:focus { color: #bbb; text-decoration: none; cursor: pointer; } @keyframes zoom { from { transform: scale(0); } to { transform: scale(1); } } @media (max-width: 600px) { .lighbox-container { padding: 20px; } }