
@media (max-width: 768px) {
    .navbar {
        padding: 5px; /* Reduzierte Höhe */
        font-size: 14px; /* Kleinere Schriftgröße */
    }

    .navbar a {
        padding: 6px 12px; /* Weniger Abstand */
    }

    .search-form {
        flex-direction: column; /* Eingabe und Button untereinander */
        gap: 5px;
    }

    .search-input, .search-button {
        font-size: 14px; /* Kleinere Eingabefelder */
        padding: 6px;
    }

    .nav-right span {
        font-size: 12px; /* Kleinere Begrüßungsnachricht */
    }
}
@media (max-width: 768px) {
    .navbar-logo {
        display: none; /* Logos ausblenden */
    }
}

/*Banner */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
.banner span {
    display: inline-block;
    position: relative; /* Ändere position */
    animation: scroll-left 10s linear infinite;
}
.banner {
    background-color: #ffcc00; /* Gelber Hintergrund */
    color: #000; /* Schwarzer Text */
}


/* Container Styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

		   .highlight-werkstrasse {
           background-color: #ffe299 /* Gelber Hintergrund */
        }

.highlight-ressource {
    background-color: #d1e7dd; /* Grüner Hintergrund */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f8f9fa; /* Heller Hintergrund */
    border-bottom: 1px solid #ddd;
}

.navbar-content {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: space-between;
}

.nav-left,
.nav-middle,
.nav-right {
    display: flex;
    align-items: center;
}

.nav-left-logo, .nav-right-logo {
    flex-shrink: 0;
}

.navbar-logo {
    height: 40px; /* Passt die Höhe der Logos an */
    margin: 0 10px;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.search-button {
    padding: 5px 10px;
    margin-left: 5px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.search-button:hover {
    background-color: #0056b3;
}


/* Feld Styling */
.field {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.field-label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: #333;
}

/* Horizontale Anordnung der Mitarbeiter */
.field-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

/* Mitarbeiter-Item Styling */
.item {
    flex: 0 0 auto;
    background: white;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    cursor: move;
    transition: all 0.2s ease;
}

.item:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Input Styling */
.item input[type="text"] {
    border: none;
    padding: 5px;
    width: 150px;
    font-size: 14px;
}

.item input[type="text"]:focus {
    outline: 1px solid #007bff;
    border-radius: 3px;
}

/* Unassigned Field spezifisches Styling */
.unassigned-field {
    background-color: #fff3e0;
    border: 2px dashed #ffb74d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .field-items {
        gap: 8px;
    }
    
    .item {
        width: calc(50% - 8px);
    }
    
    .item input[type="text"] {
        width: 100%;
    }
}
:root {
    --primary-color: #2c5282;
    --secondary-color: #4299e1;
    --success-color: #48bb78;
    --background-color: #f7fafc;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
}

.navbar {
    background-color: var(--primary-color);
    padding: 1rem;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	    display: block;
    width: 100%;
}
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.navbar a:hover {
    background-color: var(--secondary-color);
}

.container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.unassigned-field {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.resource-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f0fff4;
    border-radius: 6px;
}

.item {
    width: 100px;
    padding: 0.5rem;
    margin: 0.25rem;
    text-align: center;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
    transition: transform 0.2s;
}
/* fuer farbliche hervorhebung der Ressourcen */


.item:hover {
    transform: translateY(-2px);
}

.fields {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.field {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    min-height: 150px;
}

.field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.field-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

input {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.3rem;
    font-size: 0.9rem;
}

input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.2);
}

.login-container {
    max-width: 400px;
    margin: 4rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: var(--secondary-color);
}

/* Stil für Männer */
.male {
    background-color: #b3d4fc; /* Satteres, klareres Blau für Männer */
    border-color: #5a9ef3;
    color: #0047ab; /* Tiefes Blau für besseren Kontrast */
}

/* Stil für Frauen - mehr Rosa! */
.female {
    background-color: #ffc8dd; /* Intensiveres Rosa für Frauen */
    border-color: #ff80ab; /* Kräftigeres Pink */
    color: #c2185b; /* Sattes Pink für besseren Kontrast */

}
