/* Allgemeine Stile */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #fff;
}

/*
header {
    background-color: #1e1e1e;
    padding: 1rem;
}


nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

        table {
            width: 90%;
            border-collapse:collapse;
            margin: 1px 0;
        }
        td {
            text-align: left;
            padding: 8px;
  
        }
  */


section {
    min-height: 100vh;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: left;
    text-align: left;
}

section .flex-item {
    background-color: rgba(0, 0, 0, 0.8);
    margin: 10px;
    box-sizing: border-box;
    padding: 2rem;
    border-radius: 10px;
    align-self: flex-end;
}

section .flex-item_50 {
    background-color: rgba(0, 0, 0, 0.8);
    margin: 10px;
    box-sizing: border-box;
    padding: 2rem;
    border-radius: 10px;
    align-self: flex-end;
}


section .flex-item:nth-child(1) {
    flex: 1 1 20%;
}

section .flex-item:nth-child(2) {
    flex: 1 1 60%;
}

section .flex-item:nth-child(3) {
    flex: 1 1 10%;
}

#home {
    background-image: url('/bilder/denker_start.jpg');
}

#about {
    background-image: url('/bilder/michelin-2000x1200.jpg');
}

#team {
    background-image: url('/bilder/caramba-2000x1200.jpg');
}

#news {
    background-image: url('/bilder/zylinder-2000x1200.jpg');
}

#contact {
    background-image: url('/bilder/michelin-2000x1200.jpg');
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #1e1e1e;
}

/* Parallax-Effekt */
section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

section .flex-item {
    animation: fadeIn 2s ease-in;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    nav ul li {
        margin: 0.5rem 0;
    }
    section .flex-item {
        flex: 1 1 100%;
        margin: 5px;
        padding: 1rem;
    }
}
