﻿﻿
/* Grundlegende Stile für den gesamten Körper */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333333;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

/* Header-Stile */
.header {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 50;
    text-align: center;
    position: relative;
}

.header img {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 90;
    width: auto; /* Stellt sicher, dass das Bild proportional skaliert */
    max-width: 90; /* Maximale Breite des Logos */
}

.header h1 {
    margin: 0;
    font-size: 24px;
}

.header p {
    margin: 0;
    font-size: 16px;
}

/* Navigationsstile */
.nav {
    display: flex;
    flex-wrap: wrap; /* Erlaubt Zeilenumbruch */
    justify-content: center;
    background-color: #34495e;
    padding: 10px 0;
}

.nav form {
    margin: 5px; /* Abstände zwischen den Formularen */
}

.nav input[type="submit"] {
    background-color: #2c3e50;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%; /* Volle Breite auf mobilen Geräten */
    box-sizing: border-box; /* Padding in die Breite einrechnen */
}

.nav input[type="submit"]:hover {
    background-color: #1a242f;
}

/* Container-Stile */
.container {
    padding: 20px;
    max-width: 1200px; /* Maximale Breite des Containers */
    width: 90%; /* 90% der Seitenbreite */
    margin: 0 auto; /* Zentriert den Container */
    box-sizing: border-box; /* Stellt sicher, dass das Padding innerhalb der Breite liegt */
}

/* Inhalt-Stile */
.content {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box; /* Stellt sicher, dass das Padding innerhalb der Breite liegt */
}

.content h2 {
    font-size: 28px;
    margin-top: 0;
}

.content p {
    font-size: 16px;
}

/* Button-Stile */
.button {
    background-color: #2c3e50;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #1a242f;
}

/* Responsive Anpassungen */
@media (max-width: 600px) {
    .nav input[type="submit"] {
        padding: 10px 20px; /* Kleineres Padding auf mobilen Geräten */
    }
}

/* Overlay-Stile */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    color: #ffffff;
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1000;
}

.overlay-content {
    background-color: #000000;
    color: #FFFFFF;
    padding: 10px;
    border-radius: 10px;
}

/* Footer-Stile */
.footer {
    background-color: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    position: relative;
    width: 100%;
    bottom: 0;
}

.footer p {
    margin: 0;
    font-size: 14px;
}
