/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    /* Background image setup */
    background-image: url('images/delivery.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Add a dark overlay to make text more readable */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    z-index: 1;
}

main {
    margin-bottom: 100px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

footer {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: auto;
    padding: 20px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}

.office, .kontakt {
    margin: 10px;
    text-align: left;
}

h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
}

p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px dotted white;
}

a:hover {
    border-bottom: 1px solid white;
}

/* Impressum styling */
.impressum p {
    font-size: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    .impressum, .kontakt {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
}
