.mcw-selector-wallpaper {
    position: relative;
    overflow: hidden;
    height: 100%;
    aspect-ratio: 2 / 1;

    box-shadow: 0 3px 2px 0 rgba(100, 100, 100, 0.8);
    transition: 250ms; 
}

.mcw-selector-wallpaper:hover {
    cursor: pointer;
    box-shadow: 0 5px 7px 2px rgba(100, 100, 100, 0.8);
}

.mcw-selector-wallpaper > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: bottom;
}

.mcw-selector-wallpaper-content-background, .mcw-selector-wallpaper-content-background-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.mcw-selector-wallpaper-content-background {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0,0) 50%);
}

.mcw-selector-wallpaper-content-background-2 {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0,0) 50%);
}

.mcw-selector-wallpaper-content-background-2 {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0,0) 50%);
    width: 100%;
    height: 100%;
    z-index: 3;
}

.mcw-selector-wallpaper-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 0.5em;
}

.mcw-selector-wallpaper-label {
    color: white;
    opacity: 1;
    font-size: 14px;
    transition: 200ms;
}

.mcw-selector-wallpaper:hover .mcw-selector-wallpaper-label {
    opacity: 1;
}

.mcw-edit-template-button {
    width: fit-content;
}

.mcw-edit-template-button:hover {
    cursor: pointer;
}

.rainbow {
    background: linear-gradient(270deg, #ff9a9e, #fad0c4, #fbc2eb, #a1c4fd, #c2e9fb, #d4fc79, #96e6a1);
    background-size: 800% 800%;
    animation: rainbow-animation 10s ease-in-out infinite;
}

@keyframes rainbow-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
  