/* -------------------------------------------------
   Grundlayout – freundlich, bunt, kinderleicht
   ------------------------------------------------- */
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Comic Sans MS', 'Arial', sans-serif;
    overflow: hidden;               /* verhindert Scrollen */
}

/* Hintergrund‑Video, füllt den gesamten Viewport */
.bg-video {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Bild füllt, behält Seitenverhältnis */
    z-index: -1;
}

/* Halbdurchsichtiger Overlay für bessere Lesbarkeit */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 800px;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(255,255,255,0.85);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* Titel */
.overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff5722;
}

/* Countdown‑Boxen */
#countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.time-box {
    background: #ffcc80;
    border-radius: 0.5rem;
    padding: 1rem;
    min-width: 70px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}
.time-box span {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #d84315;
}
.time-box small {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.9rem;
    color: #5d4037;
}

/* Hinweis‑Text */
.hint {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: #424242;
}

/* Responsives Design für Tablets & Handys */
@media (max-width: 600px) {
    .overlay h1 { font-size: 2rem; }
    .time-box span { font-size: 1.5rem; }
}
