/*
Styles nur für die von city-animation.js erzeugte
Struktur innerhalb von [data-city-animation].
Kein Zugriff auf/Konflikt mit Elementor-Content-Markup.
*/

[data-city-animation] {
    position: relative;
}

.city-animation-stage {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.city-animation-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(216, 222, 234, 0) 0%,
        rgba(216, 222, 234, 0.36) 48%,
        #ffffff 100%
    );
}

.city-animation-stage::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28vh;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(216, 222, 234, 0) 0%,
        rgba(216, 222, 234, 0.36) 48%,
        #ffffff 100%
    );
}

.city-animation-canvas {
    position: absolute;
    inset: 0;
}

.city-animation-canvas canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.city-animation-status {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 3;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #777;
}
