/* Grundlegende Einstellungen für die gesamte Seite */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #e8deca; /* Hintergrundfarbe ist jetzt beige */
    color: #333;
}

/* Stil für die Navigationsleiste */
nav {
    background-color: #2c3e50;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    margin: 0 15px;
}

/* Stil für das Logo in der Navigationsleiste */
nav ul li img {
    height: 40px;
    width: auto;
    display: block;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Stil für Überschriften */
h1, h2, h3 {
    color: #754f02;
}

/* Stil für den Hauptinhalt der Seite (ohne Rahmen) */
main {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
}

/* -------------------------------------
   Stile für das Kontaktformular
   ------------------------------------- */
form p {
    margin-bottom: 15px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #cceeff;
    border-radius: 8px; /* Abgerundete Ecken */
    background-color: #e0f2f7; /* Hellblau als Hintergrund */
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    font-size: 1em;
    color: #333;
    transition: all 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
    outline: none;
}

form button[type="submit"] {
    background-color: #2c3e50;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

form button[type="submit"]:hover {
    background-color: #e74c3c;
}

/* Media Query für Mobilgeräte (Responsive Design) */
@media screen and (max-width: 600px) {
    nav ul {
        flex-direction: column;
    }
    nav ul li {
        margin: 10px 0;
    }
    main {
        padding: 10px;
        margin: 10px;
    }
    form input[type="text"],
    form input[type="email"],
    form textarea {
        width: calc(100% - 20px);
    }
}