
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    overflow-x: hidden;
}

body {

    cursor: url("https://www.sprech-kunst.com/images/MicroCursor.png"),
            auto;
}


/* Hauptinhalt */
main {
    position: relative;
    padding: 2rem;
    padding-bottom: 5rem;
    flex: 1;
    min-height: calc(100vh - 120px); /* Höhe des Viewports minus Header und Footer */
    height: auto; /* Dynamische Höhe, abhängig vom Inhalt */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box; /* Padding und Border werden in die Breite und Höhe eingerechnet */
}


main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 1;
}

main > * {
    position: relative;
    z-index: 2;
    margin-bottom: 0; /* Sicherstellen, dass keine zusätzliche Margin nach unten vorhanden ist */
    padding-bottom: 0;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    color: #333;
}

h2 {
    font-size: 1.8rem;
    color: #555;
    margin-top: 2rem;
    text-align: center;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 1rem;
}

#screen-resolution {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: white; /* Optional für bessere Sichtbarkeit */
    color: red;
    font-size: 14px;
    font-weight: bold;
    padding: 5px;
    z-index: 10000; /* Über allen anderen Elementen */
    border: 1px solid red; /* Optional, um es besser sichtbar zu machen */
    display:none1;
}

@media (max-width: 768px) {
    body, html {
        margin: 0;
        padding: 0;
        height: 100%;
    }

    main {
        background-size: cover;
        min-height: 100vh; /* Der gesamte Viewport */
        background-position: center;
        background-repeat: no-repeat;
    }

    footer {
        position: relative; /* Fixiere den Footer nicht für kleine Bildschirme */
        bottom: 0;
        left: 0;
        width: 100%;
    }
}


