﻿Elemente und Universalselektor
* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
}

body {
    background: #d3d919;
    color: white;
}

#cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    background-color: #d3d919;
    color: black;
    padding: 1em;
    width: 100%;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    z-index: 9999; /* sorgt dafür, dass es die Webseite überdeckt bis der cookie akzeptiert wurde. */
}

h1, h2, h3, h4, h5 {
    color: black;
    display: block;
    text-align: center;
    margin: 15px;
    padding: 5px;
    border-color: black;
    border-style: groove;
    border-width: 1pt;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

a {
    color: white;
    background: #23328a;
    text-decoration: none;
    display: inline-block;
    min-width: 85px;
    height: 20px;
    text-align: center;
    margin: 5px;
    padding: 5px;
    border-style: groove;
    border-width: 1pt;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 5px 2px 3px #888;
    -webkit-box-shadow: 5px 2px 3px #888;
    box-shadow: 5px 2px 3px #888;
}

.fehlermeldung {
    color: #6C0610;
}

#form {
    background: white;
    color: #145D05;
    margin: 5px;
    padding: 10px;
    border-style: inset;
    border-width: 3pt;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 5px 5px 5px #888;
    -webkit-box-shadow: 5px 5px 5px #888;
    -moz-box-shadow: 5px 2px 3px #888;
    -webkit-box-shadow: 5px 2px 3px #888;
    box-shadow: 5px 2px 3px #888;
}

textarea {
    margin: 10px;
    padding: 10px;
    border-style: solid;
    border-width: 1pt;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 5px 5px 5px #888;
    -webkit-box-shadow: 5px 5px 5px #888;
    -moz-box-shadow: 5px 2px 3px #888;
    -webkit-box-shadow: 5px 2px 3px #888;
    box-shadow: 5px 2px 3px #888;
}

input {
    margin: 5px;
    padding: 2px;
    border-style: solid;
    border-width: 1pt;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 5px 5px 5px #888;
    -webkit-box-shadow: 5px 5px 5px #888;
    -moz-box-shadow: 5px 2px 3px #888;
    -webkit-box-shadow: 5px 2px 3px #888;
    box-shadow: 5px 2px 3px #888;
}

.reg_label {
    color: black;
    display: inline-block;
    width: 100px;
}

.fehlermeldung {
    color: #6C0610;
}

.captcha {
    width: 200px;
    margin: 10px;
    border-style: groove;
    border-width: 1pt;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 5px 2px 3px #888;
    -webkit-box-shadow: 5px 2px 3px #888;
    box-shadow: 5px 2px 3px #888;
}


#nav {
    background-color: #d3d919;
    height: 122px;
    display: flex;
    justify-content: center; /* horizontale Zentrierung */
    align-items: center; /* vertikale Zentrierung */
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 122px;
    width: auto;
    display: block;
}


.nav-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    height: 100%;
}

.nav-buttons a {
    color: black;
    background: #d3d919;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 5px 2px 3px #888;
    display: flex;
    align-items: center;
    height: 40px;
}

#content {
    color: black;
    border-color: black;
    text-align: center;
    display: block;
    width: 1000px;
    margin: 30px auto;
    padding: 20px;
    border-style: groove;
    border-width: 1pt;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 8px;
}

img {
    text-align: center;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #d3d919;
    font-size: 16px;
    color: black;
}

#zebra {
    color: #F2EB80;
    border-collapse: collapse;
    border: 2px solid;
    border-color: white;
    width: 1000px;
    margin: 20px auto;
    background-color: #23328a;
}

    #zebra thead {
        background-color: #23328a;
        color: white;
        font-size: 16px;
    }

    #zebra td {
        color: white;
        font-size: 14px;
    }

    #zebra tr {
        color: white;
        font-size: 14px;
    }

    #zebra tbody tr.ungerade td {
        background-color: white;
        color: #23328a;
    }

    #zebra tbody tr.gerade td {
        background-color: #23328a;
        color: white;
    }

@media (max-width: 768px) {
    #content {
        width: 90%;
        margin: 30px auto;
        padding: 20px;
        box-sizing: border-box;
    }

    img {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        height: auto;
    }


    #zebra {
        width: 100%;
        margin: 20px auto;
        font-size: 14px;
        box-sizing: border-box;
        overflow-x: auto;
        display: block;
    }

    #zebra thead {
        font-size: 15px;
    }

    #zebra td,
    #zebra tr {
        font-size: 13px;
    }

    #zebra tbody tr.ungerade td {
        background-color: white;
            color: #23328a;
    }

    #zebra tbody tr.gerade td {
        background-color: #23328a;
        color: white;
    }

    #nav {
        flex-direction: column;
        height: auto;
        padding: 10px;
        text-align: center;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        width: 100%;
    }

    .nav-logo {
        height: auto;
        max-width: 80%;
    }

    .nav-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: center;
    }

        .nav-buttons a {
            width: 90%;
            text-align: center;
            padding: 10px;
            font-size: 1em;
        }

    #form,
    textarea,
    input,
    .captcha {
        width: 100%;
        box-sizing: border-box;
    }

    h1, h2, h3, h4, h5 {
        font-size: 1.2em;
        margin: 10px;
    }

    a {
        min-width: unset;
        width: 90%;
        height: auto;
        padding: 10px;
    }

    #cookie-banner {
        font-size: 14px;
        padding: 0.5em;
        width: 90%;
    }

    #cookie-banner input[type="submit"] {
        width: auto; /* oder z. B. 120px für feste Breite */
        padding: 0.5em 1em;
        font-size: 1em;
        border-radius: 5px;
    }

    footer {
        bottom: 20px;
        font-size: 14px;
        padding: 10px;
    }
}