/* ============================================================
   base.css — Gemeinsame Stile für alle Seiten
   Jupiter Observatory
   ============================================================ */

/* ── Reset & Box Model ───────────────────────────────────────── */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

/* ── Body ────────────────────────────────────────────────────── */
body {
    font-family: Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #111;
    color: #ddd;
    overflow-x: hidden;
}

/* ── W3.CSS content-width fix — verhindert rechten Überlauf auf Mobile ── */
.w3-content {
    width: 100%;
}

/* ── Header ──────────────────────────────────────────────────── */
.header-box {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    border: none !important;
    top: 14%;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}

@media screen and (max-width: 600px) {
    .header-box {
        top: 10% !important;
        padding: 8px 12px !important;
    }
    .header-box h1 {
        font-size: 1.8rem !important;
    }
}

@media screen and (min-width: 601px) and (max-width: 992px) {
    .header-box {
        top: 12% !important;
        padding: 12px 16px !important;
    }
}

/* ── Navbar (dunkle Leiste unter dem Header) ─────────────────── */
.w3-bar a.w3-button {
    color: #eee;
}
.w3-bar a.w3-button:hover {
    background-color: #555;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
    background-color: #000;
    color: #888;
    text-align: center;
    padding: 20px;
    margin-top: 0;
    font-size: 0.85em;
}

.footer a {
    color: #aaa;
    text-decoration: none;
}
.footer a:hover {
    color: #fff;
}
