#message-box {
    position: fixed;
    top: 50%;
    right: 20px;
    background-color: #09b4e8;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s ease-in-out;
}

#message-box.show {
    visibility: visible;
    opacity: 1;
}

#message-content {
    padding: 10px;
}

#message-text {
    margin: 0;
}

/* slide-in animation */
#message-box.slide-in {
    animation: slide-in 0.5s forwards;
}

@keyframes slide-in {
    0% {
        right: -200px;
    }

    100% {
        right: 20px;
    }
}

/* slide-out animation */
#message-box.slide-out {
    animation: slide-out 0.5s forwards;
}

@keyframes slide-out {
    0% {
        right: 20px;
    }

    100% {
        right: -200px;
    }
}

/* qr box */
.qr-popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.qr-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
}

.qr-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.qr-close:hover {
    color: black;
}

@media only screen and (max-width: 600px) {
    .qr-box {
        width: 90%;
    }
}

.mobile-button {
    background-color: rgb(26, 126, 239);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
  }
  
  .row {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: left;
  }

  .full-img {
    width: 640px;
    height: 640px;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: row;
  }

  .full-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .thumb-bar {
    display: block;
    width: 640px;
    height: 160px;
    /* display: flex; */
    overflow-x: auto;
    border: 1px solid #ccc;
  }

  .thumb-box {
    width: 160px;
    height: 160px;
    cursor: pointer;
    display: flex;
    border: 1px solid #ccc;
    /* background-color: silver; */
  }

  .thumb-box img {
    max-width: 100%;
    max-height: 100%;
    min-width: 100%;
    object-fit: contain;
    /* border: #ccc 1px solid;
    background-color: silver; */
  }