/**
* ----------------------------------------
* animation slide-in-blurred-bottom
* ----------------------------------------
*/
@-webkit-keyframes slide-in-blurred-bottom {
    0% {
        -webkit-transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
                transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
        -webkit-transform-origin: 50% 100%;
                transform-origin: 50% 100%;
        -webkit-filter: blur(40px);
                filter: blur(40px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0) scaleY(1) scaleX(1);
                transform: translateY(0) scaleY(1) scaleX(1);
        -webkit-transform-origin: 50% 50%;
                transform-origin: 50% 50%;
        -webkit-filter: blur(0);
                filter: blur(0);
        opacity: 1;
    }
    }
    @keyframes slide-in-blurred-bottom {
    0% {
        -webkit-transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
                transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
        -webkit-transform-origin: 50% 100%;
                transform-origin: 50% 100%;
        -webkit-filter: blur(40px);
                filter: blur(40px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0) scaleY(1) scaleX(1);
                transform: translateY(0) scaleY(1) scaleX(1);
        -webkit-transform-origin: 50% 50%;
                transform-origin: 50% 50%;
        -webkit-filter: blur(0);
                filter: blur(0);
        opacity: 1;
    }
    }

/* Minimal heartbeat voor een rustiger effect */
@keyframes heartbeat-minimal {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05); /* Kleinere schaalvergroting */
    }
}

/* Minimalistische versie van de logo-widget */
.logo-widget.minimal {
    animation: heartbeat-minimal 2s infinite; /* Langzamere en minder intense animatie */
}

/* Verberg de textballon standaard */
.textballon-widget {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.textballon-widget.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Styling voor het logo met heartbeat effect */
.logo-widget {
    animation: slide-in-blurred-bottom 1.2s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    background-color: #2e2e2e;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    padding: 5px;
    border-radius: 5px;
    line-height: 0;
}

.logo-widget img {
    width: 40px;
    height: 40px;
}

/* Styling van het tekstballonnetje */
.textballon-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: fit-content;
}
.textballon {
    background-color: #f0f0f0;
    border-radius: 10px 10px 0 10px;
    font-size: 16px;
    color: #333;
    max-width: 300px;
    text-align: center;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}
.textballon p {
    padding: 10px;
}
/* Flexbox layout voor dynamische breedtes */
.textballon-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 300px;
}
.textballon-button {
    background-color: var(--e-global-color-primary, #2e2e2e);
    color: #fff;
    padding: 10px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    transition: background-color 0.3s;
    text-align: center;
    flex-grow: 1;
    flex-basis: calc(40% - 10px);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}
.textballon-button.full-width {
    flex-basis: 100%;
}
.textballon-button:hover {
    background-color: #444;
    color: #fff;
}
/* Sluitknop styling */
#textballon-widget button.close-button {
    all: unset;
    background-color: #2e2e2e;
    border: none;
    cursor: pointer;
    position: absolute;
    top: -25px;
    right: -20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#textballon-widget button.close-button img {
    all: unset;
    width: 20px;
}