@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600&display=swap');

#ads {
   width: 240px;
  flex: 0 0 240px;
  width: 100%;             /* фиксированная ширина */
  background-color: #E0F05C; /* второй цвет */      /* второй цвет, как у левой колонки */
  border-radius: 10px;
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;               /* растягивается по высоте контейнера */
  font-family: 'Baloo 2', cursive;
  text-align: center;
  position: relative;             /* важно для элементов внутри */
  z-index: 1;                     /* ниже шапки, выше фона */
  overflow-x: visible;
  overflow-y: hidden;             /* тигр/Микки не обрезается */
}


/* 🌟 Überschrift */
#ads h3 {
  color: #2E4E2E;
  font-size: 22px;
  margin-bottom: 10px;
  text-shadow: 0 0 6px rgba(255,255,255,0.8);
}

/* 💬 Wechselfelder */
#ad-text {
  font-size: 18px;
  font-weight: 600;
  color: #2E4E2E;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  line-height: 1.4;
}

/* 💡 Tipp */
.ads-tip {
  background: rgba(255,255,255,0.4);
  border: 2px solid #C4E85A;
  border-radius: 10px;
  padding: 8px;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.3;
  box-shadow: 0 0 8px rgba(255,255,255,0.4);
}

/* 🎮 Smiley */
.ads-smiley {
  font-size: 36px;
  margin: 15px 0;
  animation: smileyJump 2s ease-in-out infinite;
}
@keyframes smileyJump {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* 🐭 Micky Maus */
.block-genie-abss {
  margin-top: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  animation: genie-abssWave 2s ease-in-out infinite alternate;
}

.block-genie-abss img {
  max-width: 170px;
  height: auto;
  transition: transform 0.3s ease;
}

.block-genie-abss img:hover {
  transform: scale(1.1) rotate(2deg);
}

@keyframes genie-abssWave {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-1deg); }
  100% { transform: translateY(0) rotate(1deg); }
}
@media (max-width: 900px) {
  #ads {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  #ads h3 {
    font-size: 20px;
  }

  .ads-smiley {
    font-size: 28px;
  }

  .block-genie-abss img {
    max-width: 120px;
  }
}

/* 📱 Адаптация под маленькие экраны */
@media (max-width: 480px) {
  #ads {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
  }

  #ads h3 {
    font-size: 18px;
  }

  #ad-text {
    font-size: 16px;
    min-height: auto;
  }

  .ads-smiley {
    font-size: 26px;
    margin: 10px 0;
  }

  .block-genie-abss img {
    max-width: 100px;
  }
}




