/* Allgemeine Einstellungen */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    background-color: #e6f7ff; /* Helles Blau */
    overflow: hidden;
}

/* Überschrift-Stil */
.headline {
    text-align: center;
    font-size: 1.8rem;
    line-height: 2.0; /* Erhöhte Zeilenhöhe für Abstände */
    margin: 20px 10px;
    color: #0056b3; /* Dunkles Blau */
    background-color: #ccf2ff; /* Leichtes Blau hinterlegt */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Spezielles h2-Stil für Kompression2.html */
h2.headline {
    font-size: 2rem; /* Größere Schriftart für h2 */
    color: #007f3f; /* Grün für bessere Sichtbarkeit */
    font-weight: bold;
    text-align: center;
    margin: 20px;
    background-color: #ccf2e0; /* Leichtes Grün hinterlegt */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Bild-Stil */
.picture {
    display: block;
    margin: 20px auto;
    max-width: 90%; /* Passt das Bild für Mobilgeräte an */
    height: auto;
    border-radius: 10px;
    border: 2px solid #0073e6; /* Kräftiges Blau */
    object-fit: contain; /* Sicherstellt, dass das Bild korrekt skaliert */
}

/* Container für Bild und Scrollen */
.desimg {
    max-height: 60vh; /* Begrenzung der Höhe auf 60% der Bildschirmhöhe */
    overflow-y: auto; /* Ermöglicht Scrollen bei Bedarf */
    margin: 0 auto;
    width: 100%;
}

/* Button-Stil */
.buttonforward {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007f3f; /* Grün */
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 90%;
    max-width: 300px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover-Effekt */
.buttonforward:hover {
    background-color: #005f30; /* Dunkleres Grün */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

/* Pfeil-Stil */
.arrowrightlink svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

/* Video-Stil */
.videorea {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #0073e6;
}

/* Responsives Design */
@media (max-width: 768px) {
    .headline {
        font-size: 1.4rem;
        padding: 10px;
    }

    h2.headline {
        font-size: 1.6rem;
    }

    .buttonforward {
        font-size: 1.2rem;
    }

    .arrowrightlink svg {
        width: 25px;
        height: 25px;
    }

    .picture {
        max-width: 90%;
    }
}

@media (max-width: 500px) {
    .headline {
        font-size: 1.2rem;
        padding: 8px;
    }

    h2.headline {
        font-size: 1.4rem;
    }

    .buttonforward {
        font-size: 1rem;
    }

    .arrowrightlink svg {
        width: 20px;
        height: 20px;
    }
}
