/* Overlay styles */
.overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}
  
.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 90%;
    max-height: 90%;
    background-color: white;
}
  
.overlay-content img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}