/* === BASE STYLES === */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #5F7A7F;
}
/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px;
    background: #fff;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
header button {
    padding: 10px 20px;
    margin-right: 10px;
    font-size: 16px;
    cursor: pointer;
}
/* AUTOGRID / COLUMNS */
.autogrid_row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
    text-align: center;
}
.autogrid_row .column {
    display: flex;
    justify-content: center;
    align-items: center;
}
.lottie-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 500px;  
  border-radius: 0;
  background-color: #0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

.lottie-card .inside {
  position: relative;
  z-index: 2;               /* Text bleibt über Animation */
  color: #fff;
}

.lottie-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: visible;
  pointer-events: none;     /* Animation blockiert keine Klicks */
}

/* Animation-Container */
.lottie-bg svg {
  position: relative;
  transform-origin: center center;
  width: 200%;
  height: 200%;
}

.lottie-bg svg {
  outline: 2px dashed lime;
  z-index: 20;
}
/* Animation 1 – etwas größer und nach oben verschoben */
.lottie-test-final .lottie-bg svg {
  transform: scale(1.8);
}

/* Animation 2 – kleiner und nach rechts verschoben */
.lottie-td-test-final .lottie-bg svg {
  transform: scale(1.2);
}
