#collage-frame {
    display: flex;
    width: 500px; 
    height: 400px;
    margin: auto;
}

.collage-image-field-wrapper {
    border: 1px solid;
    overflow: hidden;
}

.image-container {
    background-color: rgb(199, 104, 75);
    display: flex;
    margin: 0%;
    align-items: center;
    justify-content: center;
}

.__horizontal-collage {
    flex-direction: row;
}

.__vertical-collage {
    flex-direction: column;
}

.__space-between {
    margin: 2px !important;
}
/* POPUP */

#popup-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* This sets the opacity of the background */
    backdrop-filter: blur(10px); /* This sets the blur effect on the background */
    z-index: 999; /* This ensures that the background is above all other elements */
    display: none; /* This hides the background by default */
}

#popup-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: none;
}

.popup-section {
    margin-top: 20px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}


#popup-images-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.popup-image-box-wrapper {
    margin: 2%;
}

.popup-image-box {
    width: 100px;
    height: 100px;
    display: flex;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    justify-content: center;
}

@media only screen and (max-width: 650px) {
    .popup-image-box {
        width: 50px;
        height: 50px;
    }
    .option-group {
        display: flex;
        flex-direction: column;
    }
    .option-group label {
        text-align: left;
    }
}

.popup-image-box img {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%
}

.popup-image-preview-wrapper {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.popup-upload-btn {
    border: 2px solid black;
    padding: 4px;
}

#close-popup {
    position: absolute;
    top: -15px;
    right: -15px;
    border-radius: 100%;
    padding: 10px;
    background-color: tomato;
}