body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    overflow: hidden;
}

.wrapper {
    width: 85vw;
    height: 86vh;
    overflow-y: auto;
    border: 2px solid #ccc;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow-x: hidden;
    margin-top: 4vw;
    z-index: 500;
}

.input-field {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

#image-url {
    width: 90%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 0.35%;
}

#add-image {
    width: 18%;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#load-image:hover {
    background-color: #0056b3;
}

/*------------------------------*/
/* Instruction div styles here */

.instructions {
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.instructions a {
    color: #007BFF; /* Change the color of the link */
    text-decoration: none; /* Remove underline from link */
}

.instructions a:hover {
    text-decoration: underline; /* Underline the link on hover */
}

.instructions strong {
    font-weight: bold; /* Make the text bold */
}

/*------------------------------*/
/* End of Instruction div styles here */

#gallery-container {
    position: relative;
    margin: 5px;
    z-index: 1;
    color: #fff;
    left: 0.5%;
}

.image-wrapper {
    display: block;
    position: absolute;
    width: auto;
    margin: 5px;
    z-index: 1;
    color: #fff;
}

.image-wrapper > img {
  display: block;
  border-radius: 6px;
  width: 20vw;
  min-width: 280px !important;
  transition: filter 0.3s ease;
}

*img {
    user-select: none;
}

/*.image-wrapper:hover img {
    filter: blur(3px); /* Apply blur effect when hovering over the image-wrapper
}*/

.button-container {
    position: absolute;
    bottom: 0%;
    left: 50%;
    width: 100%;
    transform: translate(-50%);
    display: none;
    backdrop-filter: blur(4px);
    border-radius: 20px;
}

.image-wrapper:hover .button-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.image-button {
    width: 70px;
    height: 70px;
    border-radius: 23%;
    margin: 1.2vw;
    background: rgb(28, 36, 44);
    opacity: 0.9;
    color: white;
    border: solid white 1px;
}

.image-button:hover {
    opacity: 1; // Fully opaque when hovered
}

.red-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    pointer-events: none;
    z-index: 99999;
    user-select: none;
}


.overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    z-index: 9999;
}

.fullScreenCloseButton {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1000;
    padding: 5px 15px;
    border: none;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 28px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.blackOverlaySndBtn{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,1);
    display: block;
    z-index: 1000;
}
/*This is a transparent overlay on the image to prevent the drag*/

.transparentImageOverlay{

}


.delete-button {
    width: 50px;
    height: 30px;
    top: 8px;
    right: 0px;
    position: absolute;
    background: none;
    color: red;
    border: none;
    font-size: 21px;
    display: none;
}

.image-wrapper:hover .delete-button {
    display: block; /* Show the delete button when the image-wrapper is hovered */
}

.canvas-logo{
    position: fixed;
    left: 0px;
    top: 0px;
}

.canvas-logo img {
    width: 26vh;
    height: auto;
    display: block;
    margin: 0 auto;
}

.canvas-logo p {
    font-size: 13px;
    color: #ff00e9b5;
    text-align: center;
    margin-left: -8vh;
    font-weight: bold;
    font-style: italic;
    font-family: Arial, sans-serif;
    margin-bottom: -3vh;
}

@media only screen and (max-width: 768px) {
    .wrapper {
        width: 85vw;
        height: 86vh;
        overflow-y: auto;
        border: 2px solid #ccc;
        padding: 20px;
        background: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        overflow-x: hidden;
        margin-top: 13vw;
        z-index: 500;
    }

    .image-wrapper > img {
        display: block;
        border-radius: 6px;
        width: 20vw;
        min-width: 300px !important;
        transition: filter 0.3s ease;
    }

    .button-container {
        display: block;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .delete-button {
        width: 50px;
        height: 30px;
        top: 8px;
        right: 0px;
        position: absolute;
        background: none;
        color: red;
        border: none;
        font-size: 21px;
        display: block;
    }
    .image-button {
        margin: 1.9vw;
    }
    .eyeCandyLogo > img {
        top: 1px !important;
        right: 9px !important;
        height: 15vw !important;
    }

}

/* Small mobile devices */
@media only screen and (max-width: 480px) {
    .wrapper {
        margin-top: 17vw;
    }
}

.instructionText {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    flex-direction: column;
    color: white;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.eyeCandyLogo > img {
    position: fixed;
    top: 5px;
    right: 4px;
    width: auto;
    height: 5.98vw;
    border-radius: 14px;
}
