body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

#chat-container {
    max-width: 800px;
    width: 95%;
    height: calc(100% - 80px); /* Platz für Menü */
    margin: 0 auto; /* Zentriert das gesamte Fenster */
    position: fixed;
    top: 0px; /* Startet unter dem Menü */
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    z-index: 10; /* Chatfenster bleibt über dem Menü */
}

@media (max-width: 768px) {
    #chat-container {
        width: 95%;
        padding-bottom: 0px; /* Platz für Menü */
        height: calc(85vh - 25px); /* Mehr Platz für Mobilgeräte */
    }
}

#chat-header {
    background-color: rgba(227, 0, 123, 1);
    color: white;
    display: flex;
    align-items: center;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    z-index: 1000;
}

#chat-header img {
    height: 50px;
    margin-right: 10px;
}

#chat-messages {
    overflow-y: auto;
    height: calc(100vh - 200px);
    padding: 10px;
    margin: 0;
    display: flex;
    flex-direction: column;
    padding-top: 60px;
}

.message {
    display: flex;
    justify-content: flex-start;
    margin: 10px 0;
    width: 100%;
}

.message.user {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 70%; /* Nachrichtenbreite auf 70% begrenzen */
    margin: 5px 0;
    padding: 10px;
    border-radius: 10px;
    text-align: left;
    word-wrap: break-word;
}

.message.user .message-bubble {
    background: #fff9c4;
    text-align: right;
    border: 2px solid #004085;
    border-radius: 10px;
}

.message.lowwi .message-bubble {
    background-color: #dfffd6;
    border: 2px solid #155724;
}

.message.lowwi-odd .message-bubble {
    background-color: #cce5ff;
    border: 2px solid #004085;
}

#chat-input-container {
    position: fixed;
    bottom: 0px;
    width: 100%;
    max-width: 800px;
    background: white;
    z-index: 1000;
    border-top: 1px solid #ccc;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    #chat-input-container {
        max-width: 98%;
        width: 95%;
        left: 50%;
        transform: translateX(-50%);
    }
}

#chat-input-wrapper {
    max-width: 800px;
    width: 100%;
    display: flex;
}

#chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#send-button {
    margin-left: 10px;
    padding: 10px 20px;
    background-color: rgba(227, 0, 123, 1);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/* Standardgröße für größere Bildschirme */
.sehenswuerdigkeiten-bild {
    width: 150px;
    float: right;
    margin-left: 10px;
}

/* Für mobile Geräte (maximale Bildschirmbreite: 768px) */
@media (max-width: 768px) {
    .sehenswuerdigkeiten-bild {
        width: 70px; /* Verkleinere das Bild auf 100px Breite */
    }
}

.sehenswuerdigkeiten-text {
    overflow: hidden; /* Verhindert, dass der Text um das Bild herumfließt */
}
/* Basis-Button-Stil */
.info-button {
    padding: 10px 15px;
    font-size: 14px;
    background-color: #4caf50; /* Grün */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.info-button:hover {
    background-color: #0099D0; /* Dunkleres Grün beim Hover */
}

.info-button:active {
    background-color: #3e8e41; /* Noch dunkler beim Klicken */
}
.weiter-button {
    padding: 10px 15px;
    font-size: 14px;
    background-color: #0099D0; /* Grün */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.weiter-button:hover {
    background-color: #45a049; /* Dunkleres Grün beim Hover */
}

.weiter-button:active {
    background-color: #3e8e41; /* Noch dunkler beim Klicken */
}

/* Fokus-Effekt (für Barrierefreiheit) */
.custom-button:focus {
    outline: 2px solid #4CAF50; /* Grüne Umrandung beim Fokus */
    outline-offset: 2px; /* Abstand zur Umrandung */
}
/* Standardmäßig wird das Menü fixiert */

.event-container {
    position: relative;
    overflow: hidden;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.event-content {
    flex: 1;
    max-width: 70%; /* Begrenzt den Textbereich */
}

.event-image {
    flex: 0 0 30%; /* Begrenzt den Bildbereich */
    text-align: right;
}

.event-image img {
    max-width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 5px;
}
.event-image img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 5px;
}

/* Wenn die Bildschirmhöhe unter einem bestimmten Wert fällt (z. B. beim Öffnen der Tastatur), wird das Menü relativ */
@media (max-height: 600px) {
    .bottom-nav {
        position: relative !important; /* Menü wird relativ, wenn Tastatur angezeigt wird */
    }
}
