
html, body {
    height: 100%;
    margin: 0;
}

#viewer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Set the height to occupy the full viewport height if needed */
    width: 100%; 
    overflow: hidden;
   
}
  
img {
    width: auto;
    height: auto;
    max-width: 100%; /* Restrict the image to the container's width */
    max-height: 100%; /* Restrict the image to the container's height */
    object-fit: contain; /* Ensures the image maintains its aspect ratio */
}

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

#viewer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    /* Prevent selection */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
  
img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Prevent selection */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* Prevent dragging */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}