/* Grundlegende Einstellungen */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    color: #1da1f2;
}

/* Formular Styling */
#message-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
}

button {
    padding: 10px;
    background-color: #1da1f2;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #0d8ddb;
}

/* Nachrichtenliste Styling */
#message-list {
    list-style: none;
    padding: 0;
}

#message-list li {
    background-color: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 4px solid #1da1f2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Stellt die <ul> auf Flexbox um und entfernt Aufzählungspunkte */
nav ul {
    list-style: none; /* Punkte entfernen */
    padding: 0;
    margin: 0;
    display: flex;    /* Ordnet die <li>-Elemente nebeneinander an */
    gap: 15px;        /* Abstand zwischen den Links */
    justify-content: center; /* Zentriert die Links (optional) */
}

/* Styling für die einzelnen Links */
nav a {
    text-decoration: none;
    color: #333;
    padding: 8px 12px;
    display: inline-block;
}

/* Aktiver Link / Hover-Effekt */
nav a.active,
nav a:hover {
    background-color: #1da1f2;
    color: white;
    border-radius: 4px;
}
