/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 #builder-images-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px; /* Space between thumbnails */
    position: relative;
    margin-top: 25px;
    min-height: 800px;
}

#builder-images-container.thummy {
    position: relative;
    width: 100%;
}

#builder-images-container .thummy img  {
    width: 100%;
    height: auto;
    display: block; /* Removes bottom margin/gap */
}

#builder-images-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* White background with 80% opacity */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
    flex-direction: column;
}

#builder-images-container  .overlay .text {
    z-index: 11; /* Ensures text is on top and unaffected by the background's opacity */
    color: black;
    font-size: 32px;
}

.download-btn{
    background-color: #fff !important;
    color: #000 !important;
    border-radius: 10px;
    border: 1px solid #000 !important;
    position: relative !important;
    padding: 2px 20px;
    left: 28%;
    bottom: 16%;
}

@media (max-width: 991px){
    #builder-images-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px){
    #builder-images-container {
        grid-template-columns: 1fr;
    }
}