/* Allgemeine Einstellungen */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh; /* mindestens volle Bildschirmhöhe */
    font-family: 'Poppins', sans-serif;
    background-color: rgba(168,168,168); /* gleicher Hintergrund */
}

/* Header */
header {
    background-color: rgb(168, 168, 168);
    height: auto;
    display: block;
    text-align: center;
    line-height: normal; /* Text vertikal zentriert */
    padding: 10px;
}
header p {
    font-size: 28px;
    margin: 0;
}

/* Content-Bereich */
.content {
    display: block;
    text-align: center;
    padding: 0px 0;
}

.content-box {
    border: 2px solid rgb(120, 120, 120);
    padding: 20px;
    background-color: white;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto; /* zentriert */
    box-sizing: border-box;
}

.content-box .grafik {
    width: 100%;
    max-width: 1160px;
    height: auto; /* keine Verzerrung */
    display: block;
}

.content p {
    font-size: 18px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: rgba(168,168,168,0.5);
    position: sticky;
    height: 70px;
    text-align: center;
    padding: 20px;
}

footer p {
    font-size: 12px;
    margin: 0;
}

#version-text {
    margin-left: 30px;
    font-size: 14px;
    color: white;
    float:right
}

button {
    background-color: gray;
    color: white;
    border: none;
    padding: 5px 5px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    float: right;
}
button:hover {
    background-color: darkgray;
}

/* Responsive */
/* Mittelgroße Bildschirme, z. B. Notebooks */
@media (max-width: 1800px) {
    .content-box {
        max-width: 850px;  /* schmaler */
    }
}

/* Tablets */
@media (max-width: 768px) {
    .content-box {
        max-width: 600px;
    header, footer {
        height: auto;
        line-height: normal;
        padding: 10px;
    }
    header p {
        font-size: 24px;
    }
    .content-box {
        padding: 10px;
    }
    footer p#version-text {
        font-size: 10px;
    }
    }
}

/* Smartphones */
@media (max-width: 480px) {
    .content-box {
        max-width: 95%;  /* fast ganze Breite */
    }
}
