/* CSS für den Cookie-Banner */
#cookie-banner {
    position: fixed;
    top: 50%;
    /* Zentriert das Element vertikal */
    left: 50%;
    /* Zentriert das Element horizontal */
    transform: translate(-50%, -50%);
    /* Zentriert den Banner horizontal und vertikal */
    width: calc(100% - 40px);
    /* Breite des Banners mit 40px Abstand von den Seiten */
    max-width: 420px;
    /* Maximale Breite des Banners */
    background-color: #2c3e50;
    /* Dunkle Hintergrundfarbe */
    color: #ecf0f1;
    /* Helle Textfarbe */
    text-align: center;
    /* Zentriert den Text */
    padding: 20px;
    /* Innenabstand des Banners */
    border-radius: 10px;
    /* Abgerundete Ecken */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Schatten */
    z-index: 2000;
    /* Z-Index, um über anderen Inhalten zu liegen */
    box-sizing: border-box;
    /* Box-Modell */
    margin-top: 180px;
    /* Abstand vom oberen Rand */
}

.logo {
    height: 60px;
}

#cookie-banner p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
}

#cookie-banner p strong {
    font-size: 16px;
    color: #0f0;
    /* Highlight color */
}

#cookie-banner a {
    color: #0f0;
    /* Highlight color */
    text-decoration: none;
    font-weight: bold;
}

#cookie-banner a:hover {
    text-decoration: underline;
}

#cookie-banner .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Centering buttons in the banner */
#cookie-banner button {
    font-size: 16px;
    background-color: #0f0;
    /* Button background color */
    color: #333;
    /* Button text color */
    border: none;
    padding: 10px 20px;
    margin: 5px 0;
    cursor: pointer;
    border-radius: 25px;
    width: 100%;
    max-width: 300px;
    transition: background-color 0.3s ease;
}

#cookie-banner button:hover {
    background-color: rgb(0, 179, 0);
    /* Button hover color */
}

#cookie-banner button.decline {
    background-color: transparent;
    color: #0f0;
    /* Button text color */
}

#cookie-banner button.decline:hover {
    background-color: #34495e;
    /* Decline button hover color */
}

@media only screen and (min-width: 768px) {
    #cookie-banner .buttons {
        flex-direction: row;
    }

    #cookie-banner button {
        width: auto;
    }

    #cookie-banner button:not(:last-child) {
        margin-right: 10px;
    }
}

@media only screen and (max-width: 767px) {

    /* CSS für den Cookie-Banner */
    #cookie-banner {
        top: 30%;
        /* Zentriert das Element vertikal */
        margin-top: 204px;
        /* Abstand vom oberen Rand */
    }

    #cookie-banner button {
        transition: none;
    }

    #cookie-banner button:hover {
        background-color: none;
    }

    #cookie-banner button.decline:hover {
        background-color: none;
    }
}

@media only screen and (max-height: 550px) {

    /* CSS für den Cookie-Banner */
    #cookie-banner {
        top: 50%;
        left: 70%;
        margin-top: auto;
    }
}