@keyframes gradient {
    0% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

.container {
    position: fixed;
    right: 8px;
    bottom: 8px;
    transition: 0.3s;
    color: white;
    backdrop-filter: blur(8px);
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    line-height: 52px;
    width: 52px;
    height: 52px;
    overflow: visible;

    .square {
        width: 52px;
        height: 52px;
        border-radius: 8px;
        background: rgb(0 0 0/ 40%);
        position: absolute;
        right: 0;
        top: 0;
        transition: 0.4s;
        overflow: hidden;

        img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
    }

    .diy{
        width: 52px;
        font-weight: 900;
        font-size: 18px;
        background-image: linear-gradient(
                45deg,
                #ee7752,
                #e73c7e,
                #23a6d5,
                #23d5ab
        );
        background-size: 400% 400%;
        background-position: 0 0;
        animation: gradient 6s ease infinite;
    }

    &.open {
        .diy {
            width: 86px;
            animation: gradient 2s ease infinite;
        }
    }
}
