{
    box-sizing: border-box;
}
 
.image-rendertype {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}
 
.image-rendertype img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; 
    left: 0;
    transition: opacity 0.5s ease; 
    opacity: 0;
    z-index: 1;
    border-radius: 15px;
}

.image-rendertype img.active {
    opacity: 1;
    z-index: 2;
}

.bucket-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(8, 1fr);
    pointer-events: none;
}

.bucket-overlay div {
    background-size: 1200% 800%;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    box-sizing: border-box;
    border-radius: 5px;
}