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

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f8f9fa;
}

.main {
    width: 80%;
    align-items: center;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.container {
    width: 100%;
}

a {
    color: #0D47A1;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
}

header .logo {
    width: 800px;
    margin: 20px auto;
}

header .wissenswertes-header {
    font-size: 2em;
    color: #ff8c00;
    margin: 0;
    flex: 1;
    text-align: left;
}

nav {
    width: 100%;
    background-color: #ff8c00;
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
    margin-top: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

nav ul.line-1 li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

nav ul.line-1 li a:hover {
    text-decoration: underline;
}

nav ul.line-2 li a,
nav ul.line-3 li a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}

nav ul.line-2 li a:hover,
nav ul.line-3 li a:hover {
    text-decoration: underline;
}

nav ul + ul {
    margin-top: 10px;
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    gap: 20px; 
}

.image-container {
    flex: 0 0 300px; 
    text-align: center; 
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.text-container {
    flex: 1; 
    text-align: justify; 
}

section {
    width: 100%;
    margin-left: 10%;
    margin-bottom: 30px;
    border-radius: 5px;
}

section:nth-child(odd),
section:nth-child(even) {
    background-color: #f8f9fa;
    padding: 20px;
    margin: 10px 0;
    border-radius: 5px;
    text-align: center; 
}

section:nth-child(odd) {
    background-color: #f8f9fa;
}

section:nth-child(even) {
    background-color: #e0e0e0;
}

section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #eb8d00;
}

section:nth-child(odd) .content {
    flex-direction: row; 
}

section:nth-child(even) .content {
    flex-direction: row; 
}

section p,
section ul {
    flex: 1;
    margin: 0;
    text-align: justify;
}

ul {
    list-style: none;
    padding: 0;
}

ul.line-1 li a {
    color: #cc0000;
    text-decoration: none;
    font-weight: bold;
}

ul.line-1 li a:hover {
    text-decoration: underline;
}

ul.line-2 li a {
    color: #0D47A1;
    text-decoration: none;
    font-weight: bold;
}

ul.line-2 li a:hover {
    text-decoration: underline;
}


ul li {
    position: relative;
    padding-left: 20px;
}

ul li::before {
    content: "♦";
    position: absolute;
    left: 0;
    color: #ff8c00;
    font-size: 1em;
}

#uber-mich {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

#uber-mich .text {
    flex: 1;
    text-align: left;
}

#uber-mich img {
    width: 250px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #f2f2f2;
    padding: 20px 0;
    text-align: center;
    border-top: 2px solid #ccc;
    margin-top: 30px;
}

footer .icons {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

footer .icons a {
    margin: 0 10px;
}

footer .icon {
    width: 24px;
    height: 24px;
    opacity: 0.8;
}

footer p {
    color: #666;
    margin: 10px 0;
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
        gap: 10px;
    }

    .image-container {
	order: -1;
        width: 100%;
        text-align: center;
	margin-bottom: 10px;
    }

    .image-container img {
        width: 90%;
	height-max: 300px;
	object-fit: contain;
        margin: 0 auto;
    }

    .text-container {
        width: 100%;
        text-align: justify;
        padding: 10px;
    }

    section:nth-child(odd) .content {
        flex-direction: column; 
    }

    section:nth-child(even) .content {
        flex-direction: column; 
    }


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

    header .logo {
        width: 150px;
        margin-bottom: 10px;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin-bottom: 10px;
    }

    .main {
        padding: 15px;
    }
}
