/* Banner section */
#müll-intro {
    margin-top: 15px;
    position: relative;
    width: 100%;
    height: 500px; /* Adjust height as needed */
    background-image: url('../images/müllbanner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
#müll-intro h1 {
    font-size: 40px;
}

/* Floating card inside banner */
.floating-card {
    position: absolute;
    left: 10%;
    bottom: 20%;
    width: 35%; /* Adjust width as needed */
    padding: 5px 20px 40px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Container for the article section */
.container_article {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    justify-content: center;
    align-items: center;
    margin: 50px 5%; /* Adds spacing and centers content */
}

/* Image container */
.article-image {
    flex-basis: 50%; /* Takes half of the container width */
    max-width: 50%;
    padding: 10px;
}

/* Text container */
.article-text {
    flex-basis: 50%; /* Takes half of the container width */
    max-width: 50%;
    padding: 30px;
    
}

/* Responsive adjustments */
@media (max-width: 1700px) {
    .floating-card {
        left: 5%; /* Align to the left with a margin */
        width: 90%; /* Take full width minus margins */
        bottom: 20px; /* Position above the text on mobile */
    }

    .article-image,
    .article-text {
        flex-basis: 100%; /* Stack on top of each other */
        max-width: 80%;
    }
}