/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #ff0000, #ff9900, #ffff00, #008000, #0000ff, #4b0082, #ee82ee);
    color: #fff;
    text-align: left;
}

/* Header Design */
.header {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    text-align: center;
    border-bottom: 5px solid #ff69b4;
    width: 100%;
    box-sizing: border-box;
	position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 20px;
    position: relative;
}

.header-logo {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    margin-right: auto;
}

.header-image {
    width: auto;
    height: 150px;
    border-radius: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-title {
    font-size: 2em;
    text-transform: uppercase;
    font-weight: bold;
    background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: auto;
    visibility: hidden;
    position: absolute;
}

/* Navigation */
.header-nav {
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px; /* Mehr Abstand nach oben */
}

.header-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.header-nav ul li {
    margin: 5px 10px;
}

.header-nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.header-nav ul li a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.partner {
	width: 50%;
	margin: 20px auto;
	padding: 15px;
	border-left: 5px solid #ff4500;
	background: #fff8e1;
	border-radius: 5px;
	text-align: left;
	color: #ff4500;
}
.partner h3 {
	margin: 0;
	color: #ff4500;
}
.partner p {
	margin: 5px 0 0;
}


 .container {
	margin-left: 20px;
	margin-right: 20px;
 }

.container h2{
	text-align: center;
}
a {
  color: #d0d0d0; /* Ein leicht dunkleres Weiß */
  text-decoration: underline; /* Unterstrichen */
}
a:hover, a:focus, a:visited {
  color: #bfbfbf; /* Noch etwas dunkler beim Hover */
}



/* Hauptinhalt */
main {
    padding-top: calc(200px + 60px); /* Platz für das fixierte Header und Navigation */ /* Platz für das fixe Header */
    background: rgba(0, 0, 0, 0.5);
    margin: 40px;
    border-radius: 15px;
	font-size: 1.2em; /* Größere Schrift für besseren Lesekomfort */
	
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

footer p {
    margin: 0;
    flex-grow: 1;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin-left: auto;
}

/* Responsive Design */
@media (max-width: 790px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-logo {
        width: 120px;
        height: 120px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .header-image {
        width: auto;
        height: 120px;
        position: static;
        transform: none;
        margin: 0 auto;
    }

    .header-title {
        margin-left: 0;
    }

    .header-nav {
        margin-top: 15px; /* Auch für kleinere Bildschirme */
    }

    .header-nav ul {
        flex-direction: column;
    }

    .header-nav ul li {
        margin: 10px 0;
    }
	
	main {
		padding-top: calc(430px + 60px); /* Platz für das fixierte Header und Navigation */ /* Platz für das fixe Header */
		background: rgba(0, 0, 0, 0.5);
		margin: 20px;
		border-radius: 15px;
		#padding: 20px;
	}
}

@media (max-width: 500px) {
    .header-image {
		max-width: 90%;
        height: auto;
        display: block;
        margin: 0 auto;
        #position: relative;
    }
}

.container {
    background: white;
    padding: 20px;
    margin: 0 auto;
    width: 80%;
    max-width: 600px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: left;
	color: #363232;
}

.container h2 {
	text-align: left;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    text-align: left;
}

input {
    width: calc(100% - 20px);
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
}

select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
}

button, .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ae1d23;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    text-align: center;
}

button:hover, .button:hover {
    background-color: #92171c;
}

.success-message {
    font-size: 18px;
    font-weight: bold;
    color: green;
    background-color: #d4edda;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-top: 10px;
}