.dbc-coffee-cup {
    --dbc-coffee-size: min(525px, 98vw);
    --dbc-vapour-color: rgba(255, 255, 255, 0.85);
    --dbc-vapour-blur: 8px;
    --dbc-vapour-rise: 300px;
    --dbc-vapour-offset-y: 100px;
    --dbc-vapour-duration: 3.5s;
    position: relative;
    width: var(--dbc-coffee-size);
    max-width: 100%;
    margin: 0 auto;
    isolation: isolate;
}

.dbc-coffee-cup__img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.dbc-coffee-cup .vapour {
    position: relative;
    display: flex;
    z-index: 1;
    padding: 0 10px;
    justify-content: center;
    transform: translate(40px, 325px);
}

.dbc-coffee-cup .vapour span {
    position: relative;
    bottom: 0px;
    display: block;
    margin: 0 2px 0;
    min-width: 8px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
    animation: dbc-coffee-vapour 5s linear infinite;
    opacity: 0;
    filter: blur(10px);
    animation-delay: calc(var(--v) * -0.5s);
}

@keyframes dbc-coffee-vapour {
    0% {
        transform: translateY(0) scaleX(1);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    50% {
        transform: translateY(-150px) scaleX(5);
    }
    95% {
        opacity: 0;
    }
    100% {
        transform: translateY(-300px) scaleX(10);
    }
}

@media (max-width: 767px) {
    .dbc-coffee-cup {
        display: none !important;
    }
}
