 body,
img,
.image-container,
.photo-entry,
* {
  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE10+/Edge */
  user-select: none;         /* Standard */
  -webkit-user-drag: none;   /* Prevent drag ghost image */
}

html {
    overflow: hidden;
}

body {
    margin: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    display: block;
    position: relative;
    overflow: hidden;

}


.image-container {
    display: none;
    width: auto;
    height: auto;
    position: absolute; /* Required for moving */
    cursor: grab;
    z-index: 1;
}

.image-container:hover {
    z-index: 0100;
}

.image-container:active {
    cursor: grabbing;
    user-select: none;
}

.image {
    max-width: 200px; /* Adjust the image size as needed */
    max-height: 200px;
    height: auto;
    width: auto;
    cursor: pointer;
    transition: transform 0.1s ease;
}

@media only screen and (max-width: 768px) {
    .image {
        max-width: 100px; /* Adjust the image size as needed */
        max-height: 100px;
    }
}

input {
    position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #000;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 16px;
  letter-spacing: 0.5px;
  z-index: 1000;
  font-size: 12px;
  font-family: Helvetica;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.saved-tags-display {
    position: fixed;
    top: 0px;
    left: 0px;
    padding: 20px;
    gap: 2px; /* optional spacing between tags */

    display: flex;
      flex-direction: column;
      justify-content: center; /* Vertically center the whole column in the container */
      height: calc(100% - 40px);  
      z-index: 1000;
      pointer-events: none;
}

.saved-tags-display div {
    display: inline-block;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 2px 4px 3px;
    width: fit-content;
    font-size: 10px;
    font-family: helvetica;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: #fff;
    cursor: pointer;

    pointer-events: initial;
}

.saved-tags-display div:hover {
    color: #ff2a00;
    border: 1px solid #ff2a00;

}

.noSelect {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.noSelect:focus {
    outline: none !important;
}

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 20px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    box-sizing: border-box;
    gap: 4px;
    text-align: center;
    padding: 10px;
}

#lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    cursor: zoom-out;
    margin:0 2px;
    object-fit: contain;
    cursor: zoom-out;
    flex: 0 0 auto;
}

img {
    margin: 0;
}



#selection-box {
    position: absolute;
    border: 1px solid #002fa6;
    background-color: rgba(0, 18, 65, 0.2);
    display: none;
    pointer-events: none;
    z-index: 1000;
}
.image-container.selected {
    outline: none;
    line-height: 0;
}
.image-container.selected img {
    outline: 1px solid #ff2a00;

}

.madeby {
    position: fixed;
    bottom: 20px;
    width: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'helvetica';
    font-size: 10px;
    text-transform: uppercase;
    text-align: center;
    z-index: 0;
    letter-spacing: 0.4px;
}

.madeby a {
    display: inline-block;
    color: #ff2a00;
    text-decoration: none
}

.madeby a:hover {
    color: #000;
}

.image-count {
    position: fixed;
    top: 30px;
    width: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'helvetica';
    font-size: 10px;
    text-transform: uppercase;
    text-align: center;
    z-index: 0;
}